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

Bug#76754: apt: race when installing new packages that conflict with old ones



Package: apt
Version: 0.3.19
Severity: wishlist

When apt-get tries to install a new package which conflicts and provides an
older one, it removes it and then installs the new package with two separate
dpkg commands.  This creates a window where packages depending on the old
package may fail.  For example, when I ran apt-get through dselect today,
it removed xpm4g in favour of the new xpm library,

dpkg: xpm4g: dependency problems, but removing anyway as you request:
 xonix depends on libxpm4; however:
  Package libxpm4 is not installed.
  Package xpm4g which provides libxpm4 is to be removed.
 slashem depends on libxpm4; however:
  Package libxpm4 is not installed.
  Package xpm4g which provides libxpm4 is to be removed.
 xsok depends on libxpm4; however:
  Package libxpm4 is not installed.
  Package xpm4g which provides libxpm4 is to be removed.

etc...

After this removal and before the installation of the new package, mrtg's
cron job ran, and promptly failed as there were no valid libXpm.so.4 for
rateup to link with:

/usr/bin//rateup: error while loading shared libraries: libXpm.so.4: cannot open shared object file:+No such file or directory

PROBLEM: rateup died from Signal 0
 with Exit Value 127 when doing router 'publan'
 code was 32512, retcode was . If this happens all the time,
 you should probably investigate the cause. :-)

-- System Information
Debian Release: woody
Kernel Version: Linux gondor 2.2.17 #1 Mon Sep 11 22:22:16 EST 2000 i586 unknown

Versions of the packages apt depends on:
ii  libc6          2.1.97-1       GNU C Library: Shared libraries and Timezone
ii  libstdc++2.10  2.95.2-14      The GNU stdc++ library



Reply to: