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

Bug#103518: apt-get reports "Internal Error in pkgMinimizeUpgrade"



Package: apt
Version: 0.3.19progeny3, 0.5.3

Foolishly attempting to upgrade libc6 from 2.2.2 to 2.2.3 (needed for
some other package), I have somehow managed to confuse apt and/or
apt-get hopelessly.

This is on a Progeny Debian 1.0 system, running kernel 2.2.19, libc6
2.2.2-4.  Problem first seen in apt 0.3.19progeny3, but persists after
upgrading manually to 0.5.3 (from Debian's "testing").

Background: I'm trying to install libguile9 from the "unstable"
distribution.  I don't want to put "unstable" in my sources.list, so I
downloaded the .deb file and tried to install it manually:

  # dpkg --install libguile9_1.4-12_i386.deb 
  (Reading database ... 56094 files and directories currently installed.)
  Preparing to replace libguile9 1:1.4-12 (using libguile9_1.4-12_i386.deb) ...
  Unpacking replacement libguile9 ...
  dpkg: dependency problems prevent configuration of libguile9:
   libguile9 depends on libc6 (>= 2.2.3-1); however:
    Version of libc6 on system is 2.2.2-4.
  dpkg: error processing libguile9 (--install):
   dependency problems - leaving unconfigured
  Errors were encountered while processing:
   libguile9

Since libc6-2.2.3-5 is in "testing", which *is* in my sources.list, I
decided to use apt-get to upgrade libc6.  This is where my troubles
began:

  # apt-get install libc6
  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:
    bibindex: Depends: libncurses5 but 5.2.20010318-1 is to be installed
              Depends: libreadline4 (>= 4.1) but 4.2-2 is to be installed
    bsdgames: Depends: libncurses5 but 5.2.20010318-1 is to be installed
              Conflicts: bsdgames-nonfree (< 2.5) but it is not going to be instal
  led
    kdelibs3: Depends: kdelibs3 (>= 4:2.1.2-0)
              Depends: libbz2 but 0.9.5d-3 is to be installed
              Depends: libjpeg62 but 6b-1.2 is to be installed
              Depends: liblcms (>= 1.07-0) but 1.07-0.potato1 is to be installed
              Depends: libmng1 (>= 1.0.0-0) but 1.0.0-0.potato2 is to be installed
              Depends: libpcre2 but 2.08-1 is to be installed
              Depends: libpcre2 (>= 2.07-1) but 2.08-1 is to be installed
              Depends: libpng2 but 1.0.8-1 is to be installed
              Depends: libstdc++2.10 but 1:2.95.2-14 is to be installed
    kscd: Depends: kdelibs3 (>= 4:2.1.1-0)
          Depends: libasound1 (>= 0.5.5) but 0.5.10-0.potato1 is to be installed
          Depends: libjpeg62 but 6b-1.2 is to be installed
          Depends: liblcms (>= 1.07-0) but 1.07-0.potato1 is to be installed
          Depends: libmng1 (>= 1.0.0-0) but 1.0.0-0.potato2 is to be installed
          Depends: libpng2 but 1.0.8-1 is to be installed
          Depends: libqt2 (>= 2:2.3.0-final-0) or
                   libqt2-gl (>= 2:2.3.0-final-0)
          Depends: libstdc++2.10 but 1:2.95.2-14 is to be installed
          Depends: libz1
          Depends: cddb but 2.6-3progeny1 is to be installed
          Depends: kdebase-libs but 4:2.1.1.0-0.potato3 is to be installed
          Conflicts: kdemultimedia but it is not going to be installed
          Conflicts: task-kdemultimedia but it is not going to be installed

I don't know if these were existing problems or only problems I would
have attempting to upgrade libc6.  So I followed apt-get's advice and
tried to use "-f install":

  # apt-get -f install 
  Reading Package Lists... Done
  Building Dependency Tree... Done
  Correcting dependencies...E: Internal Error in pkgMinimizeUpgrade
  E: Unable to minimize the upgrade set

This happened with the current Progeny 1.0 version of apt-get:

  # apt-get -v
  apt 0.3.19 for i386 compiled on Apr  4 2001  10:59:38

I manually downloaded the .deb for apt 0.5.3 (from "testing") and
installed it with "dpkg --install", and the problem persists:

  # dpkg --install apt_0.5.3_i386.deb 
  (Reading database ... 56094 files and directories currently installed.)
  Preparing to replace apt 0.3.19progeny3 (using apt_0.5.3_i386.deb) ...
  Unpacking replacement apt ...
  dpkg: warning - unable to delete old file `/var/state/apt/lists/partial': Direct
  ory not empty
  dpkg: warning - unable to delete old file `/var/state/apt/lists': Directory not 
  empty
  Setting up apt (0.5.3) ...

  # apt-get -v
  apt 0.5.3 for linux i386 compiled on Mar  7 2001 19:25:55
  Supported Modules:
  *Ver: Standard .deb
  *Pkg:  Debian dpkg interface (Priority 30)
   S.L: 'deb' Standard Debian binary tree
   S.L: 'deb-src' Standard Debian source tree
   Idx: Debian Source Index
   Idx: Debian Package Index
   Idx: Debian dpkg status file

  # apt-get -f install
  Reading Package Lists... Done
  Building Dependency Tree... Done
  Correcting dependencies...E: Internal Error in pkgMinimizeUpgrade
  E: Unable to minimize the upgrade set

It looks as though apt is now completely broken: if I try to install
anything, I get the "You might want to run `apt-get -f install' to
correct these" message, and of course "apt-get -f install" fails every
time.  Is there a secret stash of apt state I can blow away to put it
back into a sane configuration until this bug is fixed?

Thanks --

        Greg
-- 
Greg Ward - nerd                                        gward@python.net
http://starship.python.net/~gward/
Question authority!



Reply to: