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

NooP 975793 at bugs.launchpad.net
Tue Apr 10 11:13:39 UTC 2012


No modifications on aptitude / apt configs.

Here is what I do :

aptitude clean && aptitude update

This work fine and update package lists corectly.

But now, if I do either 'aptitude safe-upgrade -d -y' or 'aptitude safe-
upgrade -d', here is what I get :

root at precise:~# LANG="C" aptitude safe-upgrade -d
The following packages will be upgraded: 
  dpkg insserv iproute login passwd update-notifier-common 
The following packages are RECOMMENDED but will NOT be installed:
  libatm1 
6 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 3574 kB of archives. After unpacking 1024 B will be used.
Do you want to continue? [Y/n/?] y
Get: 1 http://fr.archive.ubuntu.com/ubuntu precise/main dpkg i386 1.16.1.2ubuntu6 [1813 kB]
Get: 2 http://fr.archive.ubuntu.com/ubuntu precise/main login i386 1:4.1.4.2+svn3283-3ubuntu5 [287 kB]
Get: 3 http://fr.archive.ubuntu.com/ubuntu precise/main update-notifier-common all 0.119ubuntu5 [48.0 kB]
Get: 4 http://fr.archive.ubuntu.com/ubuntu precise/main passwd i386 1:4.1.4.2+svn3283-3ubuntu5 [935 kB]
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)
_

And then, aptitude loops without sending any output nor logs (aptitude,
kern, message).

If I do 'aptitude safe-upgrade -y', then aptitude downloads corectly it's packages then install them without problems.
It seems that this is ONLY the '-d' option which causes problems. The problem is the same eitherin my native language (fr_FR.UTF8) or by forcing english language (LANG="C").

-- 
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” package in Ubuntu:
  Incomplete

Bug description:
  When executing thoses commands, aptitude loops infinitely :

  aptitude clean && aptitude update && aptitude safe-upgrade -d -y

  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/ubuntu/+source/aptitude/+bug/975793/+subscriptions




More information about the foundations-bugs mailing list