Quantcast
Viewing all articles
Browse latest Browse all 6144

Can't upgrade to newest version of linux-image-6.5.0-26-generic [closed]

So I got update as usual. Cant upgrade to newest version of linux-image. Initially , I found

sudo apt upgradeReading package lists... DoneBuilding dependency tree... DoneReading state information... DoneCalculating upgrade... DoneThe following packages were automatically installed and are no longer required:  amd64-microcode intel-microcode iucode-tool thermaldUse 'sudo apt autoremove' to remove them.Get more security updates through Ubuntu Pro with 'esm-apps' enabled:  libavdevice58 ffmpeg libpostproc55 libavcodec58 libavutil56 libswscale5  libswresample3 libavformat58 libavfilter7Learn more about Ubuntu Pro at https://ubuntu.com/proThe following packages have been kept back:  coreutils gir1.2-mutter-10 libmutter-10-0 mutter-common snapd0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.2 not fully installed or removed.After this operation, 0 B of additional disk space will be used.Do you want to continue? [Y/n] YSetting up initramfs-tools (0.140ubuntu13.4) ...update-initramfs: deferring update (trigger activated)Setting up linux-image-6.5.0-26-generic (6.5.0-26.26~22.04.1) ...Processing triggers for initramfs-tools (0.140ubuntu13.4) ...update-initramfs: Generating /boot/initrd.img-6.5.0-25-genericcp: cannot stat '/lib/klibc-*.so': No such file or directoryE: /usr/share/initramfs-tools/hooks/klibc-utils failed with return 1.update-initramfs: failed for /boot/initrd.img-6.5.0-25-generic with 1.dpkg: error processing package initramfs-tools (--configure): installed initramfs-tools package post-installation script subprocess returned error exit status 1Processing triggers for linux-image-6.5.0-26-generic (6.5.0-26.26~22.04.1) .../etc/kernel/postinst.d/initramfs-tools:update-initramfs: Generating /boot/initrd.img-6.5.0-26-genericcp: cannot stat '/lib/klibc-*.so': No such file or directoryE: /usr/share/initramfs-tools/hooks/klibc-utils failed with return 1.update-initramfs: failed for /boot/initrd.img-6.5.0-26-generic with 1.run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1dpkg: error processing package linux-image-6.5.0-26-generic (--configure): installed linux-image-6.5.0-26-generic package post-installation script subprocess returned error exit status 1Errors were encountered while processing: initramfs-tools linux-image-6.5.0-26-genericE: Sub-process /usr/bin/dpkg returned an error code (1)

So following the error I tried these following troubleshoot but it doesn't work :

  1. sudo dpkg --configure -a ended up with same error
  2. tried finding klibc-utils dpkg -l | grep klibc-utils and got ii klibc-utils 2.0.10-4 amd64 small utilities built with klibc for early boot
  3. then so klib-.so files, I tried looking at content dpkg -L klibc-utils and found out there is no file with .so extension in my klib-utils. So i thought of reinstalling it but got the same error. thensudo apt-cache depends klibc-utilsklibc-utilsDepends: libklibcBreaks: initramfs-tools
dpkg -l | grep libklibcii  libklibc:amd64                             2.0.10-4                                amd64        minimal libc subset for use with initramfs

but seems I am moving anywhere. even booting with linux-image-6.5.0-26 giving me kernel panic and booting with older version going well. Tried live USB method but didn't work.

I am looking for serious help Otherwise I will move to all content from computer to cloud and then reinstall ubuntu 23.18 or whatever.Thanks for even reading it. I am grateful.


Viewing all articles
Browse latest Browse all 6144

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>