You are not logged in.

#1 2025-09-09 17:25

corkman
Member
Registered: 2025-09-09
Posts: 9

Unable to update

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

#2 2025-09-09 17:47

corkman
Member
Registered: 2025-09-09
Posts: 9

Re: Unable to update

forgot specs:
i7-7700, rx580

Offline

#3 2025-09-09 19:33

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 6,090
Website

Re: Unable to update

Welcome to the forum smile
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

#4 2025-09-09 23:04

corkman
Member
Registered: 2025-09-09
Posts: 9

Re: Unable to update

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

#5 2025-09-10 09:36

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 6,090
Website

Re: Unable to update

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

#6 2025-09-10 11:51

bin
Member
From: U.K.
Registered: 2016-01-28
Posts: 1,559

Re: Unable to update

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

#7 2025-09-10 16:49

corkman
Member
Registered: 2025-09-09
Posts: 9

Re: Unable to update

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

#8 2025-09-10 16:52

corkman
Member
Registered: 2025-09-09
Posts: 9

Re: Unable to update

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

#9 2025-09-10 17:08

corkman
Member
Registered: 2025-09-09
Posts: 9

Re: Unable to update

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

#10 2025-09-10 17:20

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 6,090
Website

Re: Unable to update

corkman wrote:

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

#11 2025-09-10 22:16

corkman
Member
Registered: 2025-09-09
Posts: 9

Re: Unable to update

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

#12 2025-09-10 22:20

corkman
Member
Registered: 2025-09-09
Posts: 9

Re: Unable to update

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

#13 2025-09-10 22:21

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 6,090
Website

Re: Unable to update

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

#14 2025-09-11 01:29

corkman
Member
Registered: 2025-09-09
Posts: 9

Re: Unable to update

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

#15 2025-09-12 16:23

josek
Member
Registered: 2025-02-23
Posts: 91

Re: Unable to update

Is it possible to update by changing the repositories from "bookworm" to "trixie"?

Offline

Board footer

Powered by FluxBB