[Bug 975793] Re: 'aptitude safe-upgrade -d -y' enters infinite loop

Micah Gersten launchpad at micahscomputing.com
Mon Sep 10 19:37:26 UTC 2012


sponsored debdiff from Bug #824708

** Changed in: aptitude (Ubuntu Precise)
       Status: New => Fix Committed

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

Title:
  'aptitude safe-upgrade -d -y' enters infinite loop

Status in aptitude:
  Fix Released
Status in “aptitude” package in Ubuntu:
  Fix Released
Status in “aptitude” source package in Precise:
  Fix Committed

Bug description:
  [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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/aptitude/+bug/975793/+subscriptions




More information about the foundations-bugs mailing list