Comment 2 for bug 839369

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

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
ls -ld /usr/share/foomatic
dpkg -L foomatic-db-engine | grep '/usr/share/foomatic$'
dpkg -c /var/cache/apt/archives/foomatic-filters_*.deb | grep '/usr/share/foomatic/$'
dpkg -c /var/cache/apt/archives/partial/foomatic-filters_*.deb | grep '/usr/share/foomatic/$'
dpkg -c /var/cache/apt/archives/foomatic-db-engine_*.deb | grep '/usr/share/foomatic/$'

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