The officially official Devuan Forum!

You are not logged in.

#1 2025-03-01 09:42:28

unixuser
Member
Registered: 2024-09-13
Posts: 21  

[SOLVED] dpkg error while update

Hi,

I got this error :

Errors were encountered while processing:
 /tmp/apt-dpkg-install-NFWtHn/8-libc6_2.41-2_i386.deb
Error: Sub-process /usr/bin/dpkg returned an error code (1)

so I deleted /tmp/files, did a "apt --fix-broken install"

Gave me this :

dpkg: error processing archive /var/cache/apt/archives/libc6_2.41-2_i386.deb (--unpack):
 trying to overwrite shared '/usr/share/lintian/overrides/libc6', which is different from other instances of package libc6:i386
Errors were encountered while processing:
 /var/cache/apt/archives/libc6_2.41-2_i386.deb
Error: Sub-process /usr/bin/dpkg returned an error code (1)

So I stopped before a disaster and come here to get help

Offline

#2 2025-03-01 11:37:49

ralph.ronnquist
Administrator
From: Battery Point, Tasmania, AUS
Registered: 2016-11-30
Posts: 1,340  

Re: [SOLVED] dpkg error while update

Probably it gets sorted with an initial

dpkg -i --force-overwrite /var/cache/apt/archives/libc6_2.41-2_i386.deb

or if you use --force-all rather than --force-overwrite.

Thereafter follow up with a new

apt-get -f install

But you should have a live disk at hand, just in case things go badly.

Offline

#3 2025-03-01 13:12:15

unixuser
Member
Registered: 2024-09-13
Posts: 21  

Re: [SOLVED] dpkg error while update

OK done,

dpkg -i --force-overwrite /var/cache/apt/archives/libc6_2.41-2_i386.deb

&

apt-get -f install

with no problem, I did fear a lot while this comp is full a important data for me.

Thanks

Offline

#4 2025-03-01 13:27:41

hacksenwerk
Member
From: Europe
Registered: 2022-02-10
Posts: 24  

Re: [SOLVED] dpkg error while update

What did you fear? Dataloss? If so do redundant backups! hmm

Offline

#5 2025-03-01 14:18:49

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,564  

Re: [SOLVED] dpkg error while update

In addition to backing up your data, you probably should think about moving it to a system that has continued support for the kernel and maybe a system that isn't changing as rapidly as ceres.

Which kernel are you using? Did you manage to get the last one before they removed the 32-bit kernels from ceres? I believe that was 6.10.9. Do you have an alternate strategy for dealing with kernel patches? If so, those of us with old machines would like to know more.

Offline

#6 2025-03-01 16:18:56

unixuser
Member
Registered: 2024-09-13
Posts: 21  

Re: [SOLVED] dpkg error while update

Sorry to disappoint you, but I'm using 64bit kernel :

Linux tinpatrick 6.12.16-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.16-1 (2025-02-22) x86_64 GNU/Linux

I think this 32bit lib is used for steam...

Yes, I really need to backup my stuff...

Offline

Board footer