You are not logged in.

#1 2020-07-20 15:58

Tolkem
Member
Registered: 2019-10-06
Posts: 487

upgrade issue (SOLVED)

Hi everyone! Hope you're all having a nice life! smile

Today I open konsole and ran update & upgrade and got this error

The following packages will be updated:
  libopenmpt-modplug1 libopenmpt0 qemu-kvm qemu-system-common qemu-system-data qemu-system-gui qemu-system-x86 qemu-utils
8 updated, 0 new will be installed, 0 to be removed and 1 not updated.
You need to download 8,873 kB of files.
An additional 6,144 B of disk space will be used after this operation.
Do you want to continue? Y/N] Y
Des:1 http://security.debian.org/debian-security buster/updates/main amd64 libopenmpt0 amd64 0.4.3-1+deb10u1 [627 kB]
Des:2 http://security.debian.org/debian-security buster/updates/main amd64 libopenmpt-modplug1 amd64 0.4.3-1+deb10u1 [37.2 kB]                                                               
Des:3 http://security.debian.org/debian-security buster/updates/main amd64 qemu-system-common amd64 1:3.1+dfsg-8+deb10u6 [989 kB]                                                            
Des:4 http://security.debian.org/debian-security buster/updates/main amd64 qemu-utils amd64 1:3.1+dfsg-8+deb10u6 [967 kB]                                                                    
Des:5 http://security.debian.org/debian-security buster/updates/main amd64 qemu-system-data all 1:3.1+dfsg-8+deb10u6 [191 kB]                                                                
Des:6 http://security.debian.org/debian-security buster/updates/main amd64 qemu-system-gui amd64 1:3.1+dfsg-8+deb10u6 [99.1 kB]                                                              
Des:7 http://security.debian.org/debian-security buster/updates/main amd64 qemu-system-x86 amd64 1:3.1+dfsg-8+deb10u6 [5,891 kB]                                                             
From:8 http://security.debian.org/debian-security buster/updates/main amd64 qemu-kvm amd64 1:3.1+dfsg-8+deb10u6 [72.2 kB]                                                                     
Downloaded 8,873 kB in 58s (153 kB/s)                                                                                                                                                       
dpkg-deb (sub-process): failure to create directory: Wrong message
dpkg-deb: error: the tar sub-process returned error output code 2
dpkg: error processing the file /var/cache/apt/archives/libopenmpt0_0.4.3-1+deb10u1_amd64.deb (--unpack):
 the dpkg-deb --control thread returned the error 2 output code
Errors were found in processing:
 /var/cache/apt/archives/libopenmpt0_0.4.3-1+deb10u1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

I removed the problematic pkg and tried again but it didn't worked. Cleaning apt's cache and running update & upgrade again, no joy. I thouhgt maybe that pkg was damaged and downloaded it from here https://packages.debian.org/buster/libopenmpt0 and attempted to install it but got this

loading files list file for package 'q4os-swcentre': cannot open /var/lib/dpkg/info/q4os-swcentre.list (structure needs cleaning)
E: Sub-process /usr/bin/dpkg returned an error code (2)

I tried removing "q4os-swcentre.list" and got this

rm: cannot delete '/var/lib/dpkg/info/q4os-swcentre.list': Structure needs cleaning

Tried a few other things  but none worked. By structure it means HDD's? Do I need to run fsck? Any help/advice is much appreciated. BTW, my system's in Spanish so I just translated that, hope the wording is correct. smile

Thanks!

Last edited by Tolkem (2020-07-21 01:00)

Offline

#2 2020-07-20 18:26

Tolkem
Member
Registered: 2019-10-06
Posts: 487

Re: upgrade issue (SOLVED)

Well, turns out the filesystem was indeed corrupted/damaged; I rebooted and got some errors, something related to init was missing and the system wouldn't boot, fortunately, I'd have just created a snapshot with luckybackup so I applied that and it fixed it, kind of, the system booted but some apps won't work, mainly chromium which if run from konsole:

Inconsistency detected by ld.so: ../sysdeps/x86_64/dl-machine.h: 538: elf_machine_rela_relative: Assertion `ELFW(R_TYPE) (reloc->r_info) == R_X86_64_RELATIVE' failed!

I'm using firefox which I have around. Also, all my favorites are gone from KDE menu; I marked them again, rebooted, gone again. I think I might have to reinstall the whole think just to make sure everything works as expected. Unless someone can give me some better advice on how to fix that. sad

Offline

#3 2020-07-20 21:08

Tolkem
Member
Registered: 2019-10-06
Posts: 487

Re: upgrade issue (SOLVED)

Removing & reinstalling chromium fixed it, but now I'm facing a new issue. While chromium was being installed got this:

dpkg: warning files list file for package 'q4os-swcentre' missing, assuming package has no files currently installed.

There are several lines for quite a few other pkgs too, everything's working fine though. I googled that hoping to find a solution and found this https://gist.github.com/jeffersfp/33037 … 057930c81b some people commented it worked for them, however, it looks like this script will reinstall every single pkg which I rather not so it seems like reinstalling might be the only option left for me. sad

Offline

#4 2020-07-21 00:59

Tolkem
Member
Registered: 2019-10-06
Posts: 487

Re: upgrade issue (SOLVED)

I managed to fix those issues, still getting the "dpkg warning" message but now only for 2 packages; grep and cli-shell-utils. There were 65 before. Favorites on KDE menu won't stick after rebooting, which is annoying. Apart from these, everything's working fine. smile

Offline

Board footer

Powered by FluxBB