[Bug 617471] Re: Attribute 'FindDir' of the 'apt_pkg.Configuration' object is deprecated, use 'find_dir' instead

Martin Pitt martin.pitt at ubuntu.com
Wed Mar 7 06:31:14 UTC 2012


This was fixed a while ago.

** Changed in: software-properties (Ubuntu)
       Status: New => Fix Committed

** Changed in: software-properties (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-properties in Ubuntu.
https://bugs.launchpad.net/bugs/617471

Title:
  Attribute 'FindDir' of the 'apt_pkg.Configuration' object is
  deprecated, use 'find_dir' instead

Status in “software-properties” package in Ubuntu:
  Fix Released

Bug description:
  I get warning by using add-apt-repository:

  Attribute 'FindI' of the 'apt_pkg.Configuration' object is deprecated,
  use 'find_i' instead.

  Attribute 'FindDir' of the 'apt_pkg.Configuration' object is
  deprecated, use 'find_dir' instead.

  
  complete log:
  add-apt-repository ppa:ubuntu-mozilla-daily/ppa
  /usr/lib/python2.6/dist-packages/softwareproperties/SoftwareProperties.py:114: DeprecationWarning: Attribute 'FindI' of the 'apt_pkg.Configuration' object is deprecated, use 'find_i' instead.
    value = apt_pkg.Config.FindI(softwareproperties.CONF_MAP[option])
  /usr/lib/python2.6/dist-packages/softwareproperties/ppa.py:43: DeprecationWarning: Attribute 'FindDir' of the 'apt_pkg.Configuration' object is deprecated, use 'find_dir' instead.
    sourceslistd = apt_pkg.Config.FindDir("Dir::Etc::sourceparts")
  Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv B34505EA326FEAEA07E3618DEF4186FE247510BE
  gpg: Schlüssel 247510BE von hkp Server keyserver.ubuntu.com anfordern
  gpg: Schlüssel 247510BE: Öffentlicher Schlüssel "Launchpad PPA for Ubuntu Mozilla Daily Build Team" importiert
  gpg: Anzahl insgesamt bearbeiteter Schlüssel: 1
  gpg:               importiert: 1  (RSA: 1)

  ProblemType: Bug
  DistroRelease: Ubuntu 10.10
  Package: python-software-properties 0.75.11
  ProcVersionSignature: Ubuntu 2.6.35-14.19-generic 2.6.35
  Uname: Linux 2.6.35-14-generic x86_64
  Architecture: amd64
  Date: Fri Aug 13 18:18:54 2010
  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Alpha amd64 (20100803.1)
  PackageArchitecture: all
  ProcEnviron:
   LANG=de_DE.utf8
   SHELL=/bin/bash
  SourcePackage: software-properties

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/617471/+subscriptions




More information about the foundations-bugs mailing list