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

Bug#244714: marked as done (apt in woody: removes wrong packages upon dist-upgrade)



Your message dated Thu, 29 Apr 2004 23:34:41 -0700
with message-id <20040430063441.GL19139@alcor.net>
and subject line Fixed in tetex-bin
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 19 Apr 2004 17:54:43 +0000
>From frank@kuesterei.ch Mon Apr 19 10:54:43 2004
Return-path: <frank@kuesterei.ch>
Received: from moutng.kundenserver.de [212.227.126.186] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BFcyh-0000U5-00; Mon, 19 Apr 2004 10:54:43 -0700
Received: from [212.227.126.179] (helo=mrelayng.kundenserver.de)
	by moutng.kundenserver.de with esmtp (Exim 3.35 #1)
	id 1BFcyg-00056B-00
	for submit@bugs.debian.org; Mon, 19 Apr 2004 19:54:42 +0200
Received: from [82.194.101.52] (helo=alhambra.bioz.unibas.ch)
	by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1)
	id 1BFcyX-00056E-00; Mon, 19 Apr 2004 19:54:35 +0200
Received: from frank by alhambra.bioz.unibas.ch with local (Exim 3.35 #1 (Debian))
	id 1BFbwa-0003Fz-00; Mon, 19 Apr 2004 18:48:28 +0200
From: "Frank Küster" <frank@kuesterei.ch>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: apt in woody: removes wrong packages upon dist-upgrade
X-Mailer: reportbug 1.50
Date: Mon, 19 Apr 2004 18:48:28 +0200
Message-Id: <E1BFbwa-0003Fz-00@alhambra.bioz.unibas.ch>
Sender: =?iso-8859-1?Q?Frank_K=FCster?= <frank@kuesterei.ch>
X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:3fc7da83a58b7314ee3070631872032d
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-7.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 1

Package: apt
Version: 0.5.4
Severity: normal

I am not sure whether it is a bug in apts package selection scheme
(then it would be important or even grave), but at least it is a bug
in it's debug output.

Following situation:

On a woody system (logged into pbuilder chroot) with tetex-extra,
dvipdfm and gs plus all their dependencies installed, I add the
unstable to the sources list.

In sarge and sid, the tetex packages provide dvipdfm (for details see
below) and should be upgraded, while dvipdfm should be removed. Apt,
however, decides to remove tetex-bin and tetex extra.

Here are the details of dependencies:

# grep dvipdfm tetex-bin/tetex-bin-2.0.2/debian/control | cut -d ":" -f 1
Replaces
Conflicts
Provides
# grep dvipdfm tetex-base/tetex-base-2.0.2/debian/control | cut -d ":" -f 1
Replaces
# 

(tetex-base get's some of dvipdfm's files, they are now in a separate
source tarball)

This is what apt-get says, with Debug::pkgProblemResolver "true":

bin/bash-2.05a# apt-get dist-upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Starting
Starting 2
Investigating libconsole
Package libconsole has broken dep on console-tools-libs
  Considering console-tools-libs 4 as a solution to libconsole 9
  Added console-tools-libs to the remove list
  Fixing libconsole via remove of console-tools-libs
Investigating tetex-bin
  Or group remove for tetex-bin
  Or group remove for tetex-bin
  Or group remove for tetex-bin
  Or group remove for tetex-bin
  Or group remove for tetex-bin
  Or group remove for tetex-bin
  Or group remove for tetex-bin
Package tetex-bin has broken dep on dvipdfm
  Considering dvipdfm 1 as a solution to tetex-bin 1
  Holding Back tetex-bin rather than change dvipdfm
Investigating tetex-extra
Package tetex-extra has broken dep on tetex-bin
  Considering tetex-bin 1 as a solution to tetex-extra 0
  Holding Back tetex-extra rather than change tetex-bin
Investigating tetex-base
Package tetex-base has broken dep on tetex-bin
  Considering tetex-bin 1 as a solution to tetex-base 5
  Added tetex-bin to the remove list
  Fixing tetex-base via remove of tetex-bin
 Try to Re-Instate tetex-extra
Investigating tetex-extra
Package tetex-extra has broken dep on tetex-bin
  Considering tetex-bin 1 as a solution to tetex-extra 0
  Removing tetex-extra rather than change tetex-bin
Done
Done
The following packages will be REMOVED:
  console-tools-libs tetex-bin tetex-extra 
The following NEW packages will be installed:
  aptitude coreutils cpp-3.3 debconf-i18n dselect e2fslibs fontconfig g++-3.3 gcc-3.3 gcc-3.3-base gs-gpl
  initscripts libacl1 libattr1 libblkid1 libcomerr2 libconsole libdb1-compat libdb3-util libdb4.0 libexpat1
  libfontconfig1 libgcc1 libgcrypt7 libgdbm3 libgnutls10 libgpg-error0 libice6 liblocale-gettext-perl
  liblzo1 libmagic1 libncursesw5 libnewt0.51 libopencdk8 libpaper-utils libpaper1 libpcap0.7 libpci1 libpci2
  libpng10-0 libpng12-0 libsasl2 libsigc++-1.2-5c102 libsm6 libss2 libstdc++5 libstdc++5-3.3-dev libt1-5
  libtasn1-2 libtext-charwidth-perl libtext-iconv-perl libtext-wrapi18n-perl libtextwrap1 libuuid1 libwww0
  libx11-6 libxext6 libxft1 libxi6 libxmu6 libxmuu1 libxp6 libxpm4 libxrandr2 libxrender1 libxt6 libxtrap6
  libxtst6 linux-kernel-headers mime-support perl-tk slang1a-utf8 sysv-rc ttf-bitstream-vera ucf xlibs-data 
126 packages upgraded, 76 newly installed, 3 to remove and 0  not upgraded.
Need to get 83.6MB of archives. After unpacking 79.6MB will be used.
Do you want to continue? [Y/n] n
Abort.

That is, it first says that tetex-bin has a broken dependency on
dvipdfm, but instead of resolving it the proper way, it removes it. 

(dvipdfm Suggests gs, while tetex-bin Suggests gs | gs-aladdin |
gs-esp in unstable, only gs | gs-aladdin in woody). gs-aladdin is
_not_ installed. And it shouldn't need to be.

Then I used the bunk-2 packages instead of unstable, which have the
same versions as unstable (bunk-2 is is a collection with backports
for woody), the output looks even more strange:



  Considering gs-aladdin 0 as a solution to tetex-bin 1
  Holding Back tetex-bin rather than change gs-aladdin
Investigating tetex-extra
Package tetex-extra has broken dep on tetex-bin
  Considering tetex-bin 1 as a solution to tetex-extra 0
  Holding Back tetex-extra rather than change tetex-bin
Investigating tetex-base
Package tetex-base has broken dep on tetex-bin
  Considering tetex-bin 1 as a solution to tetex-base 5
  Added tetex-bin to the remove list
  Fixing tetex-base via remove of tetex-bin
 Try to Re-Instate tetex-extra
Investigating tetex-extra
Package tetex-extra has broken dep on tetex-bin
  Considering tetex-bin 1 as a solution to tetex-extra 0
  Removing tetex-extra rather than change tetex-bin
Done
Done
The following packages will be REMOVED:
  console-tools-libs tetex-bin tetex-extra 


It might well be that the real cause lies in an error of the
package relationship declarations of the tetex packages. But it's hard
to debug this if the output of apt-get is so strange.

Regards, Frank



-- System Information
Debian Release: 3.0-bunk-2
Architecture: i386
Kernel: Linux alhambra 2.4.25 #1 Mit Feb 18 16:41:07 CET 2004 i686
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro

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


---------------------------------------
Received: (at 244714-done) by bugs.debian.org; 30 Apr 2004 06:35:13 +0000
>From mdz@alcor.net Thu Apr 29 23:35:13 2004
Return-path: <mdz@alcor.net>
Received: from mta13.mail.adelphia.net (mta13.adelphia.net) [68.168.78.44] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BJRc9-0004TG-00; Thu, 29 Apr 2004 23:35:13 -0700
Received: from mizar.alcor.net ([69.167.148.207]) by mta13.adelphia.net
          (InterMail vM.5.01.06.08 201-253-122-130-108-20031117) with ESMTP
          id <20040430063442.MQBL13425.mta13.adelphia.net@mizar.alcor.net>
          for <244714-done@bugs.debian.org>;
          Fri, 30 Apr 2004 02:34:42 -0400
Received: from mdz by mizar.alcor.net with local (Exim 4.32)
	id 1BJRbd-00048a-M1
	for 244714-done@bugs.debian.org; Thu, 29 Apr 2004 23:34:42 -0700
Date: Thu, 29 Apr 2004 23:34:41 -0700
From: Matt Zimmerman <mdz@debian.org>
To: 244714-done@bugs.debian.org
Subject: Fixed in tetex-bin
Message-ID: <20040430063441.GL19139@alcor.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.5.1+cvs20040105i
Sender: Matt Zimmerman <mdz@alcor.net>
Delivered-To: 244714-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-2.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 1

This is a duplicate of #200261 (fixed in tetex-bin 2.0.2-13).

-- 
 - mdz



Reply to: