Bug#632742: dpkg-divert: error: rename involves overwriting `/usr/lib/xorg/modules/extensions/libglx.so'

Anthony DeRobertis anthony at derobert.net
Tue Jul 5 15:51:21 UTC 2011


Package: libglx-nvidia-alternatives
Version: 270.41.19-1
Severity: normal

This is during an aptitude upgrade:

Preconfiguring packages ...
dpkg: libglx-nvidia-alternatives: dependency problems, but removing anyway as you requested:
 nvidia-glx depends on libglx-nvidia-alternatives.
(Reading database ... 364294 files and directories currently installed.)
Removing libglx-nvidia-alternatives ...
No diversion 'diversion of /usr/lib/debug/usr/lib/xorg/modules/extensions/libglx.so to /usr/lib/nvidia/diversions/libglx.so.dbg by libglx-nvidia-alternatives', none removed.
Removing 'diversion of /usr/lib/xorg/modules/extensions/libglx.so to /usr/lib/nvidia/diversions/libglx.so by libglx-nvidia-alternatives'
dpkg-divert: error: rename involves overwriting `/usr/lib/xorg/modules/extensions/libglx.so' with
  different file `/usr/lib/nvidia/diversions/libglx.so', not allowed
dpkg: error processing libglx-nvidia-alternatives (--remove):
 subprocess installed post-removal script returned error exit status 2
configured to not write apport reports
                                      Errors were encountered while processing:
 libglx-nvidia-alternatives
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Press return to continue.

I removed /usr/lib/xorg/modules/extensions/libglx.so (which was a
symlink in to /etc/alternatives), then the error went away.

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

Kernel: Linux 2.6.39-2-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 libglx-nvidia-alternatives depends on:
ii  dpkg                          1.16.0.3   Debian package management system
ii  nvidia-installer-cleanup      20110515+1 Cleanup after driver installation 

libglx-nvidia-alternatives recommends no packages.

libglx-nvidia-alternatives suggests no packages.

-- no debconf information





More information about the pkg-nvidia-devel mailing list