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

Bug#149702: apt: requires manual fiddling to break out of inconsistent state



Package: apt
Version: 0.5.4
Severity: important

Due to an uninstallable pkg from unstable, my "dselect-upgrade" failed.
After removing by hand the old package that caused the upgrade to fail, I
wanted to restart my upgrade, and got something like the following (IIRC the
"is not installed" were "is not to be installed" or something similar, but
I'm not sure any more).

# apt-get -o Dir::Etc::sourcelist=/tmp/dists/binary-i386/sources.list
dselect-upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run apt-get -f install' to correct these.
Sorry, but the following packages have unmet dependencies:
  libkmid-dev: Depends: kdelibs-dev but it is not installed
  libmng-dev: Depends: liblcms1-dev but it is not installed
E: Unmet dependencies. Try using -f.


Then "dselect-upgrade -f" and "install -f" wanted to remove those packages.
Then "install kdelibs-dev" first told me the package was not available (the
sources.list pointing to my ZIP drive, from where a number of packages had
already been installed), and I had to re-run "update".  "install
kdelibs-dev" then told me that this package was needing a couple of other
packages that were not to be installed, I added them to my command-line, got
a similar message about 2 more packages, added them, so that it reads:

# apt-get -o Dir::Etc::sourcelist=/tmp/dists/binary-i386/sources.list install kdelibs-dev libqt-dev libpcre3-dev libbz2-dev libfam-dev


Then it looks like it wanted to work, and I interrupted the process to get
more information for this report.  Unfortunately, this last command seems to
have put things back into order, 'cause I know have:

root@bylbo:/etc/X11/gdm# apt-get -o Dir::Etc::sourcelist=/tmp/dists/binary-i386/sources.list dselect-upgrade -f
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following NEW packages will be installed:
  kdelibs-dev libbz2-dev libdianewcanvas2 libfam-dev libfreetype6-dev liblcms1-dev libpcre3-dev libqt-dev libxml-grove-perl linda
  schedutils
  The following packages will be upgraded
  createdisk debootstrap frozen-bubble frozen-bubble-data gnome-pim-conduits gnotepad+ jpilot jpilot-plugins
  kernel-patch-preempt-2.4 libgnome2-common libgnomeprint2-0 libgnomeprint2-data libgnomeprintui-0 libgnomeui-common libqt3
  libqt3-mt librep9 libterm-readkey-perl libvdk1 libxslt1 linuxsms loadwatch mga-vid-common mga-vid-source mon nasm nut-doc
  openssl pdftohtml pdmenu plex86-kernel-src plex86-x povray povray-misc race race-data rep sawfish-gnome sawfish-merlin-ugliness
  snort snort-common snort-doc snort-rules-default svgalib-bin svgalib1 svgalibg1 svgalibg1-dev tct timeout unrar visualos wget
  xemacs21-mulesupport xfishtank xfonts-abi xine-dvdnav xroach xsltproc zsh zsh-static
60 packages upgraded, 11 newly installed, 0 to remove and 9  not upgraded.
2 packages not fully installed or removed.
Need to get 0B/38.0MB of archives. After unpacking 28.4MB will be used.
Do you want to continue? [Y/n]


Looks like I can't go back to the point where things were broken.  I hope
these informations will be enough.  My previous dselect-upgrade had occured
last friday, FWIW.


-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux bylbo 2.4.17-smp+evms+kdb #1 SMP mer mar 27 00:23:14 CET 2002 i686
Locale: LANG=français, LC_CTYPE=français

Versions of packages apt depends on:
ii  libc6                         2.2.5-6    GNU C Library: Shared libraries an
ii  libstdc++2.10-glibc2.2        1:2.95.4-9 The GNU stdc++ library

-- no debconf information


-- 
Yann Dirson    <ydirson@altern.org> |    Why make M$-Bill richer & richer ?
Debian-related: <dirson@debian.org> |   Support Debian GNU/Linux:
Pro:    <yann.dirson@fr.alcove.com> |  Freedom, Power, Stability, Gratuity
     http://ydirson.free.fr/        | Check <http://www.debian.org/>


-- 
To UNSUBSCRIBE, email to deity-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: