You are not logged in.
Pages: 1
Currently cannot complete an update, looks like kernel level.
My beautiful screenshots can't be posted here, so I will attempt to recreate the error.
the file in question is "linux-image-6/1/0-39-amd64"
Package failed to install:
Error while installing package: cannot copy extracted data for './lib/modules/6.1.0-39-amd64/kernel/fs/nfs/nfs.ko' to '/lib/modules/6.1.0-39-amd64/kernel/fs/nfs/nfs.ko.dpkg-new'
Neither Discover nor terminal works. Terminal instructs me to apt --fix-broken install, and autoremove, still returns an error:
cannot copy extracted data for './lib/modules/6.1.0-39-amd64/kernel/fs/nfs/nfs.ko' to '/lib/modules/6.1.0-39-amd64/kernel/fs/nfs/nfs.ko.dpkg-new': unexpected end of file or stream
Please and thank you!
Offline
forgot specs:
i7-7700, rx580
Offline
Welcome to the forum ![]()
Your account has been promoted, so you can now post attachments up to 300kB in size. Please run the following commands:
$ get-q4os-version
$ qrepolist
$ sudo apt update
and copy-paste the output here.
Offline
cork@corsairi77700rx580:~$ get-q4os-version
5.8.1-n1
cork@corsairi77700rx580:~$ qrepolist
deb http://q4os.org/q4repo/ q4os-5-0-cn main
deb http://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware
deb http://security.debian.org/ bookworm-security main contrib non-free non-free-firmware
deb http://deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware
deb https://dl.google.com/linux/chrome/deb/ stable main
deb https://mega.nz/linux/repo/Debian_12/ ./
deb https://repo.steampowered.com/steam/ stable steam
cork@corsairi77700rx580:~$ sudo apt update
[sudo] password for cork:
Hit:1 http://security.debian.org bookworm-security InRelease
Hit:2 https://repo.steampowered.com/steam stable InRelease
Hit:3 http://deb.debian.org/debian bookworm InRelease
Get:4 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
Get:5 https://dl.google.com/linux/chrome/deb stable InRelease [1,825 B]
Get:7 https://dl.google.com/linux/chrome/deb stable/main amd64 Packages [1,209 B]
Get:8 https://mega.nz/linux/repo/Debian_12 ./ InRelease [2,959 B]
Hit:6 https://q4os.org/q4repo q4os-5-0-cn InRelease
Fetched 61.4 kB in 2s (30.8 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
Offline
Well, maybe you're low on disk space ?
Run:
$ df -h
and post back
and subsequently run:
$ sudo apt clean
$ sudo apt autoclean
$ sudo apt -V full-upgrade
and post back the output.
Offline
I have seen something like this on a couple of occasions with odd updates.
This may or may not work but:-
Create an empty file called nfs.ko.dpkg-new
As root/sudo, copy that to /lib/modules/6.1.0-39-amd64/kernel/fs/nfs/
Effectively you're creating a dummy version of the file it is stuck on.
Then try to run the update. If it works just check to make sure the new version has a size other than the original dummy test file.
Like I said YMMV but it's worth a try.
Offline
thanks for the lead! the 6.1.0-39-amd64 file was empty, created anyway. got the same error with a new line of dialogue: "lzma error compressed data is corrupt", referring to /var/cache/apt/archives/linux-image-6.1.0-39-amd64_6.1.148-1_amd64.deb
makes me wonder if the problem is on my end.
the only option i see is that i spend the week data dumping then reinstall the os.
Offline
could it be it is attempting to apply amd to the chipset instead of the gpu? this is my first Intel cpu in twenty years; extreme lack of experience with them
Offline
heres the df -h
cork@corsairi77700rx580:~$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 16G 0 16G 0% /dev
tmpfs 3.2G 134M 3.0G 5% /run
/dev/nvme0n1p2 1.8T 362G 1.4T 22% /
tmpfs 16G 2.7G 14G 17% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 16G 24M 16G 1% /tmp
/dev/nvme0n1p1 300M 5.9M 294M 2% /boot/efi
tmpfs 3.2G 272K 3.2G 1% /run/user/1000
/dev/sdb1 4.6T 3.5T 1.2T 76% /media/cork/WD_BLACK5
Offline
makes me wonder if the problem is on my end.
Likely yes. That looks like a data corruption, try:
$ sudo apt clean
$ sudo apt autoclean
$ sudo apt -V full-upgrade
and post back the output.
Offline
cork@corsairi77700rx580:~$ sudo apt clean
[sudo] password for cork:
cork@corsairi77700rx580:~$ sudo apt autoclean
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
cork@corsairi77700rx580:~$ sudo apt -V full-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
linux-image-amd64 : Depends: linux-image-6.1.0-39-amd64 (= 6.1.148-1) but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
cork@corsairi77700rx580:~$
Offline
same error, but fix broken install acted differently. seemed to update everything normally, until:
Processing triggers for dbus (1.14.10-1~deb12u1) ...
Processing triggers for shared-mime-info (2.2-1) ...
Segmentation fault
dpkg: error processing package shared-mime-info (--configure):
installed shared-mime-info package post-installation script subprocess returned error exit status 139
Processing triggers for debianutils (5.7-0.5~deb12u1) ...
Processing triggers for install-info (6.8-6+b1) ...
Processing triggers for mailcap (3.70+nmu1) ...
Processing triggers for fontconfig (2.14.1-4) ...
Processing triggers for desktop-file-utils (0.26-1) ...
Processing triggers for initramfs-tools (0.142+deb12u3) ...
update-initramfs: Generating /boot/initrd.img-6.1.0-38-amd64
I: The initramfs will attempt to resume from /dev/nvme0n1p3
I: (UUID=47cff36b-7b8a-488b-9cbf-559031c332dc)
I: Set the RESUME variable to override this.
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for libc-bin (2.36-9+deb12u13) ...
Errors were encountered while processing:
linux-image-6.1.0-39-amd64
linux-image-amd64
shared-mime-info
E: Sub-process /usr/bin/dpkg returned an error code (1)
cork@corsairi77700rx580:~$
Offline
Now run:
$ sudo apt install -f
and report back
...
Segmentation fault
dpkg: error processing package shared-mime-info (--configure):
...We would guess hardware issue.
Offline
Holy Popcorn, Batman! (kernel reference)
You did it!
Thanks for helping me, immense gratitude for the entire Q4OS team as well as bin for the assists.
Offline
Is it possible to update by changing the repositories from "bookworm" to "trixie"?
Offline
Pages: 1