The officially official Devuan Forum!

You are not logged in.

#1 2022-12-06 22:44:47

deepforest
Member
Registered: 2020-03-24
Posts: 354  

[SOLVED] --fix-broken install

how to fix that?

root@devuan:/etc/apt# apt remove --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package install
root@devuan:/etc/apt# apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  libjpeg62-turbo
The following packages will be upgraded:
  libjpeg62-turbo
1 upgraded, 0 newly installed, 0 to remove and 112 not upgraded.
4 not fully installed or removed.
Need to get 0 B/169 kB of archives.
After this operation, 346 kB of additional disk space will be used.
Do you want to continue? [Y/n] 
Reading changelogs... Done
(Reading database ... 388635 files and directories currently installed.)
Preparing to unpack .../libjpeg62-turbo_1%3a2.1.2-1+b1_amd64.deb ...
Unpacking libjpeg62-turbo:amd64 (1:2.1.2-1+b1) over (1:1.3.1-12) ...
dpkg: error processing archive /var/cache/apt/archives/libjpeg62-turbo_1%3a2.1.2-1+b1_amd64.deb (--unpack):
 trying to overwrite shared '/usr/share/doc/libjpeg62-turbo/changelog.Debian.gz', which is different from other instances of package libjpeg62-turbo:amd64
Errors were encountered while processing:
 /var/cache/apt/archives/libjpeg62-turbo_1%3a2.1.2-1+b1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@devuan:/etc/apt# 

-=linux its buggy crap that have no antifool protection (c)=- smile
*linux is free software, and comes with ABSOLUTELY NO WARRANTY* smile
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+ smile

Offline

#2 2022-12-06 22:53:02

deepforest
Member
Registered: 2020-03-24
Posts: 354  

Re: [SOLVED] --fix-broken install

manually remove

/var/lib/dpkg/info

libjpeg62-turbo* 

-=linux its buggy crap that have no antifool protection (c)=- smile
*linux is free software, and comes with ABSOLUTELY NO WARRANTY* smile
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+ smile

Offline

Board footer