ubuntu-mainline-kernel.sh
ubuntu-mainline-kernel.sh copied to clipboard
Freezing while installing updated kernel?
Hey there, for some reason when I update my kernel on my Ubuntu Server it gets stuck at Installing 4 packages, and I was wondering if I could get some assistance?
root:~# uname -r 5.4.0-131-generic root:~# wget https://raw.githubusercontent.com/pimlie/ubuntu-mainline-kernel.sh/master/ubuntu-mainline-kernel.sh --2022-11-14 20:54:51-- https://raw.githubusercontent.com/pimlie/ubuntu-mainline-kernel.sh/master/ubuntu-mainline-kernel.sh Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.110.133, 185.199.111.133, 185.199.109.133, ... Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.110.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 26474 (26K) [text/plain] Saving to: 'ubuntu-mainline-kernel.sh'
ubuntu-mainline-kernel.sh 100%[=========================================================================================================>] 25.85K --.-KB/s in 0.001s
2022-11-14 20:54:51 (24.6 MB/s) - 'ubuntu-mainline-kernel.sh' saved [26474/26474]
root:~# root:~# chmod +x ubuntu-mainline-kernel.sh root:~# ./ubuntu-mainline-kernel.sh -i Finding latest version available on kernel.ubuntu.com Latest version is: v6.0.8, continue? (y/N) Will download 6 files from kernel.ubuntu.com: Downloading amd64/linux-headers-6.0.8-060008-generic_6.0.8-060008.202211101901_amd64.deb: 100% Downloading amd64/linux-headers-6.0.8-060008_6.0.8-060008.202211101901_all.deb: 100% Downloading amd64/linux-image-unsigned-6.0.8-060008-generic_6.0.8-060008.202211101901_amd64.deb: 100% Downloading amd64/linux-modules-6.0.8-060008-generic_6.0.8-060008.202211101901_amd64.deb: 100% Downloading amd64/CHECKSUMS: 100% Downloading amd64/CHECKSUMS.gpg: 100% Importing kernel-ppa gpg key ok Signature of checksum file has been successfully verified Checksums of deb files have been successfully verified with sha256sum Installing 4 packages
Got the same issue, even trying to select another kernel version.
Try to install the kernels manually, use the -d option to only download/verify the new kernel packages and then run sudo dpkg -i <the packages> manually to see what the error is.