trying "sudo apt-get install nxagent" package libxcompshad3 not installed failed to install/upgrade: trying to overwrite /usr/lib/libXcompshad.so.3 , which is also in package libxcompshad 0:3.2.0-1hardy1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nxcompshad (Ubuntu) |
Invalid
|
Low
|
Unassigned |
Bug Description
Was being installed as a dependency of nxagent, but failed.
rmallins@
Description: Ubuntu 9.10
Release: 9.10
rmallins@
rmallins@
libxcompshad3:
Installed: (none)
Candidate: 3.3.0-3-0ubuntu1
Version table:
3.
500 http://
3.
500 http://
rmallins@
full attempted install:
rmallins@
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 extra packages will be installed:
libxcompshad3
The following NEW packages will be installed
libxcompshad3
The following packages will be upgraded:
nxagent
1 upgraded, 1 newly installed, 0 to remove and 5 not upgraded.
Need to get 2,126kB of archives.
After this operation, 340kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get: 1 http://
Get: 2 http://
Fetched 2,126kB in 2s (986kB/s)
Selecting previously deselected package libxcompshad3.
(Reading database ... 284527 files and directories currently installed.)
Unpacking libxcompshad3 (from .../libxcompsha
dpkg: error processing /var/cache/
trying to overwrite '/usr/lib/
Preparing to replace nxagent 3.2.0-1hardy1 (using .../nxagent_
Unpacking replacement nxagent ...
Processing triggers for man-db ...
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
rmallins@
ProblemType: Package
AptOrdering:
libxcompshad3: Install
nxagent: Install
libxcompshad3: Configure
nxagent: Configure
Architecture: amd64
Date: Tue Nov 10 22:18:22 2009
DistroRelease: Ubuntu 9.10
ErrorMessage: trying to overwrite '/usr/lib/
Package: libxcompshad3 (not installed)
ProcVersionSign
SourcePackage: nxcompshad
Title: package libxcompshad3 (not installed) failed to install/upgrade: trying to overwrite '/usr/lib/
Uname: Linux 2.6.31-14-generic x86_64
Thank you for opening this bug and helping make Ubuntu better. Looking at your description, I see that you are running Karmic, but
(1) trying to install a non-official package (nxagent, from a PPA);
(2) having, present in your system, an old version of libxcompshad, from Hardy.
Can you please tell us how (2) happened?