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

Author Topic: dpkg: error processing archive /var/cache/apt/archives/libjpeg-progs -- FIX  (Read 6683 times)

Offline GeneC

  • Full Member
  • ***
  • Posts: 129
Upgrade error today...
Code: [Select]
(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..

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

Offline py-thon

  • Jr. Member
  • **
  • Posts: 78
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 run
Code: [Select]
aptitude 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 64bit MATE

Offline GeneC

  • Full Member
  • ***
  • Posts: 129

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

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

Code: [Select]
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