package foomatic-filters 4.0.4-0ubuntu1.1 failed to install/upgrade: tentative de remplacement de « /usr/share/foomatic », qui appartient aussi au paquet foomatic-db-engine 0:4.0.4-0ubuntu1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
foomatic-filters (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I got an update message, I confirmed the installation, the result was the error in installing the foomatic-filters pachage
ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: foomatic-filters 4.0.4-0ubuntu1
ProcVersionSign
Uname: Linux 2.6.32-33-generic x86_64
Architecture: amd64
CupsErrorLog:
Date: Fri Sep 2 09:06:00 2011
ErrorMessage: tentative de remplacement de « /usr/share/foomatic », qui appartient aussi au paquet foomatic-db-engine 0:4.0.4-0ubuntu1
Lpstat: device for Epson-Stylus-D92: dnssd:/
MachineType: Packard Bell EasyNote LJ65
Papersize: a4
PpdFiles: Epson-Stylus-D92: Epson Stylus D92 - CUPS+Gutenprint v5.2.5 Simplified
ProcCmdLine: root=UUID=
SourcePackage: foomatic-filters
Title: package foomatic-filters 4.0.4-0ubuntu1 failed to install/upgrade: tentative de remplacement de « /usr/share/foomatic », qui appartient aussi au paquet foomatic-db-engine 0:4.0.4-0ubuntu1
dmi.bios.date: 02/08/2010
dmi.bios.vendor: Packard Bell
dmi.bios.version: V2.09
dmi.board.
dmi.board.name: EasyNote LJ65
dmi.board.vendor: Packard Bell
dmi.board.version: V2.09
dmi.chassis.type: 10
dmi.chassis.vendor: Packard Bell
dmi.chassis.
dmi.modalias: dmi:bvnPackardB
dmi.product.name: EasyNote LJ65
dmi.product.
dmi.sys.vendor: Packard Bell
summary: |
- package foomatic-filters 4.0.4-0ubuntu1 failed to install/upgrade: + package foomatic-filters 4.0.4-0ubuntu1.1 failed to install/upgrade: tentative de remplacement de « /usr/share/foomatic », qui appartient aussi au paquet foomatic-db-engine 0:4.0.4-0ubuntu1 |
The package installation fails due to /usr/share/foomatic being in both foomatic-filters and foomatic-db-engine packages. This should only happen if /usr/share/foomatic is a regular file (not a directory) in at least one of the two packages. Directories can be part of more than one package, as the directory /usr/share/foomatic belongs to both foomatic-filters and foomatic-db-engine.
Can you run the following commands in a terminal window and post the output here?
dpkg -S /usr/share/foomatic foomatic$ ' apt/archives/ foomatic- filters_ *.deb | grep '/usr/share/ foomatic/ $' apt/archives/ partial/ foomatic- filters_ *.deb | grep '/usr/share/ foomatic/ $' apt/archives/ foomatic- db-engine_ *.deb | grep '/usr/share/ foomatic/ $'
ls -ld /usr/share/foomatic
dpkg -L foomatic-db-engine | grep '/usr/share/
dpkg -c /var/cache/
dpkg -c /var/cache/
dpkg -c /var/cache/
After having done so, try to recover via the commands:
sudo apt-get clean
sudo apt-get install -f
sudo apt-get install foomatic-filters