LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 02-27-2020, 02:27 PM   #1
thecowmilk
LQ Newbie
 
Registered: Oct 2019
Posts: 9

Rep: Reputation: Disabled
error processing archive /var/cache/apt/archives/libjpeg62-turbo-dev_1%3a1.3.1-12_amd64.deb (--unpack):


Hi all, today I did a regular `dist-upgrade` on my Ubuntu but it seems that some packages are not installed correctly.

Usually tend to fix them with the fix command but even with that command didn't fix anything.

Here is the whole output:

Code:
sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  libicu64 libjpeg-turbo8-dev
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libjpeg62-turbo-dev
The following NEW packages will be installed:
  libjpeg62-turbo-dev
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
2 not fully installed or removed.
Need to get 0 B/455 kB of archives.
After this operation, 2.802 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 219059 files and directories currently installed.)
Preparing to unpack .../libjpeg62-turbo-dev_1%3a1.3.1-12_amd64.deb ...
Unpacking libjpeg62-turbo-dev:amd64 (1:1.3.1-12) ...
dpkg: error processing archive /var/cache/apt/archives/libjpeg62-turbo-dev_1%3a1.3.1-12_amd64.deb (--unpack):
 trying to overwrite '/usr/include/jpeglib.h', which is also in package libjpeg-turbo8-dev:amd64 1.5.2-0ubuntu5.18.04.3
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/libjpeg62-turbo-dev_1%3a1.3.1-12_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Every help would be very appreciated
 
Old 02-28-2020, 07:03 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,518

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Welcome to LQ.

You can only have one libjpeg****-dev installed.
In the most Ubuntu versions the installed version is automatically removed when installing another libjpeg****-dev.

So please run $ sudo apt remove libjpeg-turbo8-dev
if you prefer 'libjpeg62-turbo-dev' as preferred development version.

-
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Errors while processing: /var/cache/apt/archives/apport_2.20.1-0ubuntu2.6_all.deb Kraken32 Linux - Newbie 1 07-26-2019 01:02 PM
Errors were encountered while processing: /var/cache/apt/archives/sane-utils_1.0.24-8+deb8u2_amd64.deb anmol26s Linux - Newbie 4 05-10-2017 02:45 AM
error processing /var/cache/apt/archives/cnijfilter-common_3.50-2ubuntu3_amd64.deb docklc Linux - Software 1 08-02-2011 02:40 PM
/var/cache/apt/archives/udvev-151-3-i386.deb ERROR Antiz Linux - Newbie 15 04-05-2010 02:19 PM
Where are my .deb packages from /var/cache/apt/archives? bruno buys Debian 3 02-13-2005 07:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 12:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration