[pkg-nvidia-devel] Bug#575272: nvidia-glx: removes file belonging to libgl1-mesa-dev on purge

Sven Joachim svenjoac at gmx.de
Wed Mar 24 16:29:14 UTC 2010


Package: nvidia-glx
Version: 190.53-1
Severity: serious

Purging nvidia-glx results in /usr/lib/libGL.so (a symlink belonging to
libgl1-mesa-dev) being deleted, as can be seen in the following
transcript:

,----
| % export LANG=C
| % ls -l /usr/lib/libGL.so
| lrwxrwxrwx 1 root root 10 Mar 24 17:11 /usr/lib/libGL.so -> libGL.so.1
| % sudo aptitude install nvidia-glx
| Reading package lists... Done
| Building dependency tree
| Reading state information... Done
| Reading extended state information... Done
| Initializing package states... Done
| Reading task descriptions... Done
| The following NEW packages will be installed:
|   nvidia-glx
| 0 packages upgraded, 1 newly installed, 0 to remove and 20 not upgraded.
| Need to get 0B/7730kB of archives. After unpacking 25.3MB will be used.
| Writing extended state information... Done
| Selecting previously deselected package nvidia-glx.
| (Reading database ... 159073 files and directories currently installed.)
| Unpacking nvidia-glx (from .../nvidia-glx_190.53-1_i386.deb) ...
| Processing triggers for readahead-fedora ...
| Setting up nvidia-glx (190.53-1) ...
| update-rc.d: warning: nvidia-glx stop runlevel arguments (0 1 6) do not match LSB Default-Stop values (none)
| Reading package lists... Done
| Building dependency tree
| Reading state information... Done
| Reading extended state information... Done
| Initializing package states... Done
| Writing extended state information... Done
| Reading task descriptions... Done
| 
| % ls -l /usr/lib/libGL.so
| lrwxrwxrwx 1 root root 37 Mar 24 17:15 /usr/lib/libGL.so -> /usr/lib/nvidia/libGL.so.1.2.xlibmesa
| % sudo aptitude remove nvidia-glx
| Reading package lists... Done
| Building dependency tree
| Reading state information... Done
| Reading extended state information... Done
| Initializing package states... Done
| Reading task descriptions... Done
| The following packages will be REMOVED:
|   nvidia-glx
| 0 packages upgraded, 0 newly installed, 1 to remove and 20 not upgraded.
| Need to get 0B of archives. After unpacking 25.3MB will be freed.
| Writing extended state information... Done
| (Reading database ... 159114 files and directories currently installed.)
| Removing nvidia-glx ...
| Processing triggers for readahead-fedora ...
| Reading package lists... Done
| Building dependency tree
| Reading state information... Done
| Reading extended state information... Done
| Initializing package states... Done
| Writing extended state information... Done
| Reading task descriptions... Done
| 
| % ls -l /usr/lib/libGL.so
| lrwxrwxrwx 1 root root 10 Mar 24 17:11 /usr/lib/libGL.so -> libGL.so.1
| % sudo aptitude purge nvidia-glx
| Reading package lists... Done
| Building dependency tree
| Reading state information... Done
| Reading extended state information... Done
| Initializing package states... Done
| Reading task descriptions... Done
| The following packages will be REMOVED:
|   nvidia-glx{p}
| 0 packages upgraded, 0 newly installed, 1 to remove and 20 not upgraded.
| Need to get 0B of archives. After unpacking 0B will be used.
| Do you want to continue? [Y/n/?]
| Writing extended state information... Done
| (Reading database ... 159076 files and directories currently installed.)
| Removing nvidia-glx ...
| Purging configuration files for nvidia-glx ...
| Processing triggers for readahead-fedora ...
| Reading package lists... Done
| Building dependency tree
| Reading state information... Done
| Reading extended state information... Done
| Initializing package states... Done
| Writing extended state information... Done
| Reading task descriptions... Done
| 
| % ls -l /usr/lib/libGL.so
| ls: cannot access /usr/lib/libGL.so: No such file or directory
| %
`----

The reason is that the postrm removes the /usr/lib/libGL.so symlink on
both removal and purging, and in the purge case the diversion that the
nvidia-glx preinst had set up is already gone.


-- Package-specific info:
uname -r:
Linux turtle 2.6.33.1-nouveau #2 SMP Tue Mar 23 08:43:47 CET 2010 x86_64 GNU/Linux


/proc/version:
Linux version 2.6.33.1-nouveau (sven at turtle) (gcc version 4.4.3 (Debian 4.4.3-4) ) #2 SMP Tue Mar 23 08:43:47 CET 2010


01:00.0 VGA compatible controller: nVidia Corporation G86 [GeForce 8500 GT] (rev a1)


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

Kernel: Linux 2.6.33.1-nouveau (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages nvidia-glx depends on:
ii  libc6                2.10.2-6            Embedded GNU C Library: Shared lib
ii  libx11-6             2:1.3.3-2           X11 client-side library
ii  libxext6             2:1.1.1-3           X11 miscellaneous extension librar
ii  nvidia-kernel-2.6.31 190.53-1+custom.1.0 NVIDIA binary kernel module for Li
ii  nvidia-kernel-2.6.31 190.53-1+custom.1.0 NVIDIA binary kernel module for Li
ii  nvidia-kernel-2.6.32 190.53-1+custom.1.0 NVIDIA binary kernel module for Li
ii  nvidia-kernel-2.6.32 190.53-1+custom.1.0 NVIDIA binary kernel module for Li
ii  nvidia-kernel-2.6.32 190.53-1+custom.1.0 NVIDIA binary kernel module for Li
ii  nvidia-kernel-2.6.33 190.53-1+custom.1.0 NVIDIA binary kernel module for Li
ii  nvidia-kernel-2.6.33 190.53-1+custom.1.0 NVIDIA binary kernel module for Li
ii  nvidia-kernel-2.6.33 190.53-1+custom.1.0 NVIDIA binary kernel module for Li
ii  nvidia-kernel-2.6.33 190.53-1+custom.1.0 NVIDIA binary kernel module for Li
ii  nvidia-kernel-2.6.34 190.53-1+custom.1.0 NVIDIA binary kernel module for Li
ii  nvidia-kernel-2.6.34 190.53-1+custom.1.0 NVIDIA binary kernel module for Li
ii  x11-common           1:7.5+5             X Window System (X.Org) infrastruc

nvidia-glx recommends no packages.

Versions of packages nvidia-glx suggests:
ii  nvidia-kernel-source          190.53-1   NVIDIA binary kernel module source
ii  nvidia-settings               190.53-1   Tool for configuring the NVIDIA gr

-- no debconf information





More information about the Pkg-nvidia-devel mailing list