[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#51111: apt: handles breakages in unpacking badly doing upgrades



Package: apt
Version: 0.3.13
Severity: important

Hi,

	The below (rather long) typescript illustrates the
problem. libforms is a little broken (so the upacking stage fails),
but apt then fails to configure the rest of the packages its unpacked.

Matthew

Script started on Tue Nov 23 18:18:47 1999
root@pick:~# apt-get dist-upgrade
Reading Package Lists... 0%Reading Package Lists... 0%Reading Package Lists... 2%Reading Package Lists... Done
Building Dependency Tree... 0%Building Dependency Tree... 0%Building Dependency Tree... 50%Building Dependency Tree... 50%Building Dependency Tree... 51%Building Dependency Tree... Done
Calculating Upgrade... Done
The following packages will be REMOVED:
  eterm-backgrounds 
The following NEW packages will be installed:
  icmpinfo midentd rdate rdist rsh-server rwall rwho tftp vflib2 
The following packages have been kept back
  enlightenment inn kbd libgtk-imlib-perl libmime-base64-perl libpgperl lilo perl-tk slice 
109 packages upgraded, 9 newly installed, 1 to remove and 9 not upgraded.
Need to get 0B/54.9MB of archives. After unpacking 12.5MB will be used.
Do you want to continue? [Y/n] 
<snip>
Preparing to replace libforms0.88 0.88.1-2 (using .../libs/libforms0.88_0.88.1-3.deb) ...
Unpacking replacement libforms0.88 ...
dpkg: error processing /sunsite/packages/debian/dists/unstable/non-free/binary-i386/libs/libforms0.88_0.88.1-3.deb (--unpack):
 trying to overwrite `/usr/X11R6/lib/libforms.so.0.88', which is also in package xforms
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Preparing to replace debmake 3.6.1 (using .../devel/debmake_3.6.1.0.deb) ...
Unpacking replacement debmake ...
Preparing to replace enlightenment-theme-bluesteel 0.16.1-1 (using .../enlightenment-theme-bluesteel_0.16.2-1.deb) ...
Unpacking replacement enlightenment-theme-bluesteel ...
Preparing to replace xbomb 2.1a-1 (using .../games/xbomb_2.1a-2.deb) ...
Unpacking replacement xbomb ...
Preparing to replace battleball 2.0-7 (using .../games/battleball_2.0-8.deb) ...
Unpacking replacement battleball ...
Preparing to replace screen 3.9.5-3 (using .../misc/screen_3.9.5-4.deb) ...
Cannot find termcap: Can't find a valid termcap file at /usr/lib/perl5/5.004/Term/ReadLine.pm line 305

Unpacking replacement screen ...
Preparing to replace xscreensaver 3.17-5 (using .../x11/xscreensaver_3.21-1.deb) ...
Unpacking replacement xscreensaver ...
Preparing to replace doc-debian 2.0.0 (using .../doc/doc-debian_2.0.1.deb) ...
Unpacking replacement doc-debian ...
Selecting previously deselected package rsh-server.
Unpacking rsh-server (from .../net/rsh-server_0.10-6.deb) ...
Preparing to replace typist 2.2b-1 (using .../games/typist_2.2b-2.deb) ...
Unpacking replacement typist ...
Selecting previously deselected package vflib2.
Unpacking vflib2 (from .../libs/vflib2_2.24.2-4.deb) ...
Preparing to replace gs 5.10-2 (using .../binary-i386/text/gs_5.10-4.deb) ...
Unpacking replacement gs ...
Preparing to replace autoconf 2.13-12 (using .../devel/autoconf_2.13-13.deb) ...
Unpacking replacement autoconf ...
Errors were encountered while processing:
 /sunsite/packages/debian/dists/unstable/non-free/binary-i386/libs/libforms0.88_0.88.1-3.deb
E: Sub-process returned an error code (1)
root@pick:~# dpkg --pending --configure
Setting up vflib2 (2.24.2-4) ...

Setting up typist (2.2b-2) ...

Setting up xbomb (2.1a-2) ...

Setting up enlightenment-theme-bluesteel (0.16.2-1) ...

Setting up battleball (2.0-8) ...

Setting up doc-debian (2.0.1) ...

Setting up xscreensaver (3.21-1) ...

Setting up debmake (3.6.1.0) ...

Setting up autoconf (2.13-13) ...

Setting up rsh-server (0.10-6) ...

Configuration file `/etc/hosts.equiv'
 ==> File on system created by you or by a script.
 ==> File also in package provided by package maintainer.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : background this process to examine the situation
 The default action is to keep your current version.
*** hosts.equiv (Y/I/N/O/D/Z) [default=N] ? y
Installing new version of config file /etc/hosts.equiv ...

Setting up screen (3.9.5-4) ...

Setting up gs (5.10-4) ...

root@pick:~# exit
exit

Script done on Tue Nov 23 18:22:10 1999


-- System Information
Debian Release: potato
Kernel Version: Linux pick 2.3.13 #1 Tue Aug 10 22:07:25 BST 1999 i686 unknown

Versions of the packages apt depends on:
ii  libc6           2.1.2-10       GNU C Library: Shared libraries and timezone
ii  libstdc++2.10   2.95.2-3       The GNU stdc++ library


Reply to: