Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum

dpkg: error processing archive /var/cache/apt/archives/libjpeg-progs -- FIX

Started by GeneC, October 17, 2014, 01:52:36 PM

Previous topic - Next topic


Upgrade error today...
(Reading database ... 168824 files and directories currently installed.)
Preparing to unpack .../libjpeg-progs_1%3a9a-2_amd64.deb ...
Unpacking libjpeg-progs (1:9a-2) over (1:1.3.1-3) ...
dpkg: error processing archive /var/cache/apt/archives/libjpeg-progs_1%3a9a-2_amd64.deb (--unpack):
trying to overwrite '/usr/share/man/man1/djpeg.1.gz', which is also in package libjpeg-turbo-progs 1:1.3.1-3
Processing triggers for man-db ( ...
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)

This command will install it..

sudo dpkg -i --force-overwrite /var/cache/apt/archives/libjpeg-progs_1%3a9a-2_amd64.deb


According to Synaptic libjpeg-prog is "empty dummy package that depends on default JPEG library implementation.  It can be safely removed."
On my system it is not installed. Maybe you should runaptitude why libjpeg-prog to find out why it is installed. I suppose you could purge this package if you have libjpeg-turbo-progs installed.
See and
Tower and Notebook: Sparky (testing) 64bit MATE



In my case I need  libjpeg-turbo-progs for xscreensaver

Appears that libjpeg-prog is not needed. (best to check for your own systems)... ;)

gene@sid:~$ aptitude why libjpeg-prog
E: No package named "libjpeg-prog" exists.

gene@sid:~$ aptitude why libjpeg-turbo-progs
i   xscreensaver        Recommends libjpeg-progs
iBA libjpeg-turbo-progs Provides   libjpeg-progs

View the most recent posts on the forum