Package: dpkg
Version: 1.14.20
Followup-For: Bug #483655

Here's a case where I accidentally hit ^C while doing a
apt-get dist-upgrade.    The code asks me to run
dpkg --configure -a ,
and when I do, it fails an assertion.

It's a different assertion, but in the same module: packages.c,
line 221.



$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed
  id3v2 nvi-doc
  The following packages have been kept back:
    gnome-bin libgnorba27 libgnorbagtk0
    The following packages will be upgraded:
      discover gtkpod libdiscover2 libieee1284-3 nvi xserver-xorg-video-mga
      6 upgraded, 2 newly installed, 0 to remove and 3 not upgraded.
      Need to get 1828kB of archives.
      After this operation, 500kB of additional disk space will be used.
      Do you want to continue [Y/n]? 
      Get: 1 http://mirror.ox.ac.uk testing/main discover 2.1.2-3 [346kB]
      Get: 2 http://mirror.ox.ac.uk testing/main libdiscover2 2.1.2-3 [100kB]
      Get: 3 http://mirror.ox.ac.uk testing/main id3v2 0.1.11-3 [19.4kB]
      Get: 4 http://mirror.ox.ac.uk testing/main libieee1284-3 0.2.11-5 [28.8kB]
      Get: 5 http://mirror.ox.ac.uk testing/main nvi 1.81.6-3 [259kB]
      Get: 6 http://mirror.ox.ac.uk testing/main nvi-doc 1.81.6-3 [115kB]
      Get: 7 http://mirror.ox.ac.uk testing/main xserver-xorg-video-mga 
1:1.4.9.dfsg-1 [112kB]
      Get: 8 http://mirror.ox.ac.uk testing/main gtkpod 0.99.12-3 [848kB]       
     
      Fetched 1828kB in 11s (154kB/s)                                           
     
      Preconfiguring packages ...
      (Reading database ... 272632 files and directories currently installed.)
      Preparing to replace discover 2.1.2-2 (using 
.../discover_2.1.2-3_i386.deb) ...
      Unpacking replacement discover ...
      Preparing to replace libdiscover2 2.1.2-2 (using 
.../libdiscover2_2.1.2-3_i386.deb) ...
      Unpacking replacement libdiscover2 ...
      Selecting previously deselected package id3v2.
      Unpacking id3v2 (from .../id3v2_0.1.11-3_i386.deb) ...
      Preparing to replace libieee1284-3 0.2.11-4 (using 
.../libieee1284-3_0.2.11-5_i386.deb) ...
      Unpacking replacement libieee1284-3 ...
      Preparing to replace nvi 1.79-26 (using 
.../archives/nvi_1.81.6-3_i386.deb) ...
      Unpacking replacement nvi ...
      Selecting previously deselected package nvi-doc.
      Unpacking nvi-doc (from .../nvi-doc_1.81.6-3_all.deb) ...
      Preparing to replace xserver-xorg-video-mga 1:1.4.8.dfsg.1-1 (using 
.../xserver-xorg-video-mga_1%3a1.4.9.dfsg-1_i386.deb) ...
      Unpacking replacement xserver-xorg-video-mga ...
      Preparing to replace gtkpod 0.99.12-2 (using 
.../gtkpod_0.99.12-3_i386.deb) ...
      Unpacking replacement gtkpod ...
      Processing triggers for man-db ...
      Processing triggers for menu ...
      dpkg: subprocess post-installation script killed by signal (Interrupt)
      E: Sub-process /usr/bin/dpkg returned an error code (2)
      gpk:gpk$ sudo apt-get dist-upgrade
      E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to 
correct the problem. 
      gpk:gpk$ sudo dpkg --configure -a
      Setting up menu (2.1.39) ...
      Setting up id3v2 (0.1.11-3) ...
      Setting up libieee1284-3 (0.2.11-5) ...
      Setting up nvi-doc (1.81.6-3) ...
      Setting up gtkpod (0.99.12-3) ...
      Setting up xserver-xorg-video-mga (1:1.4.9.dfsg-1) ...
      Setting up libdiscover2 (2.1.2-3) ...
      Setting up nvi (1.81.6-3) ...
      Installing new version of config file /etc/init.d/nviboot ...
      Recovering nvi editor sessions...none found.
      dpkg: ../../src/packages.c:221: process_queue: Assertion `dependtry <= 4' 
failed.
      Aborted
      gpk:gpk$ 



-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages dpkg depends on:
ii  coreutils                     6.10-6     The GNU core utilities
ii  libc6                         2.7-10     GNU C Library: Shared libraries

dpkg recommends no packages.

-- no debconf information




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to