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

Alexander Schier alexander_schier at yahoo.de
Tue May 22 18:22:55 UTC 2012


seems, this is still an issue with cron-apt:
$ apt-cache policy aptitude
aptitude:
  Installed: 0.6.6-1ubuntu1
  Candidate: 0.6.6-1ubuntu1

/etc/cron-apt/config:
MAILON="error"
APTCOMMAND=/usr/bin/aptitude
OPTIONS="-o Acquire::http::Dl-Limit=2000"

$ cat action.d/0-update 
update -o quiet=2
$ cat action.d/3-download 
autoclean -y
dist-upgrade -d -y -o APT::Get::Show-Upgraded=true
$ cat action.d/5-install 
autoclean -y
dist-upgrade --safe-resolver -y -o APT:Get:Show-Upgraded=true

resulting in error mails like this one:
CRON-APT RUN [/etc/cron-apt/config]: Tue May 22 04:00:01 CEST 2012
CRON-APT SLEEP: 3161, Tue May 22 04:52:42 CEST 2012
CRON-APT ACTION: 3-download
CRON-APT LINE: /usr/bin/aptitude -o Acquire::http::Dl-Limit=2000 dist-upgrade -d -y -o APT::Get::Show-Upgraded=true
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
The following packages will be upgraded:
  icedtea-6-jre-cacao icedtea-6-jre-jamvm linux-headers-3.2.0-24 
[...]
  update-manager-core update-manager-kde 
20 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 53.3 MB/98.0 MB of archives. After unpacking 2030 kB will be used.
Writing extended state information...
Get: 1 http://pi.wiss-stud/ubuntu/ precise-updates/main linux-image-3.2.0-24-generic amd64 3.2.0-24.38 [38.3 MB]
[...]
Fetched 53.3 MB in 23s (2243 kB/s)
E: Failed to write temporary StateFile /var/lib/apt/extended_states.tmp
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...


I'm not quite sure, if this bug really is the relevant one, but i was redirected to this bug in: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/999810 because the other bug is only related to apt-get.

-- 
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:
  Confirmed

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




More information about the foundations-bugs mailing list