add-apt-repository uses deprecated attributes 'FindI' and 'FindDir' of 'apt_pkg.Configuration'

Bug #594368 reported by Matt Wheeler
40
This bug affects 8 people
Affects Status Importance Assigned to Milestone
software-properties (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

full output from command follows:
==========================

% sudo add-apt-repository ppa:xorg-edgers/ppa
[sudo] password for matt:
/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 165D673674A995B3E64BF0CF4F191A5A8844C542
gpg: requesting key 8844C542 from hkp server keyserver.ubuntu.com
gpg: key 8844C542: public key "Launchpad PPA for xorg crack pushers" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: python-software-properties 0.75.10
ProcVersionSignature: Ubuntu 2.6.35-2.3-generic 2.6.35-rc2
Uname: Linux 2.6.35-2-generic x86_64
Architecture: amd64
Date: Mon Jun 14 22:58:30 2010
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=en_GB.utf8
 SHELL=/bin/zsh
SourcePackage: software-properties

Related branches

Revision history for this message
Matt Wheeler (funkyhat) wrote :
Matt Wheeler (funkyhat)
summary: - add-apt-repository uses deprecated attribute 'FindI' of
+ add-apt-repository uses deprecated attributes 'FindI' and 'FindDir' of
'apt_pkg.Configuration'
toobuntu (toobuntu)
Changed in software-properties (Ubuntu):
status: New → Confirmed
Revision history for this message
Andrew Bennetts (spiv) wrote :

This appears to be the same as bug 593484, with practically identical fixes proposed. The only difference is this bug (and its fix) is against the Ubuntu package, whereas 593484 (and its fix) is against upstream.

Revision history for this message
Matt Wheeler (funkyhat) wrote : Re: [Bug 594368] Re: add-apt-repository uses deprecated attributes 'FindI' and 'FindDir' of 'apt_pkg.Configuration'

On 26 July 2010 06:54, Andrew Bennetts <email address hidden> wrote:
> This appears to be the same as bug 593484, with practically identical
> fixes proposed.  The only difference is this bug (and its fix) is
> against the Ubuntu package, whereas 593484 (and its fix) is against
> upstream.

Yes I saw that after proposing the merge, I wasn't sure what to do
about it so I just left it. I suppose it would make the most sense go
with the patch to upstream, as this probably isn't worth a version
bump of the package.

--
Matt Wheeler
<email address hidden>

Revision history for this message
Sebastien Bacher (seb128) wrote :

seems the issue has been fixed since

Changed in software-properties (Ubuntu):
importance: Undecided → Low
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.