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

Bug#61512: marked as done (apt picks wrong packages trough dependencies)



Your message dated Mon, 3 Apr 2000 21:20:15 -0600 (MDT)
with message-id <[🔎] Pine.LNX.3.96.1000403210057.25636D-100000@wakko.deltatee.com>
and subject line Bug#61512: apt picks wrong packages trough dependencies
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.)

Darren Benham
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 1 Apr 2000 11:02:25 +0000
Received: (qmail 2869 invoked from network); 1 Apr 2000 11:02:17 -0000
Received: from modem5.dial.xs4all.be (HELO lucretia.hangar.zo) (195.144.65.5)
  by master.debian.org with SMTP; 1 Apr 2000 11:02:17 -0000
Received: from mechanix by lucretia.hangar.zo with local (Exim 3.12 #1 (Debian))
	id 12bLdp-0006GG-00; Sat, 01 Apr 2000 13:00:33 +0200
Date: Sat, 1 Apr 2000 13:00:33 +0200
To: submit@bugs.debian.org
Subject: apt picks wrong packages trough dependencies
Message-ID: <[🔎] 20000401130033.A23972@xs4all.be>
Reply-To: filipvr@xs4all.be
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-md5;
	protocol="application/pgp-signature"; boundary="bp/iNruPH9dso1Pn"
User-Agent: Mutt/1.0.1i
Sender: "Filip Van Raemdonck" <filipvr@xs4all.be>
From: "Filip Van Raemdonck" <filipvr@xs4all.be>


--bp/iNruPH9dso1Pn
Content-Type: text/plain; charset=us-ascii

package: apt
version: 0.3.18
severity: normal

This is on an up to date potato system. I needed the glut development package,
and I tried to install it, but apt apparently got confused by dependency
information and wanted to remove my currently installed mesa library in favour
for another:

lucretia:~$ sudo apt-get install glutg3-dev
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  libggi2-dev libgii0-dev mesag3+ggi mesag3+ggi-dev
The following packages will be REMOVED:
  mesag3-glide2
The following NEW packages will be installed:
  glutg3-dev libggi2-dev libgii0-dev mesag3+ggi mesag3+ggi-dev
0 packages upgraded, 5 newly installed, 1 to remove and 1 not upgraded.
Need to get 1125kB/1401kB of archives. After unpacking 2897kB will be used.
Do you want to continue? [Y/n] n
Abort.
lucretia:~$ apt-cache show glutg3-dev
Package: glutg3-dev
Version: 3.7-5
Priority: optional
Section: devel
Maintainer: James A. Treacy <treacy@debian.org>
Depends: libgl-dev, glutg3 (= 3.7-5), libc6-dev
Conflicts: glut-dev
Architecture: i386
Filename: dists/potato/main/binary-i386/devel/glutg3-dev_3.7-5.deb
Size: 199344
MD5sum: b5454fbbb6bd73045cf3a879b75c6a01
Description: Development library for GLUT.
 Includes headers, man pages, and static library.
source: glut
installed-size: 656
lucretia:~$ dpkg -l glutg3-dev glutg3 mesag3-glide2 mesag-glide2-dev
Desired=Unknown/Install/Remove/Purge
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name                       Version                    Description
+++-==========================-==========================-======================
pn  glutg3-dev                 <none>                     (no description available)
ii  glutg3                     3.7-5                      The OpenGL Utility Toolkit.
ii  mesag3-glide2              3.1-15                     A 3-D graphics library which uses the OpenGL API [libc6].
pn  mesag-glide2-dev           <none>                     (no description available)

Both mesag3+ggi and mesag3-glide2 (which I have installed) provide libgl1; both
mesag3+ggi-dev and mesag-glide2-dev provide libgl-dev, which is needed by
glutg3-dev. However, apparently it thought mesag3+ggi-dev was a better choice
than mesag-glide2-dev. What surprises me most is that it didn't choose mesag3
and mesag-dev, as these could be looked at as the 'normal' mesa packages.

Once I told apt that it should take mesag-glide2-dev it did the right thing:

lucretia:~$ sudo apt-get install mesag-glide2-dev glutg3-dev
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  libglide2-dev
The following NEW packages will be installed:
  glutg3-dev libglide2-dev mesag-glide2-dev
0 packages upgraded, 3 newly installed, 0 to remove and 1 not upgraded.
Need to get 691kB/3044kB of archives. After unpacking 5360kB will be used.
Do you want to continue? [Y/n] y
0% [Connecting to http.us.debian.org]

Regards,

Filip



--
Get a life. Get Windows(tm). It makes you wanna spend a lot less time with your pc.


<------------------------ Filip Van Raemdonck ----------------------->
filipvr@xs4all.be              Helpdesk        Tel: +32/(0)9/265.02.05
http://www.xs4all.be        Webengineering     Fax: +32/(0)9/265.02.50
<--------------------  XS4ALL Internet Belgium ---------------------->

--bp/iNruPH9dso1Pn
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE45dbREjn3CY6VDgARAXqDAKCfgH54RzGAmcyjCgst1LDbD5nHkgCffDSb
8w2rfpjyo5fB5a33kUm6rhU=
=bd3z
-----END PGP SIGNATURE-----

--bp/iNruPH9dso1Pn--
---------------------------------------
Received: (at 61512-done) by bugs.debian.org; 4 Apr 2000 03:24:11 +0000
Received: (qmail 10629 invoked from network); 4 Apr 2000 03:24:11 -0000
Received: from wakko.powersurfr.com (HELO wakko.deltatee.com) (mail@24.108.53.97)
  by master.debian.org with SMTP; 4 Apr 2000 03:24:11 -0000
Received: from localhost (wakko.deltatee.com) [127.0.0.1] (jgg)
	by wakko.deltatee.com with smtp (Exim 2.11 #1)
	id 12cJt1-0006lN-00 (Debian); Mon, 3 Apr 2000 21:20:15 -0600
Date: Mon, 3 Apr 2000 21:20:15 -0600 (MDT)
From: Jason Gunthorpe <jgg@ualberta.ca>
X-Sender: jgg@wakko.deltatee.com
To: Filip Van Raemdonck <filipvr@xs4all.be>
cc: APT Development Team <deity@lists.debian.org>, 61512-done@bugs.debian.org
Subject: Re: Bug#61512: apt picks wrong packages trough dependencies
In-Reply-To: <[🔎] 20000404003324.A1009@xs4all.nl>
Message-ID: <[🔎] Pine.LNX.3.96.1000403210057.25636D-100000@wakko.deltatee.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII



On Tue, 4 Apr 2000, Filip Van Raemdonck wrote:

> * that tells apt to install those four extra packages, two of which I am totally
> not interested in (the ggi/gii development packages).

It is due to the very complex relationships the exist in the gl packages,
glutg3-dev needs a libgl-dev which was not provided by the older mesa dev
package so APT searches for the first possible thing that can be
libgl-dev (mesa-ggi) and takes that.

Without further input that could entirely be a perfectly valid solution -
there is more than one route to take for this problem. Basically its
iterative algorithm gets stuck in a local minima of the dependency graph.

Regrettably it isn't actually possible to deal with all these degenerate
cases, there is a similar trouble with the mess that is perl. This is
pretty much due to cases where there are N possible choices [ggi, glide,
neither], different people will always want different things.

The trouble is compoundend by this odd use of provides - nobody has ever
made a large scale construct like this before - and furthermore it will
only happen because a new provides was introduced.

This isn't a bug because it does tell you want it wants to do and you are
free to give it a push in the right direction after. APT *does not*
promise it will always find the selection of packages you want, it just
frequently does. 

I will look at it a little more after potato is released, this particular 
case might be fixable, but there is always a big risk of having bad side
effects :< 

dist-upgrade and friends should not have this problem btw.

Jason


Reply to: