Bug#631845: ..unable to setup glx-alternative-mesa, glx-diversions or recover diversions set by libgl1-diversions

Arnt Karlsen arnt at c2i.net
Mon Jun 27 17:26:27 UTC 2011


Package: glx-diversions
Version: 0.1.2
Severity: grave
Justification: renders package unusable


...apart from running out of nuclear ammo, I'm wondering WTF I have to remove closed source Nvidea cruft from 
an ATI graphics laptop running X.org's radeon driver, below paste is a few days worth of nuclear snippets:
arnt at celsius:~$ cat nvidea-mono-cultural-bug 
                                   
Current status: 7 updates [+7], 28 new [+4].
(Reading database ... 625422 files and directories currently installed.)
Removing libgl1-diversions ...
Removing 'diversion of /usr/lib/libGL.so.1.2 to /usr/lib/mesa-diverted/libGL.so.1.2 by libgl1-diversions'
Removing 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1.2 to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1.2 by libgl1-diversions'
Removing 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1.2 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1.2 by libgl1-diversions'
Removing 'diversion of /usr/lib/libGL.so.1 to /usr/lib/mesa-diverted/libGL.so.1 by libgl1-diversions'
Removing 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1 to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1 by libgl1-diversions'
Removing 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1 by libgl1-diversions'
dpkg-divert: error: rename involves overwriting `/usr/lib/x86_64-linux-gnu/libGL.so.1' with
  different file `/usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1', not allowed
dpkg: error processing libgl1-diversions (--remove):
 subprocess installed post-removal script returned error exit status 2
configured to not write apport reports
                                      Removing libglx-diversions ...
Removing 'diversion of /usr/lib/debug/usr/lib/xorg/modules/extensions/libglx.so to /usr/lib/mesa-diverted/libglx.so.dbg by libglx-diversions'
Removing 'diversion of /usr/lib/xorg/modules/extensions/libglx.so to /usr/lib/mesa-diverted/libglx.so by libglx-diversions'
Errors were encountered while processing:
 libgl1-diversions
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Press return to continue.

(Reading database ... 625408 files and directories currently installed.)
Removing libgl1-diversions ...
No diversion 'diversion of /usr/lib/libGL.so.1.2 to /usr/lib/mesa-diverted/libGL.so.1.2 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1.2 to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1.2 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1.2 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1.2 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/libGL.so.1 to /usr/lib/mesa-diverted/libGL.so.1 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1 to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1 by libgl1-diversions', none removed.
Removing 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1 by libgl1-diversions'
dpkg-divert: error: rename involves overwriting `/usr/lib/x86_64-linux-gnu/libGL.so.1' with
  different file `/usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1', not allowed
dpkg: error processing libgl1-diversions (--remove):
 subprocess installed post-removal script returned error exit status 2
configured to not write apport reports
                                      Errors were encountered while processing:
 libgl1-diversions
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Press return to continue.

(Reading database ... 625408 files and directories currently installed.)
Removing libgl1-diversions ...
No diversion 'diversion of /usr/lib/libGL.so.1.2 to /usr/lib/mesa-diverted/libGL.so.1.2 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1.2 to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1.2 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1.2 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1.2 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/libGL.so.1 to /usr/lib/mesa-diverted/libGL.so.1 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1 to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1 by libgl1-diversions', none removed.
Removing 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1 by libgl1-diversions'
dpkg-divert: error: rename involves overwriting `/usr/lib/x86_64-linux-gnu/libGL.so.1' with
  different file `/usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1', not allowed
dpkg: error processing libgl1-diversions (--remove):
 subprocess installed post-removal script returned error exit status 2
configured to not write apport reports
                                      Removing nvidia-installer-cleanup ...
Errors were encountered while processing:
 libgl1-diversions
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Press return to continue.


                                   
Extracting templates from packages: 100%
(Reading database ... 625439 files and directories currently installed.)
Removing libgl1-diversions ...
Removing 'diversion of /usr/lib/libGL.so.1.2 to /usr/lib/mesa-diverted/libGL.so.1.2 by libgl1-diversions'
Removing 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1.2 to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1.2 by libgl1-diversions'
Removing 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1.2 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1.2 by libgl1-diversions'
Removing 'diversion of /usr/lib/libGL.so.1 to /usr/lib/mesa-diverted/libGL.so.1 by libgl1-diversions'
Removing 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1 to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1 by libgl1-diversions'
Removing 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1 by libgl1-diversions'
dpkg-divert: error: rename involves overwriting `/usr/lib/x86_64-linux-gnu/libGL.so.1' with
  different file `/usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1', not allowed
