Package: aptitude
Version: 0.4.11.11-1~lenny1

My automatic test of upgrades of Gnome and KDE from Lenny to Squeeze
started failing for Gnome recently with aptitude, and the problem is
rather strange.  The complete installation and upgrade log is at
<URL: 
http://people.skolelinux.org/~pere/debian-upgrade-testing//test-20100727-lenny-squeeze-gnome-aptitude.txt
 >,
and in it one can see that the packages deskbar-applet and hplip fail
to upgrade because python 2.6 are missing.  But python 2.6 is
available in Squeeze, and should have been upgraded before these two
applications.

The script for doing this upgrade testing is available from the
directory where the log is located, and I am happy to help with
setting up a test environment if you want to reproduce this problem.

The problem seem to start when update-notifier fail to unpack:

  Unpacking replacement update-notifier ...
  dpkg: error processing 
/var/cache/apt/archives/update-notifier_0.99.3debian4_i386
  .deb (--unpack):
   trying to overwrite '/etc/xdg/autostart/update-notifier.desktop', which is 
also
  in package update-notifier-common 0.70.7.debian-5
  dpkg-deb: subprocess paste killed by signal (Broken pipe)
  Errors were encountered while processing:
   /var/cache/apt/archives/update-notifier_0.99.3debian4_i386.deb
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  A package failed to install.  Trying to recover:
  Setting up libfftw3-3 (3.2.2-1) ...

Then the recovery phase fail, first for deskbar-applet then for hplip:

  Setting up libschroedinger-1.0-0 (1.0.9-2) ...
  dpkg: dependency problems prevent configuration of deskbar-applet:
   deskbar-applet depends on python (>= 2.6); however:
    Version of python on system is 2.5.2-3.
  dpkg: error processing deskbar-applet (--configure):
   dependency problems - leaving unconfigured
  Setting up libofa0 (0.9.3-3.1) ...

The apt-get dist-upgrade was successful, so perhaps aptitude should be
changed to do the upgrade differently?

Is there some circular dependency at work here causing the recovery
phase to fail?

Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to