[Bug 686142] Re: 'apt_pkg.GetAcquire() is deprecated' warnings

Hans Joachim Desserud 686142 at bugs.launchpad.net
Sun Apr 29 14:38:58 UTC 2012


Hi, I'm the reporter of duplicate bug 677807 and I am no longer able to
reproduce this issue on Ubuntu 11.10 either. I assume it was fixed in  a
newer release of update-manager at some point so I belive it can be
closed.

Thanks for the reminder, Robert, I had completely forgotten about this.

** Changed in: update-manager (Ubuntu)
       Status: Incomplete => Fix Released

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

Title:
  'apt_pkg.GetAcquire() is deprecated' warnings

Status in “update-manager” package in Ubuntu:
  Fix Released

Bug description:
  Binary package hint: update-manager

  Using update-manager -d to upgrade 10.10 to 11.x alpha produces the
  following warnings on the terminal:

  $ sudo update-manager -d
  /usr/lib/python2.6/dist-packages/UpdateManager/Core/DistUpgradeFetcherCore.py:202: DeprecationWarning: apt_pkg.GetAcquire() is deprecated. Please see apt_pkg.Acquire() for the replacement.
    fetcher = apt_pkg.GetAcquire(self._progress)
  /usr/lib/python2.6/dist-packages/UpdateManager/Core/DistUpgradeFetcherCore.py:205: DeprecationWarning: apt_pkg.GetPkgAcqFile() is deprecated. Please see apt_pkg.AcquireFile() for the replacement
    af = apt_pkg.GetPkgAcqFile(fetcher,uri, descr=_("Upgrade tool signature"))
  /usr/lib/python2.6/dist-packages/UpdateManager/Core/DistUpgradeFetcherCore.py:208: DeprecationWarning: apt_pkg.GetPkgAcqFile() is deprecated. Please see apt_pkg.AcquireFile() for the replacement
    af = apt_pkg.GetPkgAcqFile(fetcher,self.uri, descr=_("Upgrade tool"))
  /usr/lib/python2.6/dist-packages/UpdateManager/Core/DistUpgradeFetcherCore.py:209: DeprecationWarning: Attribute 'Run' of the 'apt_pkg.Acquire' object is deprecated, use 'run' instead.
    if fetcher.Run() != fetcher.ResultContinue:
  extracting 'natty.tar.gz'
  authenticate 'natty.tar.gz' against 'natty.tar.gz.gpg' 
  tar: Removing leading `/' from member names
  WARNING: Failed to read mirror file

  ProblemType: Bug
  DistroRelease: Ubuntu 10.10
  Package: update-manager-core 1:0.142.20
  ProcVersionSignature: Ubuntu 2.6.35-23.41-generic 2.6.35.7
  Uname: Linux 2.6.35-23-generic x86_64
  Architecture: amd64
  Date: Mon Dec  6 12:10:06 2010
  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release Candidate amd64 (20100928)
  ProcEnviron:
   PATH=(custom, user)
   LANG=en_US.utf8
   SHELL=/bin/bash
  SourcePackage: update-manager

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/686142/+subscriptions




More information about the foundations-bugs mailing list