dpkg: error processing libgl1-diversions (--remove):
 subprocess installed post-removal script returned error exit status 2
configured to not write apport reports
                                      Errors were encountered while processing:
 libgl1-diversions
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Press return to continue.

Extracting templates from packages: 100%
(Reading database ... 625429 files and directories currently installed.)
Removing libgl1-diversions ...
No diversion 'diversion of /usr/lib/libGL.so.1.2 to /usr/lib/mesa-diverted/libGL.so.1.2 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1.2 to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1.2 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1.2 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1.2 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/libGL.so.1 to /usr/lib/mesa-diverted/libGL.so.1 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1 to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1 by libgl1-diversions', none removed.
Removing 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1 by libgl1-diversions'
dpkg-divert: error: rename involves overwriting `/usr/lib/x86_64-linux-gnu/libGL.so.1' with
  different file `/usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1', not allowed
dpkg: error processing libgl1-diversions (--remove):
 subprocess installed post-removal script returned error exit status 2
configured to not write apport reports
                                      Errors were encountered while processing:
 libgl1-diversions
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Press return to continue.


Errors were encountered while processing:
 glx-diversions
 glx-alternative-mesa
Press return to continue.

(Reading database ... 625440 files and directories currently installed.)
Removing libgl1-diversions ...
No diversion 'diversion of /usr/lib/libGL.so.1.2 to /usr/lib/mesa-diverted/libGL.so.1.2 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1.2 to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1.2 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1.2 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1.2 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/libGL.so.1 to /usr/lib/mesa-diverted/libGL.so.1 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1 to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1 by libgl1-diversions', none removed.
Removing 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1 by libgl1-diversions'
dpkg-divert: error: rename involves overwriting `/usr/lib/x86_64-linux-gnu/libGL.so.1' with
  different file `/usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1', not allowed
dpkg: error processing libgl1-diversions (--remove):
 subprocess installed post-removal script returned error exit status 2
configured to not write apport reports
                                      Errors were encountered while processing:
 libgl1-diversions
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up glx-diversions (0.1) ...
Leaving 'diversion of /usr/lib/libGL.so to /usr/lib/mesa-diverted/libGL.so by glx-diversions'
dpkg-divert: error: `diversion of /usr/lib/i386-linux-gnu/libGL.so to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so by glx-diversions' clashes with `diversion of /usr/lib/i386-linux-gnu/libGL.so to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so by libgl1-diversions'
dpkg: error processing glx-diversions (--configure):
 subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of glx-alternative-mesa:
 glx-alternative-mesa depends on glx-diversions; however:
  Package glx-diversions is not configured yet.
dpkg: error processing glx-alternative-mesa (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 glx-diversions
 glx-alternative-mesa
Press return to continue.

celsius:/var/cache/apt/archives# df -h ;unset http_proxy &&unset HTTP_PROXY &&aptitude update ;aptitude -t experimental ;aptitude clean ;df -h ;df -hi ;date
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1             142G  122G   13G  91% /
tmpfs                 5.0M  4.0K  5.0M   1% /lib/init/rw
tmpfs                 1.6G  628K  1.6G   1% /run
udev                  1.6G     0  1.6G   0% /dev
tmpfs                 1.6G  628K  1.6G   1% /run/shm
Hit http://ftp2.de.debian.org sid InRelease
Hit http://ftp2.de.debian.org experimental InRelease
Hit http://ftp2.de.debian.org sid/main Sources/DiffIndex
Hit http://ftp2.de.debian.org sid/contrib Sources/DiffIndex
Hit http://ftp2.de.debian.org sid/non-free Sources/DiffIndex
Hit http://ftp2.de.debian.org sid/main amd64 Packages/DiffIndex
Hit http://ftp2.de.debian.org sid/contrib amd64 Packages/DiffIndex
Hit http://ftp2.de.debian.org sid/non-free amd64 Packages/DiffIndex
Ign http://ftp2.de.debian.org sid/contrib TranslationIndex
Hit http://ftp2.de.debian.org sid/main TranslationIndex
Ign http://ftp2.de.debian.org sid/non-free TranslationIndex
Hit http://ftp2.de.debian.org experimental/main Sources/DiffIndex
Hit http://ftp2.de.debian.org experimental/contrib Sources/DiffIndex
Hit http://ftp2.de.debian.org experimental/non-free Sources/DiffIndex
Hit http://ftp2.de.debian.org experimental/main amd64 Packages/DiffIndex
Hit http://ftp2.de.debian.org experimental/contrib amd64 Packages/DiffIndex
Hit http://ftp2.de.debian.org experimental/non-free amd64 Packages/DiffIndex
Ign http://ftp2.de.debian.org experimental/contrib TranslationIndex
Ign http://ftp2.de.debian.org experimental/main TranslationIndex
Ign http://ftp2.de.debian.org experimental/non-free TranslationIndex
Ign http://ftp2.de.debian.org sid/contrib Translation-en_US
Ign http://ftp2.de.debian.org sid/contrib Translation-en
Ign http://ftp2.de.debian.org sid/non-free Translation-en_US
Ign http://ftp2.de.debian.org sid/non-free Translation-en
Ign http://ftp2.de.debian.org experimental/contrib Translation-en_US
Ign http://ftp2.de.debian.org experimental/contrib Translation-en
Ign http://ftp2.de.debian.org experimental/main Translation-en_US
Ign http://ftp2.de.debian.org experimental/main Translation-en
Ign http://ftp2.de.debian.org experimental/non-free Translation-en_US
Ign http://ftp2.de.debian.org experimental/non-free Translation-en
                                   
(Reading database ... 625479 files and directories currently installed.)
Removing libgl1-diversions ...
No diversion 'diversion of /usr/lib/libGL.so.1.2 to /usr/lib/mesa-diverted/libGL.so.1.2 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1.2 to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1.2 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1.2 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1.2 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/libGL.so.1 to /usr/lib/mesa-diverted/libGL.so.1 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1 to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1 by libgl1-diversions', none removed.
Removing 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1 by libgl1-diversions'
dpkg-divert: error: rename involves overwriting `/usr/lib/x86_64-linux-gnu/libGL.so.1' with
  different file `/usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1', not allowed
dpkg: error processing libgl1-diversions (--purge):
 subprocess installed post-removal script returned error exit status 2
configured to not write apport reports
                                      Removing linux-headers-3.0.0-rc3-all ...
Errors were encountered while processing:
 libgl1-diversions
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up glx-diversions (0.1) ...
Leaving 'diversion of /usr/lib/libGL.so to /usr/lib/mesa-diverted/libGL.so by glx-diversions'
dpkg-divert: error: `diversion of /usr/lib/i386-linux-gnu/libGL.so to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so by glx-diversions' clashes with `diversion of /usr/lib/i386-linux-gnu/libGL.so to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so by libgl1-diversions'
dpkg: error processing glx-diversions (--configure):
 subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of glx-alternative-mesa:
 glx-alternative-mesa depends on glx-diversions; however:
  Package glx-diversions is not configured yet.
dpkg: error processing glx-alternative-mesa (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 glx-diversions
 glx-alternative-mesa
Press return to continue.
^C
celsius:/var/cache/apt/archives# ll
total 76
-rw-r--r-- 1 root root 67172 Jun 25 10:47 flvmeta_1.1~r230-1_amd64.deb
drwxr-xr-x 2 root root    40 Jun 25 19:12 partial
celsius:/var/cache/apt/archives# dpkg -EGi *.deb
(Reading database ... 625477 files and directories currently installed.)
Preparing to replace flvmeta 1.1~r221-1 (using flvmeta_1.1~r230-1_amd64.deb) ...
Unpacking replacement flvmeta ...
Setting up flvmeta (1.1~r230-1) ...
Processing triggers for bash-completion ...
Processing triggers for man-db ...
celsius:/var/cache/apt/archives# aptitude clean ;df -h ;df -hi ;date
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1             142G  122G   13G  91% /
tmpfs                 5.0M  4.0K  5.0M   1% /lib/init/rw
tmpfs                 1.6G  628K  1.6G   1% /run
udev                  1.6G     0  1.6G   0% /dev
tmpfs                 1.6G  628K  1.6G   1% /run/shm
Filesystem            Inodes   IUsed   IFree IUse% Mounted on
/dev/sda1               9.0M    4.1M    4.9M   46% /
tmpfs                   410K       8    410K    1% /lib/init/rw
tmpfs                   410K     247    409K    1% /run
udev                    408K     486    407K    1% /dev
tmpfs                   410K     247    409K    1% /run/shm
Sat Jun 25 19:13:03 CEST 2011
celsius:/var/cache/apt/archives# dpkg -P libgl1-diversions
(Reading database ... 625476 files and directories currently installed.)
Removing libgl1-diversions ...
No diversion 'diversion of /usr/lib/libGL.so.1.2 to /usr/lib/mesa-diverted/libGL.so.1.2 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1.2 to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1.2 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1.2 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1.2 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/libGL.so.1 to /usr/lib/mesa-diverted/libGL.so.1 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1 to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1 by libgl1-diversions', none removed.
Removing 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1 by libgl1-diversions'
dpkg-divert: error: rename involves overwriting `/usr/lib/x86_64-linux-gnu/libGL.so.1' with
  different file `/usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1', not allowed
dpkg: error processing libgl1-diversions (--purge):
 subprocess installed post-removal script returned error exit status 2
Errors were encountered while processing:
 libgl1-diversions
celsius:/var/cache/apt/archives# dpkg -P --force-all  libgl1-diversions
(Reading database ... 625476 files and directories currently installed.)
Removing libgl1-diversions ...
No diversion 'diversion of /usr/lib/libGL.so.1.2 to /usr/lib/mesa-diverted/libGL.so.1.2 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1.2 to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1.2 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1.2 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1.2 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/libGL.so.1 to /usr/lib/mesa-diverted/libGL.so.1 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1 to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1 by libgl1-diversions', none removed.
Removing 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1 by libgl1-diversions'
dpkg-divert: error: rename involves overwriting `/usr/lib/x86_64-linux-gnu/libGL.so.1' with
  different file `/usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1', not allowed
dpkg: error processing libgl1-diversions (--purge):
 subprocess installed post-removal script returned error exit status 2
Errors were encountered while processing:
 libgl1-diversions
celsius:/var/cache/apt/archives# dpkg -P --force-all  libgl1-diversions  libglx-diversions
(Reading database ... 625476 files and directories currently installed.)
Removing libgl1-diversions ...
No diversion 'diversion of /usr/lib/libGL.so.1.2 to /usr/lib/mesa-diverted/libGL.so.1.2 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1.2 to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1.2 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1.2 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1.2 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/libGL.so.1 to /usr/lib/mesa-diverted/libGL.so.1 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1 to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1 by libgl1-diversions', none removed.
Removing 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1 by libgl1-diversions'
dpkg-divert: error: rename involves overwriting `/usr/lib/x86_64-linux-gnu/libGL.so.1' with
  different file `/usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1', not allowed
dpkg: error processing libgl1-diversions (--purge):
 subprocess installed post-removal script returned error exit status 2
Removing libglx-diversions ...
Purging configuration files for libglx-diversions ...
Errors were encountered while processing:
 libgl1-diversions
celsius:/var/cache/apt/archives# dpkg -P --force-all  --force-conflicts  libgl1-diversions  libglx-diversions
(Reading database ... 625476 files and directories currently installed.)
Removing libgl1-diversions ...
No diversion 'diversion of /usr/lib/libGL.so.1.2 to /usr/lib/mesa-diverted/libGL.so.1.2 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1.2 to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1.2 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1.2 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1.2 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/libGL.so.1 to /usr/lib/mesa-diverted/libGL.so.1 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1 to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1 by libgl1-diversions', none removed.
Removing 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1 by libgl1-diversions'
dpkg-divert: error: rename involves overwriting `/usr/lib/x86_64-linux-gnu/libGL.so.1' with
  different file `/usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1', not allowed
dpkg: error processing libgl1-diversions (--purge):
 subprocess installed post-removal script returned error exit status 2
dpkg: warning: ignoring request to remove libglx-diversions which isn't installed.
Errors were encountered while processing:
 libgl1-diversions
celsius:/var/cache/apt/archives# dpkg -P --force-all  --force-conflicts  --force-depends  libgl1-diversions  libglx-diversions
(Reading database ... 625476 files and directories currently installed.)
Removing libgl1-diversions ...
No diversion 'diversion of /usr/lib/libGL.so.1.2 to /usr/lib/mesa-diverted/libGL.so.1.2 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1.2 to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1.2 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1.2 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1.2 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/libGL.so.1 to /usr/lib/mesa-diverted/libGL.so.1 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1 to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1 by libgl1-diversions', none removed.
Removing 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1 by libgl1-diversions'
dpkg-divert: error: rename involves overwriting `/usr/lib/x86_64-linux-gnu/libGL.so.1' with
  different file `/usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1', not allowed
dpkg: error processing libgl1-diversions (--purge):
 subprocess installed post-removal script returned error exit status 2
dpkg: warning: ignoring request to remove libglx-diversions which isn't installed.
Errors were encountered while processing:
 libgl1-diversions
celsius:/var/cache/apt/archives# dpkg -P --force-all  --force-conflicts  --force-depends  libglx-diversions
dpkg: warning: ignoring request to remove libglx-diversions which isn't installed.
celsius:/var/cache/apt/archives# dpkg -P --force-all  --force-conflicts  --force-depends  libgl1-diversions
(Reading database ... 625476 files and directories currently installed.)
Removing libgl1-diversions ...
No diversion 'diversion of /usr/lib/libGL.so.1.2 to /usr/lib/mesa-diverted/libGL.so.1.2 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1.2 to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1.2 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1.2 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1.2 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/libGL.so.1 to /usr/lib/mesa-diverted/libGL.so.1 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1 to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1 by libgl1-diversions', none removed.
Removing 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1 by libgl1-diversions'
dpkg-divert: error: rename involves overwriting `/usr/lib/x86_64-linux-gnu/libGL.so.1' with
  different file `/usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1', not allowed
dpkg: error processing libgl1-diversions (--purge):
 subprocess installed post-removal script returned error exit status 2
Errors were encountered while processing:
 libgl1-diversions
celsius:/var/cache/apt/archives# dpkg -P --force-all  --force-conflicts  --force-depends  --force-remove-reinstreq libglx-diversions
dpkg: warning: ignoring request to remove libglx-diversions which isn't installed.
celsius:/var/cache/apt/archives# dpkg -P --force-all  --force-conflicts  --force-depends  --force-remove-reinstreq libgl1-diversions 
(Reading database ... 625476 files and directories currently installed.)
Removing libgl1-diversions ...
No diversion 'diversion of /usr/lib/libGL.so.1.2 to /usr/lib/mesa-diverted/libGL.so.1.2 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1.2 to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1.2 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1.2 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1.2 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/libGL.so.1 to /usr/lib/mesa-diverted/libGL.so.1 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1 to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1 by libgl1-diversions', none removed.
Removing 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1 by libgl1-diversions'
dpkg-divert: error: rename involves overwriting `/usr/lib/x86_64-linux-gnu/libGL.so.1' with
  different file `/usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1', not allowed
dpkg: error processing libgl1-diversions (--purge):
 subprocess installed post-removal script returned error exit status 2
Errors were encountered while processing:
 libgl1-diversions
celsius:/var/cache/apt/archives# dpkg -P --force-all  --force-conflicts  --force-depends  --force-remove-reinstreq --force-overwrite-diverted  libgl1-diversions 
(Reading database ... 625476 files and directories currently installed.)
Removing libgl1-diversions ...
No diversion 'diversion of /usr/lib/libGL.so.1.2 to /usr/lib/mesa-diverted/libGL.so.1.2 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1.2 to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1.2 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1.2 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1.2 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/libGL.so.1 to /usr/lib/mesa-diverted/libGL.so.1 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1 to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1 by libgl1-diversions', none removed.
Removing 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1 by libgl1-diversions'
dpkg-divert: error: rename involves overwriting `/usr/lib/x86_64-linux-gnu/libGL.so.1' with
  different file `/usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1', not allowed
dpkg: error processing libgl1-diversions (--purge):
 subprocess installed post-removal script returned error exit status 2
Errors were encountered while processing:
 libgl1-diversions
celsius:/var/cache/apt/archives# dpkg -P --force-all  --force-conflicts  --force-depends  --force-remove-reinstreq --force-overwrite-diverted --force-confmiss  libgl1-diversions 
(Reading database ... 625476 files and directories currently installed.)
Removing libgl1-diversions ...
No diversion 'diversion of /usr/lib/libGL.so.1.2 to /usr/lib/mesa-diverted/libGL.so.1.2 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1.2 to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1.2 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1.2 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1.2 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/libGL.so.1 to /usr/lib/mesa-diverted/libGL.so.1 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1 to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1 by libgl1-diversions', none removed.
Removing 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1 by libgl1-diversions'
dpkg-divert: error: rename involves overwriting `/usr/lib/x86_64-linux-gnu/libGL.so.1' with
  different file `/usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1', not allowed
dpkg: error processing libgl1-diversions (--purge):
 subprocess installed post-removal script returned error exit status 2
Errors were encountered while processing:
 libgl1-diversions
celsius:/var/cache/apt/archives# dpkg -L libgl1-diversions 
Package `libgl1-diversions' does not contain any files (!)
celsius:/var/cache/apt/archives# dpkg -l libgl1-diversions 
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                                         Version                                                      Description
+++-============================================================-============================================================-========================================================================================================================================
pH  libgl1-diversions                                            0.0.0                                                        simplifies replacing MESA libGL with GPU vendor libraries
celsius:/var/cache/apt/archives# ll /usr/lib/mesa-diverted/
i386-linux-gnu/   x86_64-linux-gnu/ 
celsius:/var/cache/apt/archives# ll /usr/lib/mesa-diverted/
total 8
drwxr-xr-x 2 root root 4096 Jun 23 23:28 i386-linux-gnu
drwxr-xr-x 2 root root 4096 Jun 25 19:45 x86_64-linux-gnu
celsius:/var/cache/apt/archives# ll /usr/lib/mesa-diverted/x86_64-linux-gnu/
total 0
lrwxrwxrwx 1 root root 10 Jun 19 22:06 libGL.so -> libGL.so.1
lrwxrwxrwx 1 root root 12 Jun 19 22:06 libGL.so.1 -> libGL.so.1.2
celsius:/var/cache/apt/archives# ll /usr/lib/mesa-diverted/x86_64-linux-gnu/*
lrwxrwxrwx 1 root root 10 Jun 19 22:06 /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so -> libGL.so.1
lrwxrwxrwx 1 root root 12 Jun 19 22:06 /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1 -> libGL.so.1.2
celsius:/var/cache/apt/archives# dpkg -S /usr/lib/mesa-diverted/x86_64-linux-gnu/*
diversion by libgl1-diversions from: /usr/lib/x86_64-linux-gnu/libGL.so
diversion by libgl1-diversions to: /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so
diversion by libgl1-diversions from: /usr/lib/x86_64-linux-gnu/libGL.so.1
diversion by libgl1-diversions to: /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1
celsius:/var/cache/apt/archives# dpkg -S /usr/lib/x86_64-linux-gnu/libGL.so.1 /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so
diversion by libgl1-diversions from: /usr/lib/x86_64-linux-gnu/libGL.so.1
diversion by libgl1-diversions to: /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1
libgl1-mesa-glx: /usr/lib/x86_64-linux-gnu/libGL.so.1
diversion by libgl1-diversions from: /usr/lib/x86_64-linux-gnu/libGL.so
diversion by libgl1-diversions to: /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so
celsius:/var/cache/apt/archives# dpkg-divert  libgl1-diversions 
dpkg-divert: error: filename "libgl1-diversions" is not absolute

Use --help for help about querying packages.
celsius:/var/cache/apt/archives# dpkg-divert --help  #libgl1-diversions 
Usage: dpkg-divert [<option> ...] <command>

Commands:
  [--add] <file>           add a diversion.
  --remove <file>          remove the diversion.
  --list [<glob-pattern>]  show file diversions.
  --listpackage <file>     show what package diverts the file.
  --truename <file>        return the diverted file.

Options:
  --package <package>      name of the package whose copy of <file> will not
                             be diverted.
  --local                  all packages' versions are diverted.
  --divert <divert-to>     the name used by other packages' versions.
  --rename                 actually move the file aside (or back).
  --admindir <directory>   set the directory with the diversions file.
  --test                   don't do anything, just demonstrate.
  --quiet                  quiet operation, minimal output.
  --help                   show this help message.
  --version                show the version.

When adding, default is --local and --divert <original>.distrib.
When removing, --package or --local and --divert must match if specified.
Package preinst/postrm scripts should always specify --package and --divert.
celsius:/var/cache/apt/archives# dpkg-divert  --list  libgl1-diversions 
diversion of /usr/lib/i386-linux-gnu/libGL.so to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so by libgl1-diversions
diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1 by libgl1-diversions
diversion of /usr/lib/x86_64-linux-gnu/libGL.so to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so by libgl1-diversions
celsius:/var/cache/apt/archives# dpkg-divert --rename --remove --test libgl1-diversions
No diversion 'any diversion of libgl1-diversions', none removed.
celsius:/var/cache/apt/archives# dpkg-divert --rename --remove  libgl1-diversions
No diversion 'any diversion of libgl1-diversions', none removed.
celsius:/var/cache/apt/archives# dpkg-divert --rename --remove --test --package libgl1-diversions
dpkg-divert: error: --remove needs a single argument

Use --help for help about querying packages.
celsius:/var/cache/apt/archives# dpkg-divert --rename --test --package  --remove libgl1-diversions
dpkg-divert: error: filename "libgl1-diversions" is not absolute

Use --help for help about querying packages.
celsius:/var/cache/apt/archives# dpkg-divert --test --package  --remove libgl1-diversions
dpkg-divert: error: filename "libgl1-diversions" is not absolute

Use --help for help about querying packages.
celsius:/var/cache/apt/archives# dpkg-divert --test --package libgl1-diversions
dpkg-divert: error: --add needs a single argument

Use --help for help about querying packages.
celsius:/var/cache/apt/archives# dpkg-divert --test  --remove  --package libgl1-diversions
dpkg-divert: error: --remove needs a single argument

Use --help for help about querying packages.
celsius:/var/cache/apt/archives# dpkg-divert --test  --remove libgl1-diversions
No diversion 'any diversion of libgl1-diversions', none removed.
celsius:/var/cache/apt/archives# dpkg -P --force-all  --force-conflicts  --force-depends  --force-remove-reinstreq --force-overwrite-diverted --force-confmiss  libgl1-diversions 
(Reading database ... 625476 files and directories currently installed.)
Removing libgl1-diversions ...
No diversion 'diversion of /usr/lib/libGL.so.1.2 to /usr/lib/mesa-diverted/libGL.so.1.2 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1.2 to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1.2 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1.2 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1.2 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/libGL.so.1 to /usr/lib/mesa-diverted/libGL.so.1 by libgl1-diversions', none removed.
No diversion 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1 to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1 by libgl1-diversions', none removed.
Removing 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1 by libgl1-diversions'
dpkg-divert: error: rename involves overwriting `/usr/lib/x86_64-linux-gnu/libGL.so.1' with
  different file `/usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1', not allowed
dpkg: error processing libgl1-diversions (--purge):
 subprocess installed post-removal script returned error exit status 2
Errors were encountered while processing:
 libgl1-diversions
celsius:/var/cache/apt/archives# 
arnt at celsius:~$ 



-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

celsius:/var/cache/apt/archives# lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:01.0 PCI bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express PCI Express Root Port (rev 03)
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 02)
00:1c.3 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 4 (rev 02)
00:1d.0 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)
00:1f.2 SATA controller: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA AHCI Controller (rev 02)
00:1f.3 SMBus: Intel Corporation N10/ICH 7 Family SMBus Controller (rev 02)
01:00.0 VGA compatible controller: ATI Technologies Inc M56GL [Mobility FireGL V5200]
02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8055 PCI-E Gigabit Ethernet Controller (rev 12)
06:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
08:03.0 CardBus bridge: O2 Micro, Inc. OZ711MP1/MS1 MemoryCardBus Controller (rev 21)
08:03.1 CardBus bridge: O2 Micro, Inc. OZ711MP1/MS1 MemoryCardBus Controller (rev 21)
08:03.2 SD Host controller: O2 Micro, Inc. Integrated MMC/SD Controller (rev 01)
08:03.3 Bridge: O2 Micro, Inc. Integrated MS/xD Controller (rev 01)
08:03.4 FireWire (IEEE 1394): O2 Micro, Inc. Firewire (IEEE 1394) (rev 02)
celsius:/var/cache/apt/archives# 


Kernel: Linux 3.0.0-rc4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages glx-diversions depends on:
ii  dpkg                          1.16.0.3   Debian package management system
ii  nvidia-installer-cleanup      20110515+1 Cleanup after driver installation 

Versions of packages glx-diversions recommends:
iu  glx-alternative-mesa          0.1.2      allows the selection of MESA as GL

glx-diversions suggests no packages.

-- no debconf information





More information about the pkg-nvidia-devel mailing list