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

Bug#61512: apt picks wrong packages trough dependencies



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 ---------------------->

Attachment: pgp_pgYl6cxfB.pgp
Description: PGP signature


Reply to: