when removing nvidia-glx-177 /usr/lib/libGL.so is gone
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvidia-graphics-drivers-173 (Ubuntu) |
Fix Released
|
Medium
|
Alberto Milone | ||
nvidia-graphics-drivers-177 (Ubuntu) |
Won't Fix
|
Medium
|
Alberto Milone | ||
nvidia-graphics-drivers-180 (Ubuntu) |
Fix Released
|
Medium
|
Alberto Milone | ||
nvidia-graphics-drivers-96 (Ubuntu) |
Fix Released
|
Medium
|
Alberto Milone |
Bug Description
When libgl1-mesa-glx and libgl1-mesa-dev are installed and then nvidia-glx-177 gets installed and removed it takes away the /usr/lib/libGL.so symlink. Example (system has libgl1-mesa-glx and libgl1-mesa-dev and nvidia-glx-177):
root@top:/# ls -l /usr/lib/libGL.so /usr/lib/libGL.so.1
lrwxrwxrwx 1 root root 10 Dec 17 19:52 /usr/lib/libGL.so -> libGL.so.1
lrwxrwxrwx 1 root root 15 Dec 17 19:53 /usr/lib/libGL.so.1 -> libGL.so.177.82
root@top:/# apt-get remove nvidia-glx-177
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
nvidia-
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
nvidia-glx-177
0 upgraded, 0 newly installed, 1 to remove and 5 not upgraded.
After this operation, 47.3MB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 31790 files and directories currently installed.)
Removing nvidia-glx-177 ...
dpkg-divert: error checking `/usr/lib/
dpkg: error processing nvidia-glx-177 (--remove):
subprocess post-removal script returned error exit status 2
Errors were encountered while processing:
nvidia-glx-177
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@top:/# apt-get remove nvidia-glx-177
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
nvidia-
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
nvidia-glx-177
0 upgraded, 0 newly installed, 1 to remove and 5 not upgraded.
1 not fully installed or removed.
After this operation, 47.3MB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 31735 files and directories currently installed.)
Removing nvidia-glx-177 ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
root@top:/# ls -l /usr/lib/libGL.so /usr/lib/libGL.so.1
ls: cannot access /usr/lib/libGL.so: No such file or directory
lrwxrwxrwx 1 root root 12 Dec 17 19:52 /usr/lib/libGL.so.1 -> libGL.so.1.2
I'm not sure if that is releated to the error on the first removal or not, this was done in a pbuilder chroot.
Changed in nvidia-graphics-drivers-173: | |
assignee: | nobody → albertomilone |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in nvidia-graphics-drivers-180: | |
assignee: | nobody → albertomilone |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in nvidia-graphics-drivers-96: | |
assignee: | nobody → albertomilone |
importance: | Undecided → Medium |
status: | New → In Progress |
From debian/ nvidia- glx-177. postrm. in:
# remove file created by init script
rm /usr/lib/libGL.so 2> /dev/null || true
but:
# dpkg -S /usr/lib/libGL.so
libgl1-mesa-dev: /usr/lib/libGL.so