[Bug 975793] [NEW] 'aptitude safe-upgrade -d -y' enters infinite loop
Launchpad Bug Tracker
975793 at bugs.launchpad.net
Mon Aug 27 21:39:15 UTC 2012
You have been subscribed to a public bug by Marcin Juszkiewicz (hrw):
[Impact]
Users of aptitude can not download updates in advance with the
intention of installing them later. One common use case is using
apt-cron to download all available updates at night then reviewing
and installing a subset of them later.
The problem does not occur for all users, but can be traced to a
point where the download/install logic invokes dpkg even though it
is supposed to only download packages.
[Test Case]
* Wait for package updates to be available:
# aptitude clean && aptitude update
[…]
Current status: 6 updates [+6].
* Fetch the updates using -d (download only) and observe that
after the download, aptitude loops (appears stuck) without
ever exiting:
# aptitude safe-upgrade -d -y
[…]
Get: 5 http://fr.archive.ubuntu.com/ubuntu precise/main insserv i386 1.14.0-2.1ubuntu2 [50.1 kB]
Get: 6 http://fr.archive.ubuntu.com/ubuntu precise/main iproute i386 20111117-1ubuntu2 [441 kB]
Fetched 3574 kB in 0s (9562 kB/s)
[Regression Potential]
Small.
* Small patch touching only one file.
* Some of the updated logic can be checked against similar code
in apt/cmndline/apt-get.cc(InstallPackages).
* Fixed in Debian sid since May with no regressions reported.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: aptitude 0.6.6-1ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-22.35-generic-pae 3.2.14
Uname: Linux 3.2.0-22-generic-pae i686
ApportVersion: 2.0-0ubuntu4
Architecture: i386
Date: Sat Apr 7 10:36:46 2012
ProcEnviron:
TERM=linux
PATH=(custom, no user)
LANG=fr_FR.UTF-8
SHELL=/bin/bash
SourcePackage: aptitude
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: aptitude
Importance: Unknown
Status: Fix Released
** Affects: aptitude (Ubuntu)
Importance: Undecided
Status: Fix Released
** Tags: apport-bug i386 patch precise
--
'aptitude safe-upgrade -d -y' enters infinite loop
https://bugs.launchpad.net/bugs/975793
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.
More information about the Ubuntu-sponsors
mailing list