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

Bug#435403: marked as done (aptitude: Fails to upgrade the bulk of packages because of a single broken package)



Your message dated Thu, 13 Aug 2015 17:00:08 +0200
with message-id <20150813150008.GA5550@crossbow>
and subject line Re: Bug#435403: aptitude: Fails to upgrade the bulk of packages because of a single broken package
has caused the Debian Bug report #435403,
regarding aptitude: Fails to upgrade the bulk of packages because of a single broken package
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
435403: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=435403
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: aptitude
Version: 0.4.6.1-1
Severity: normal

Hi,

Currently, the package `gnokii' in unstable is in a broken state such
that I can neither upgrade or remove it. Because of this single not
very central package aptitude refuses to upgrade 500 MB worth of other
packages (I haven't been able to upgrade the system for a days because
of this).

This is what I'm trying to do:

------------------------------------------------------------
--\ Packages being deleted due to unsatisfied dependencies
idA  libclucene0     -1225kB 0.9.16a-2                 <none>
idA  libopenexr2c2a  -991kB  1.2.2-4.3                 <none>
--\ Packages to be installed
pi   libclucene0ldbl +1193kB <none>                    0.9.16a-3
pi   libopenexr2ldbl +1004kB <none>                    1.2.2-4.4
--\ Packages to be removed
Hp   gnokii          -3113kB 0.6.17-1                  0.6.18-1
id   schedutils      -61.4kB 1.5.0-1                   1.5.0-1
--\ Packages to be upgraded
iu   autogen         +61.4kB 1:5.9.1-2                 1:5.9.2-2
iu   blender                 2.44-2                    2.44-2+b1
iu   bsdutils        -16.4kB 1:2.12r-19                1:2.13~rc2-4
iuA  cpp-3.4                 3.4.6-5                   3.4.6-6
iu   dejagnu                 1.4.4.cvs20060709-4       1.4.4.cvs20060709-5
iu   dict-de-en      +45.1kB 1.5-1                     1.5-2
iuA  evolution-data- +4096B  1.10.2-2                  1.10.3-1
iuA  evolution-data- +4096B  1.10.2-2                  1.10.3-1
iuA  g77-3.4         -4096B  3.4.6-5                   3.4.6-6
iuA  gcc-3.4                 3.4.6-5                   3.4.6-6
iuA  gcc-3.4-base            3.4.6-5                   3.4.6-6
iu   glibc-doc       +4096B  2.6-4                     2.6-5
iuA  gnome-menus     -615kB  2.18.3-1                  2.18.3-2
iu   gnuplot                 4.2.0-3                   4.2.0-4
iuA  gnuplot-nox     +242kB  4.2.0-3                   4.2.0-4
iuA  gnuplot-x11     +4096B  4.2.0-3                   4.2.0-4
iu   gplanarity      +16.4kB 11496-1                   11496-2
iu   gv              +4096B  1:3.6.3dfsg-1             1:3.6.3dfsg-2
iu   iptables        +4096B  1.3.6.0debian1-5          1.3.8.0debian1-1
iuA  kamera          -20.5kB 4:3.5.7-2                 4:3.5.7-3
iu   karbon          -20.5kB 1:1.6.3-1+b2              1:1.6.3-2
iu   kchart          -20.5kB 1:1.6.3-1+b2              1:1.6.3-2
iuA  kcoloredit      -20.5kB 4:3.5.7-2                 4:3.5.7-3
iu   kcontrol                4:3.5.7-2                 4:3.5.7-2+b1
iu   kdebase-bin             4:3.5.7-2                 4:3.5.7-2+b1
iu   kdebase-kio-plu         4:3.5.7-2                 4:3.5.7-2+b1
iu   kdegraphics     -20.5kB 4:3.5.7-2                 4:3.5.7-3
iu   kdegraphics-dbg -356kB  4:3.5.7-2                 4:3.5.7-3
iu   kdegraphics-doc -20.5kB 4:3.5.7-2                 4:3.5.7-3
iuA  kdegraphics-kfi -20.5kB 4:3.5.7-2                 4:3.5.7-3
iu   kdelibs                 4:3.5.7.dfsg.1-2          4:3.5.7.dfsg.1-3
iu   kdelibs-dbg             4:3.5.7.dfsg.1-2          4:3.5.7.dfsg.1-3
iu   kdelibs4-dev            4:3.5.7.dfsg.1-2          4:3.5.7.dfsg.1-3
iu   kdelibs4c2a             4:3.5.7.dfsg.1-2          4:3.5.7.dfsg.1-3
iu   kdesktop                4:3.5.7-2                 4:3.5.7-2+b1
iu   kdm             -4096B  4:3.5.7-2                 4:3.5.7-2+b1
iuA  kdvi            -20.5kB 4:3.5.7-2                 4:3.5.7-3
iu   kexi            -20.5kB 1:1.6.3-1+b2              1:1.6.3-2
iuA  kfax            -20.5kB 4:3.5.7-2                 4:3.5.7-3
iuA  kfaxview        -20.5kB 4:3.5.7-2                 4:3.5.7-3
iu   kfind                   4:3.5.7-2                 4:3.5.7-2+b1
iu   kformula        -20.5kB 1:1.6.3-1+b2              1:1.6.3-2
iuA  kgamma          -20.5kB 4:3.5.7-2                 4:3.5.7-3
iuA  kghostview      -20.5kB 4:3.5.7-2                 4:3.5.7-3
iuA  kiconedit       -20.5kB 4:3.5.7-2                 4:3.5.7-3
iu   kino            +3432kB 1.0.0-2                   1.1.0-1
iu   kivio           -20.5kB 1:1.6.3-1+b2              1:1.6.3-2
iu   kivio-data      -20.5kB 1:1.6.3-1                 1:1.6.3-2
iu   klogd                   1.4.1-20                  1.5-1
iu   kmplayer        -1748kB 1:0.9.4a-2                1:0.10.0~pre2-2
iuA  kmplayer-common -76.8kB 1:0.9.4a-2                1:0.10.0~pre2-2
iuA  kmplayer-plugin -61.4kB 1:0.9.4a-2                1:0.10.0~pre2-2
iuA  kmrml           -20.5kB 4:3.5.7-2                 4:3.5.7-3
u   koffice         -20.5kB 1:1.6.3-1                 1:1.6.3-2
iuA  koffice-data    -20.5kB 1:1.6.3-1                 1:1.6.3-2
iu   koffice-dbg     -20.5kB 1:1.6.3-1+b2              1:1.6.3-2
iu   koffice-doc     +7881kB 1:1.6.3-1                 1:1.6.3-2
iu   koffice-doc-htm -20.5kB 1:1.6.3-1                 1:1.6.3-2
iu   koffice-libs    -20.5kB 1:1.6.3-1+b2              1:1.6.3-2
iuA  kolourpaint     -20.5kB 4:3.5.7-2                 4:3.5.7-3
iu   konqueror               4:3.5.7-2                 4:3.5.7-2+b1
iuA  kooka           -20.5kB 4:3.5.7-2                 4:3.5.7-3
iu   koshell         -20.5kB 1:1.6.3-1+b2              1:1.6.3-2
iu   koules                  1.4-15                    1.4-16
iuA  kpdf            -20.5kB 4:3.5.7-2                 4:3.5.7-3
iu   kplato          -20.5kB 1:1.6.3-1+b2              1:1.6.3-2
iuA  kpovmodeler     -20.5kB 4:3.5.7-2                 4:3.5.7-3
iu   kpresenter      -20.5kB 1:1.6.3-1+b2              1:1.6.3-2
iuA  kpresenter-data -20.5kB 1:1.6.3-1                 1:1.6.3-2
iu   krita           -20.5kB 1:1.6.3-1+b1              1:1.6.3-2
iuA  krita-data      -20.5kB 1:1.6.3-1                 1:1.6.3-2
iuA  kruler          -20.5kB 4:3.5.7-2                 4:3.5.7-3
iu   ksensors        +225kB  0.7.3-14                  0.7.3-15
iuA  ksnapshot       -20.5kB 4:3.5.7-2                 4:3.5.7-3
iu   kspread         -20.5kB 1:1.6.3-1+b2              1:1.6.3-2
iuA  ksvg            -20.5kB 4:3.5.7-2                 4:3.5.7-3
iu   kthesaurus      -20.5kB 1:1.6.3-1+b2              1:1.6.3-2
iu   kugar           -20.5kB 1:1.6.3-1+b2              1:1.6.3-2
iuA  kuickshow       -20.5kB 4:3.5.7-2                 4:3.5.7-3
iuA  kview           -20.5kB 4:3.5.7-2                 4:3.5.7-3
iuA  kviewshell      -20.5kB 4:3.5.7-2                 4:3.5.7-3
iu   kword           -20.5kB 1:1.6.3-1+b2              1:1.6.3-2
iuA  kword-data      -20.5kB 1:1.6.3-1                 1:1.6.3-2
iu   ldtp                    0.8.0-4                   0.8.0-5
iu   libattr1                1:2.4.32-1.1              1:2.4.32-1.2
iuA  libattr1-dev            1:2.4.32-1.1              1:2.4.32-1.2
iuA  libcamel1.2-10  +4096B  1.10.2-2                  1.10.3-1
iu   libdb4.2        +12.3kB 4.2.52+dfsg-2             4.2.52+dfsg-2.1
iuA  libebook1.2-9   +4096B  1.10.2-2                  1.10.3-1
iuA  libecal1.2-7    +4096B  1.10.2-2                  1.10.3-1
iuA  libedata-book1. +4096B  1.10.2-2                  1.10.3-1
iuA  libedata-cal1.2 +4096B  1.10.2-2                  1.10.3-1
iuA  libedataserver1 +4096B  1.10.2-2                  1.10.3-1
iuA  libedataserveru +4096B  1.10.2-2                  1.10.3-1
iuA  libegroupwise1. +4096B  1.10.2-2                  1.10.3-1
iuA  libg2c0                 1:3.4.6-5                 1:3.4.6-6
iuA  libg2c0-dev             1:3.4.6-5                 1:3.4.6-6
iuA  libgnome-menu2  -28.7kB 2.18.3-1                  2.18.3-2
iu   libhunspell-1.1         1.1.8-2                   1.1.9-1
iuA  libkscan1       -20.5kB 4:3.5.7-2                 4:3.5.7-3
iu   libopenexr-dev  +4096B  1.2.2-4.3                 1.2.2-4.4
iu   libopts25       +45.1kB 1:5.9.1-2                 1:5.9.2-2
iu   libopts25-dev   +45.1kB 1:5.9.1-2                 1:5.9.2-2
iu   libqt4-core     -127kB  4.3.0-4                   4.3.0-5
iu   libqt4-dev      -429kB  4.3.0-4                   4.3.0-5
iu   libqt4-gui      -110kB  4.3.0-4                   4.3.0-5
iu   libqt4-qt3suppo -50.2kB 4.3.0-4                   4.3.0-5
iu   libqt4-sql      -36.9kB 4.3.0-4                   4.3.0-5
iuA  libsane         +94.2kB 1.0.19~cvs20070505-3      1.0.19~cvs20070730-1
iuA  libsearchclient -36.9kB 0.5.1-1+b1                0.5.4-1
iu   libsearchclient -24.6kB 0.5.1-1+b1                0.5.4-1
iu   libslang2               2.0.7-2                   2.0.7-3
iu   libslang2-dev           2.0.7-2                   2.0.7-3
iuA  libstreamanalyz -39.9kB 0.5.1-1+b1                0.5.4-1
iu   libstreamanalyz -89.1kB 0.5.1-1+b1                0.5.4-1
iuA  libstreams-dev  -31.7kB 0.5.1-1+b1                0.5.4-1
iu   libstreams0     -28.7kB 0.5.1-1+b1                0.5.4-1
iu   libstrigihtmlgu -36.9kB 0.5.1-1+b1                0.5.4-1
iu   libstrigihtmlgu -32.8kB 0.5.1-1+b1                0.5.4-1
iu   libstrigiqtdbus -41.0kB 0.5.1-1+b1                0.5.4-1
iuA  libstrigiqtdbus -32.8kB 0.5.1-1+b1                0.5.4-1
iuA  libvolume-id0   +8192B  0.105-4                   0.113-2
iu   libwrap0        +4096B  7.6.dbs-13                7.6.dbs-14
iu   libwrap0-dev    +4096B  7.6.dbs-13                7.6.dbs-14
iuA  linux-image-2.6         2.6.22-2                  2.6.22-3
iu   locales         -4096B  2.6-4                     2.6-5
iu   mount           -45.1kB 2.12r-19                  2.13~rc2-4
iu   openssh-client          1:4.6p1-4+b1              1:4.6p1-5
iu   openssh-server  +4096B  1:4.6p1-4+b1              1:4.6p1-5
iuA  python-gmenu    -57.3kB 2.18.3-1                  2.18.3-2
iu   python-ldtp     -36.9kB 0.8.0-4                   0.8.0-5
iu   qt4-designer    -80.9kB 4.3.0-4                   4.3.0-5
iu   qt4-dev-tools   -64.5kB 4.3.0-4                   4.3.0-5
iu   qt4-doc         -831kB  4.3.0-4                   4.3.0-5
iu   qt4-qtconfig    -45.1kB 4.3.0-4                   4.3.0-5
iuA  r-cran-kernsmoo +20.5kB 2.22.20-1                 2.22.21-1
iuA  r-cran-nlme             3.1.83-1                  3.1.84-1
iuA  r-cran-rpart    -8192B  3.1.36-1                  3.1.37-1
iuA  r-cran-vr       +8192B  7.2.34-1                  7.2.35-1
iuA  sane-utils              1.0.19~cvs20070505-3      1.0.19~cvs20070730-1
iuA  shared-mime-inf +123kB  0.21-2                    0.22-1
iu   ssh                     1:4.6p1-4                 1:4.6p1-5
iu   strigi-client   -32.8kB 0.5.1-1+b1                0.5.4-1
iu   sysklogd                1.4.1-20                  1.5-1
iu   tcpd                    7.6.dbs-13                7.6.dbs-14
iuA  trans-de-en             1.5-1                     1.5-2
iu   ttf-junicode    +127kB  0.6.15-1                  0.6.15-2
iuA  udev            +28.7kB 0.105-4                   0.113-2
iu   util-linux      +77.8kB 2.12r-19                  2.13~rc2-4
iuA  v4l-conf                3.95.dfsg.1-3             3.95.dfsg.1-4
iu   wesnoth         -12.3kB 1.2.5-1                   1.2.6-1
iu   wesnoth-data    +176kB  1.2.5-1                   1.2.6-1
iu   wesnoth-editor  +36.9kB 1.2.5-1                   1.2.6-1
iuA  wesnoth-ei              1.2.5-1                   1.2.6-1
iuA  wesnoth-httt    +4096B  1.2.5-1                   1.2.6-1
iuA  wesnoth-music           1.2.5-1                   1.2.6-1
iuA  wesnoth-trow    +94.2kB 1.2.5-1                   1.2.6-1
iu   wesnoth-tsg             1.2.5-1                   1.2.6-1
iuA  wesnoth-ttb             1.2.5-1                   1.2.6-1
iu   wesnoth-utbs            1.2.5-1                   1.2.6-1
iu   whois                   4.7.21                    4.7.22
iu   xscreensaver    +344kB  4.24-5                    5.03-2
iu   xscreensaver-gl         5.03-1                    5.03-2
--\ Packages that are partially installed
B A  libcluceneindex         0.5.4-1                   0.5.4-1
B    strigi-daemon           0.5.4-1                   0.5.4-1
B    strigi-utils            0.5.4-1                   0.5.4-1
--\ Packages which are recommended by other packages
p    dcraw                   <none>                    8.39-1
p    gnuift                  <none>                    0.1.14-6.2
p    python-statgrab         <none>                    0.4-1.1
--- Packages which are suggested by other packages
------------------------------------------------------------

And this is what happens:

------------------------------------------------------------
Extracting templates from packages: 100%
Preconfiguring packages ...
dpkg: error processing gnokii (--purge):
 Package is in a very bad inconsistent state - you should
 reinstall it before attempting a removal.
Errors were encountered while processing:
 gnokii
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
dpkg: dependency problems prevent configuration of libcluceneindex0:
 libcluceneindex0 depends on libclucene0ldbl (>= 0.9.16a-3); however:
  Package libclucene0ldbl is not installed.
dpkg: error processing libcluceneindex0 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of strigi-daemon:
 strigi-daemon depends on libclucene0ldbl (>= 0.9.16a-3); however:
  Package libclucene0ldbl is not installed.
 strigi-daemon depends on libcluceneindex0; however:
  Package libcluceneindex0 is not configured yet.
dpkg: error processing strigi-daemon (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of strigi-utils:
 strigi-utils depends on libclucene0ldbl (>= 0.9.16a-3); however:
  Package libclucene0ldbl is not installed.
 strigi-utils depends on libcluceneindex0; however:
  Package libcluceneindex0 is not configured yet.
dpkg: error processing strigi-utils (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libcluceneindex0
 strigi-daemon
 strigi-utils
Press return to continue.
------------------------------------------------------------

Trying to upgrade gnokii similarly gives me an error message and
refuses to upgrade the rest of the packages.

Without knowing much about aptitude/apt internals, I suspect it could
be made more robust in cases like this.

	Sami


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22.1-sli (PREEMPT)
Locale: LANG=C, LC_CTYPE=fi_FI@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages aptitude depends on:
ii  apt [libapt-pkg-libc6.6-6 0.7.4          Advanced front-end for dpkg
ii  libc6                     2.6-5          GNU C Library: Shared libraries
ii  libgcc1                   1:4.2.1-1      GCC support library
ii  libncursesw5              5.6+20070716-1 Shared libraries for terminal hand
ii  libsigc++-2.0-0c2a        2.0.17-2       type-safe Signal Framework for C++
ii  libstdc++6                4.2.1-1        The GNU Standard C++ Library v3

Versions of packages aptitude recommends:
ii  aptitude-doc-en [aptitude-doc 0.4.6.1-1  English manual for aptitude, a ter
ii  libparse-debianchangelog-perl 1.1-1      parse Debian changelogs and output

-- no debconf information

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
On Tue, Aug 14, 2007 at 10:26:20PM +0300, Sami Liedes wrote:
> On Tue, Aug 14, 2007 at 07:24:05AM -0700, Daniel Burrows wrote:
> >   Well, you asked aptitude to upgrade that package, but its dpkg
> > database entry appears to be corrupted in a bad way.  There's no way for
> > aptitude to find out which package broke (short of something horrible
> > and error-prone, like parsing the dpkg output), so it has to assume that
> > everything it was trying to install broke.
> > 
> >   Maybe you should fix your problem by reinstalling gnokii, like
> > the error message says?  If you don't want to do that, your other
> > option is to hold it back.
> 
> It could not be reinstalled, because the postrm script was broken.
> Also putting it on hold did not work, because apt thought it was so
> broken that it needed to be fixed anyway, and as a result failed to
> fix it and refused to install any other packages. As far as I could
> tell, there were exactly two ways of resolving the situation so that
> apt is again able to upgrade other packages:
> 
>   1) Fix the gnokii package postrm script by hand (which I believe is
>      something that a normal user shouldn't need to do)
> 
>   2) Upgrade to a newer, fixed version of gnokii (which still does not
>      exist).
> 
> If it's only the gnokii db entry that's corrupted, I think it should
> still be possible to put it in hold so that apt would not touch it,
> but that's just not what apt does even if it's on hold.

APT can't work with broken systems; this is by design/choice as this
would blow up the complexity even more. It is also unanswerable for
a machine if gnokii is important from a user point of view or not (for
a machine a desktop enviroment is hardly important, for a user it might
or might not for example) and what the failure in the postinst means.
Maybe its an unimportant package, but it can still install e.g. init
scripts and if those aren't setup probably the system is unbootable…

Also, packages have these kind of bugs usually only in unstable, which
is used by experienced users who should be able to deal with this kind
of breakage.

Long story short: There isn't much we can do about it, which is why this
bug is still open and it would still be open in 20 years without any
action and as unactionable bugs are bad bugs we can achieve just the
same by closing it: no action. Hence closing.


Best regards

David Kalnischkies

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply to: