Re: Upgrade error that I don't know how to solve
rob stone <[email protected]> Tue, 08 Aug 2023 00:26:52 +1000
| Newsgroups | gmane.linux.debian.user.laptop |
|---|---|
| Message-ID | <[email protected]> |
Hello again, I think that I have solved this. I found an unused package that I could purge. aptitude fetched the linux-image again, purged and then unpacked, generated the boot image, etc., and it now appears everything is back on track. Disk space on the root partition is abysmal. I'll try a re-boot tomorrow. Time for bed. Regards, Rob On Mon, 2023-08-07 at 23:54 +1000, rob stone wrote: > Hello, >=20 > I was running an aptitude safe-upgrade and the following appeared > during the dpkg phase:- >=20 > Preparing to unpack .../58-linux-image-amd64_6.4.4-2_amd64.deb ... > Unpacking linux-image-amd64 (6.4.4-2) over (6.4.4-1) ... > Preparing to unpack .../59-linux-image-6.4.0-1-amd64_6.4.4- > 2_amd64.deb > ... > Unpacking linux-image-6.4.0-1-amd64 (6.4.4-2) over (6.4.4-1) ... > dpkg: error processing archive /tmp/apt-dpkg-install-RAGhR8/59-linux- > image-6.4.0-1-amd64_6.4.4-2_amd64.deb (--unpack): > =C2=A0cannot copy extracted data for './lib/modules/6.4.0-1- > amd64/kernel/sound/pci/oxygen/snd-oxygen-lib.ko' to > '/lib/modules/6.4.0-1-amd64/kernel/sound/pci/oxygen/snd-oxygen- > lib.ko.dpkg-new': failed to write (No space left on device) > I: /vmlinuz is now a symlink to boot/vmlinuz-6.3.0-1-amd64 > I: /initrd.img is now a symlink to boot/initrd.img-6.3.0-1-amd64 > Preparing to unpack .../60-linux-libc-dev_6.4.4-2_amd64.deb ... > Unpacking linux-libc-dev:amd64 (6.4.4-2) over (6.4.4-1) ... > Preparing to unpack .../61-linux-perf_6.4.4-2_amd64.deb ... >=20 > Then at the end the following messages appeared. >=20 > dpkg: dependency problems prevent configuration of linux-image-amd64: > =C2=A0linux-image-amd64 depends on linux-image-6.4.0-1-amd64 (=3D 6.4.4-2= ); > however: > =C2=A0 Version of linux-image-6.4.0-1-amd64 on system is 6.4.4-1. >=20 > dpkg: error processing package linux-image-amd64 (--configure): > =C2=A0dependency problems - leaving unconfigured >=20 > So I tried running dpkg --configure -a >=20 > and the message above was repeated. >=20 > I know that I am short of disk space on the root partition in part > caused by multiple versions of large libraries that can't be flagged > as > obsolete as other packages have them as dependencies. >=20 > Could somebody more knowledgeable than myself give some hints on how > to > solve this. >=20 > Thanks, > Rob >=20