Fix for kernel bug in Ubuntu 20.04 causing various issues
-
At least on vultr Ubuntu 20.04 repository mirrors, the new fixed kernel is already available via security updates. You can check if this is the same in your instance by running:
apt-get update && apt list --upgradable | grep "\-security"
If it lists
linux-generic/focal-updates,focal-security 5.4.0.135.133 amd64 [upgradable from: 5.4.0.132.132]
then you have to unhold the previously hold packages and eventually it will normally update:apt-mark unhold linux-generic linux-image-generic linux-headers-generic
-
@p44 this seems to have come to our servers atleast. So, yes, go ahead an unmark the holds.
Start-Date: 2022-12-03 06:10:57 Commandline: /usr/bin/unattended-upgrade Install: linux-image-5.4.0-135-generic:amd64 (5.4.0-135.152, automatic), linux-headers-5.4.0-135:amd64 (5.4.0-135.152, automatic), linux-modules-extra-5.4.0-135-generic:amd64 (5.4.0-135.152, automatic), linux-modules-5.4.0-135-generic:amd64 (5.4.0-135.152, automatic), linux-headers-5.4.0-135-generic:amd64 (5.4.0-135.152, automatic) Upgrade: linux-headers-generic:amd64 (5.4.0.132.132, 5.4.0.135.133), linux-image-generic:amd64 (5.4.0.132.132, 5.4.0.135.133), linux-generic:amd64 (5.4.0.132.132, 5.4.0.135.133) End-Date: 2022-12-03 06:12:14
-
-
-
-
@nebulon Should we have to reverse also this step?
- Edit /etc/default/grub . Find the line GRUB_DEFAULT=0. Change this to GRUB_DEFAULT="Advanced options for Ubuntu>Ubuntu, with Linux 5.4.0-131-generic" . Important you get this line right, otherwise your server may not boot
-
@girish said in Fix for kernel bug in Ubuntu 20.04 causing various issues:
@p44 I put in instructions to reverse in the original post.
Thanks.
I tried to implement the instructions to reverse. For me, this didn't work. I followed the steps, did the reboot, and uname -nar still shows 5.4.0-131-generic #147-Ubuntu SMP Fri Oct 14 17:07:22 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
I tried to follow the steps suggested by @nebulon here: https://forum.cloudron.io/post/57470
When checking for updates, it provided the following output:
Hit:1 http://no.archive.ubuntu.com/ubuntu focal InRelease Hit:2 http://no.archive.ubuntu.com/ubuntu focal-updates InRelease Hit:3 http://no.archive.ubuntu.com/ubuntu focal-backports InRelease Hit:4 http://no.archive.ubuntu.com/ubuntu focal-security InRelease Reading package lists... Done WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Maybe it was wrong, but I unholded the previously hold packages.
Then I rebooted and waited a few hours. Nothing happened, I was still on 5.4.0-131-generic
So I tried the next step I could find, by following the instructions here (as best as I could understand): https://forum.cloudron.io/post/57552
At command line, I typed sudo /usr/bin/unattended-upgrade
Again, I rebooted and again I was still on 5.4.0-131 when I checked today.
So now, I tried to follow the new instructions you put on top of this post.
First, the unhold command gave the output that the change already had been unholded.
Second, when doing sudo unattended-upgrade -d, I got a huge output, but nothing in that output said anything about 5.4.0-135 generic. (I pasted the full output below, sorry if it becomes a long post).
I continued to follow the instructions as best as I could, so I edited /etc/default/grub like it says in the reverse instruction post, did a reboot, and checked uname -nar again. Still on 5.4.0-131 generic.
I have not apt removed 5.4.0.131 (as I thought that perhaps would be a bad idea since I apparently don't have a newer), and I have not restored /etc/default/grub to default 0.
Could you offer any assistance, perhaps? Is this easily fixable, or do I have to clean install the whole Cloudron and restore from backup?
I am on Ubuntu 20.04 and I self host.
Thank you!
edit: I have to reply to this post, because the output is too long for the editor:
-
@odie Here's the full log output (part 1):
sudo unattended-upgrade -d Could not figure out development release: Distribution data outdated. Please check for an update for distro-info-data. See /usr/share/doc/distro-info-data/README.Debian for details. Starting unattended upgrades script Allowed origins are: o=Ubuntu,a=focal, o=Ubuntu,a=focal-security, o=UbuntuESMApps,a=focal-apps-security, o=UbuntuESM,a=focal-infra-security Initial blacklist: Initial whitelist (not strict): Marking not allowed <apt_pkg.PackageFile object: filename:'/var/lib/apt/lists/no.archive.ubuntu.com_ubuntu_dists_focal-backports_universe_i18n_Translation-en' a=focal-backports,c=universe,v=20.04,o=Ubuntu,l=Ubuntu arch='' site='no.archive.ubuntu.com' IndexType='Debian Translation Index' Size=54888 ID:19> with -32768 pin Marking not allowed <apt_pkg.PackageFile object: filename:'/var/lib/apt/lists/no.archive.ubuntu.com_ubuntu_dists_focal-backports_universe_binary-amd64_Packages' a=focal-backports,c=universe,v=20.04,o=Ubuntu,l=Ubuntu arch='amd64' site='no.archive.ubuntu.com' IndexType='Debian Package Index' Size=109628 ID:18> with -32768 pin Marking not allowed <apt_pkg.PackageFile object: filename:'/var/lib/apt/lists/no.archive.ubuntu.com_ubuntu_dists_focal-backports_main_i18n_Translation-en' a=focal-backports,c=main,v=20.04,o=Ubuntu,l=Ubuntu arch='' site='no.archive.ubuntu.com' IndexType='Debian Translation Index' Size=143564 ID:17> with -32768 pin Marking not allowed <apt_pkg.PackageFile object: filename:'/var/lib/apt/lists/no.archive.ubuntu.com_ubuntu_dists_focal-backports_main_binary-amd64_Packages' a=focal-backports,c=main,v=20.04,o=Ubuntu,l=Ubuntu arch='amd64' site='no.archive.ubuntu.com' IndexType='Debian Package Index' Size=262545 ID:16> with -32768 pin Marking not allowed <apt_pkg.PackageFile object: filename:'/var/lib/apt/lists/no.archive.ubuntu.com_ubuntu_dists_focal-updates_multiverse_i18n_Translation-en' a=focal-updates,c=multiverse,v=20.04,o=Ubuntu,l=Ubuntu arch='' site='no.archive.ubuntu.com' IndexType='Debian Translation Index' Size=40183 ID:15> with -32768 pin Marking not allowed <apt_pkg.PackageFile object: filename:'/var/lib/apt/lists/no.archive.ubuntu.com_ubuntu_dists_focal-updates_multiverse_binary-amd64_Packages' a=focal-updates,c=multiverse,v=20.04,o=Ubuntu,l=Ubuntu arch='amd64' site='no.archive.ubuntu.com' IndexType='Debian Package Index' Size=152417 ID:14> with -32768 pin Marking not allowed <apt_pkg.PackageFile object: filename:'/var/lib/apt/lists/no.archive.ubuntu.com_ubuntu_dists_focal-updates_universe_i18n_Translation-en' a=focal-updates,c=universe,v=20.04,o=Ubuntu,l=Ubuntu arch='' site='no.archive.ubuntu.com' IndexType='Debian Translation Index' Size=1933703 ID:13> with -32768 pin Marking not allowed <apt_pkg.PackageFile object: filename:'/var/lib/apt/lists/no.archive.ubuntu.com_ubuntu_dists_focal-updates_universe_binary-amd64_Packages' a=focal-updates,c=universe,v=20.04,o=Ubuntu,l=Ubuntu arch='amd64' site='no.archive.ubuntu.com' IndexType='Debian Package Index' Size=5823472 ID:12> with -32768 pin Marking not allowed <apt_pkg.PackageFile object: filename:'/var/lib/apt/lists/no.archive.ubuntu.com_ubuntu_dists_focal-updates_restricted_i18n_Translation-en' a=focal-updates,c=restricted,v=20.04,o=Ubuntu,l=Ubuntu arch='' site='no.archive.ubuntu.com' IndexType='Debian Translation Index' Size=3928873 ID:11> with -32768 pin Marking not allowed <apt_pkg.PackageFile object: filename:'/var/lib/apt/lists/no.archive.ubuntu.com_ubuntu_dists_focal-updates_restricted_binary-amd64_Packages' a=focal-updates,c=restricted,v=20.04,o=Ubuntu,l=Ubuntu arch='amd64' site='no.archive.ubuntu.com' IndexType='Debian Package Index' Size=8982186 ID:10> with -32768 pin Marking not allowed <apt_pkg.PackageFile object: filename:'/var/lib/apt/lists/no.archive.ubuntu.com_ubuntu_dists_focal-updates_main_i18n_Translation-en' a=focal-updates,c=main,v=20.04,o=Ubuntu,l=Ubuntu arch='' site='no.archive.ubuntu.com' IndexType='Debian Translation Index' Size=8135480 ID:9> with -32768 pin Marking not allowed <apt_pkg.PackageFile object: filename:'/var/lib/apt/lists/no.archive.ubuntu.com_ubuntu_dists_focal-updates_main_binary-amd64_Packages' a=focal-updates,c=main,v=20.04,o=Ubuntu,l=Ubuntu arch='amd64' site='no.archive.ubuntu.com' IndexType='Debian Package Index' Size=12360070 ID:8> with -32768 pin Applying pinning: PkgFilePin(id=19, priority=-32768) Applying pin -32768 to package_file: <apt_pkg.PackageFile object: filename:'/var/lib/apt/lists/no.archive.ubuntu.com_ubuntu_dists_focal-backports_universe_i18n_Translation-en' a=focal-backports,c=universe,v=20.04,o=Ubuntu,l=Ubuntu arch='' site='no.archive.ubuntu.com' IndexType='Debian Translation Index' Size=54888 ID:19> Applying pinning: PkgFilePin(id=18, priority=-32768) Applying pin -32768 to package_file: <apt_pkg.PackageFile object: filename:'/var/lib/apt/lists/no.archive.ubuntu.com_ubuntu_dists_focal-backports_universe_binary-amd64_Packages' a=focal-backports,c=universe,v=20.04,o=Ubuntu,l=Ubuntu arch='amd64' site='no.archive.ubuntu.com' IndexType='Debian Package Index' Size=109628 ID:18> Applying pinning: PkgFilePin(id=17, priority=-32768) Applying pin -32768 to package_file: <apt_pkg.PackageFile object: filename:'/var/lib/apt/lists/no.archive.ubuntu.com_ubuntu_dists_focal-backports_main_i18n_Translation-en' a=focal-backports,c=main,v=20.04,o=Ubuntu,l=Ubuntu arch='' site='no.archive.ubuntu.com' IndexType='Debian Translation Index' Size=143564 ID:17> Applying pinning: PkgFilePin(id=16, priority=-32768) Applying pin -32768 to package_file: <apt_pkg.PackageFile object: filename:'/var/lib/apt/lists/no.archive.ubuntu.com_ubuntu_dists_focal-backports_main_binary-amd64_Packages' a=focal-backports,c=main,v=20.04,o=Ubuntu,l=Ubuntu arch='amd64' site='no.archive.ubuntu.com' IndexType='Debian Package Index' Size=262545 ID:16> Applying pinning: PkgFilePin(id=15, priority=-32768) Applying pin -32768 to package_file: <apt_pkg.PackageFile object: filename:'/var/lib/apt/lists/no.archive.ubuntu.com_ubuntu_dists_focal-updates_multiverse_i18n_Translation-en' a=focal-updates,c=multiverse,v=20.04,o=Ubuntu,l=Ubuntu arch='' site='no.archive.ubuntu.com' IndexType='Debian Translation Index' Size=40183 ID:15> Applying pinning: PkgFilePin(id=14, priority=-32768) Applying pin -32768 to package_file: <apt_pkg.PackageFile object: filename:'/var/lib/apt/lists/no.archive.ubuntu.com_ubuntu_dists_focal-updates_multiverse_binary-amd64_Packages' a=focal-updates,c=multiverse,v=20.04,o=Ubuntu,l=Ubuntu arch='amd64' site='no.archive.ubuntu.com' IndexType='Debian Package Index' Size=152417 ID:14> Applying pinning: PkgFilePin(id=13, priority=-32768) Applying pin -32768 to package_file: <apt_pkg.PackageFile object: filename:'/var/lib/apt/lists/no.archive.ubuntu.com_ubuntu_dists_focal-updates_universe_i18n_Translation-en' a=focal-updates,c=universe,v=20.04,o=Ubuntu,l=Ubuntu arch='' site='no.archive.ubuntu.com' IndexType='Debian Translation Index' Size=1933703 ID:13> Applying pinning: PkgFilePin(id=12, priority=-32768) Applying pin -32768 to package_file: <apt_pkg.PackageFile object: filename:'/var/lib/apt/lists/no.archive.ubuntu.com_ubuntu_dists_focal-updates_universe_binary-amd64_Packages' a=focal-updates,c=universe,v=20.04,o=Ubuntu,l=Ubuntu arch='amd64' site='no.archive.ubuntu.com' IndexType='Debian Package Index' Size=5823472 ID:12> Applying pinning: PkgFilePin(id=11, priority=-32768) Applying pin -32768 to package_file: <apt_pkg.PackageFile object: filename:'/var/lib/apt/lists/no.archive.ubuntu.com_ubuntu_dists_focal-updates_restricted_i18n_Translation-en' a=focal-updates,c=restricted,v=20.04,o=Ubuntu,l=Ubuntu arch='' site='no.archive.ubuntu.com' IndexType='Debian Translation Index' Size=3928873 ID:11> Applying pinning: PkgFilePin(id=10, priority=-32768) Applying pin -32768 to package_file: <apt_pkg.PackageFile object: filename:'/var/lib/apt/lists/no.archive.ubuntu.com_ubuntu_dists_focal-updates_restricted_binary-amd64_Packages' a=focal-updates,c=restricted,v=20.04,o=Ubuntu,l=Ubuntu arch='amd64' site='no.archive.ubuntu.com' IndexType='Debian Package Index' Size=8982186 ID:10> Applying pinning: PkgFilePin(id=9, priority=-32768) Applying pin -32768 to package_file: <apt_pkg.PackageFile object: filename:'/var/lib/apt/lists/no.archive.ubuntu.com_ubuntu_dists_focal-updates_main_i18n_Translation-en' a=focal-updates,c=main,v=20.04,o=Ubuntu,l=Ubuntu arch='' site='no.archive.ubuntu.com' IndexType='Debian Translation Index' Size=8135480 ID:9> Applying pinning: PkgFilePin(id=8, priority=-32768) Applying pin -32768 to package_file: <apt_pkg.PackageFile object: filename:'/var/lib/apt/lists/no.archive.ubuntu.com_ubuntu_dists_focal-updates_main_binary-amd64_Packages' a=focal-updates,c=main,v=20.04,o=Ubuntu,l=Ubuntu arch='amd64' site='no.archive.ubuntu.com' IndexType='Debian Package Index' Size=12360070 ID:8> Using (^linux-.*-[1-9][0-9]*\.[0-9]+\.[0-9]+-[0-9]+(-.+)?$|^kfreebsd-.*-[1-9][0-9]*\.[0-9]+\.[0-9]+-[0-9]+(-.+)?$|^gnumach-.*-[1-9][0-9]*\.[0-9]+\.[0-9]+-[0-9]+(-.+)?$|^.*-modules-[1-9][0-9]*\.[0-9]+\.[0-9]+-[0-9]+(-.+)?$|^.*-kernel-[1-9][0-9]*\.[0-9]+\.[0-9]+-[0-9]+(-.+)?$|^linux-.*-[1-9][0-9]*\.[0-9]+\.[0-9]+-[0-9]+(-.+)?$|^kfreebsd-.*-[1-9][0-9]*\.[0-9]+\.[0-9]+-[0-9]+(-.+)?$|^gnumach-.*-[1-9][0-9]*\.[0-9]+\.[0-9]+-[0-9]+(-.+)?$|^.*-modules-[1-9][0-9]*\.[0-9]+\.[0-9]+-[0-9]+(-.+)?$|^.*-kernel-[1-9][0-9]*\.[0-9]+\.[0-9]+-[0-9]+(-.+)?$) regexp to find kernel packages Using (^linux-.*-5\.4\.0\-131\-generic$|^linux-.*-5\.4\.0\-131$|^kfreebsd-.*-5\.4\.0\-131\-generic$|^kfreebsd-.*-5\.4\.0\-131$|^gnumach-.*-5\.4\.0\-131\-generic$|^gnumach-.*-5\.4\.0\-131$|^.*-modules-5\.4\.0\-131\-generic$|^.*-modules-5\.4\.0\-131$|^.*-kernel-5\.4\.0\-131\-generic$|^.*-kernel-5\.4\.0\-131$|^linux-.*-5\.4\.0\-131\-generic$|^linux-.*-5\.4\.0\-131$|^kfreebsd-.*-5\.4\.0\-131\-generic$|^kfreebsd-.*-5\.4\.0\-131$|^gnumach-.*-5\.4\.0\-131\-generic$|^gnumach-.*-5\.4\.0\-131$|^.*-modules-5\.4\.0\-131\-generic$|^.*-modules-5\.4\.0\-131$|^.*-kernel-5\.4\.0\-131\-generic$|^.*-kernel-5\.4\.0\-131$) regexp to find running kernel packages Checking: alsa-ucm-conf ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: alsa-ucm-conf=1.2.2-1ubuntu0.8 Checking: apport ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: apport=2.20.11-0ubuntu27.24 Checking: apt ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: apt=2.0.6 Checking: apt-utils ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: apt-utils=2.0.6 Checking: base-files ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: base-files=11ubuntu5.3 Checking: bolt ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: bolt=0.8-4ubuntu1 Checking: cloud-init ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: cloud-init=22.2-0ubuntu1~20.04.3 Checking: cloud-initramfs-copymods ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: cloud-initramfs-copymods=0.45ubuntu1 Checking: cloud-initramfs-dyn-netconf ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: cloud-initramfs-dyn-netconf=0.45ubuntu1 Checking: command-not-found ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: command-not-found=20.04.4 Checking: distro-info-data ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: distro-info-data=0.43ubuntu1.10
-
@odie part 2:
Checking: fwupd ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: fwupd=1.3.11-1~focal1 Checking: fwupd-signed ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: fwupd-signed=1.27.1ubuntu2+1.3.11-1~focal1 Checking: grub-common ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: grub-common=2.04-1ubuntu26.12 Checking: grub2-common ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: grub2-common=2.04-1ubuntu26.12 Checking: initramfs-tools ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: initramfs-tools=0.136ubuntu6.6 Checking: initramfs-tools-bin ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: initramfs-tools-bin=0.136ubuntu6.6 Checking: initramfs-tools-core ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: initramfs-tools-core=0.136ubuntu6.6 Checking: ipset ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: ipset=7.5-1~exp1 Checking: keyutils ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: keyutils=1.6-6ubuntu1 Checking: kmod ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: kmod=27-1ubuntu2 Checking: landscape-common ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: landscape-common=19.12-0ubuntu4.2 Checking: libapt-pkg6.0 ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: libapt-pkg6.0=2.0.6 Checking: libasound2 ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: libasound2=1.2.2-2.1ubuntu2.4 Checking: libasound2-data ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: libasound2-data=1.2.2-2.1ubuntu2.4 Checking: libc-bin ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: libc-bin=2.31-0ubuntu9.7 Checking: libc-dev-bin ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: libc-dev-bin=2.31-0ubuntu9.7 Checking: libc6 ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: libc6=2.31-0ubuntu9.7 Checking: libc6-dev ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: libc6-dev=2.31-0ubuntu9.7 Checking: libfwupd2 ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: libfwupd2=1.3.11-1~focal1 Checking: libfwupdplugin1 ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: libfwupdplugin1=1.3.11-1~focal1 Checking: libipset13 ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: libipset13=7.5-1~exp1 Checking: libkeyutils1 ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: libkeyutils1=1.6-6ubuntu1 Checking: libkmod2 ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: libkmod2=27-1ubuntu2 Checking: libnetplan0 ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: libnetplan0=0.102-0ubuntu1~20.04.2 Checking: libnotify4 ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: libnotify4=0.7.9-1ubuntu2 Checking: libnss-systemd ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: libnss-systemd=245.4-4ubuntu3.15 Checking: libpam-modules ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: libpam-modules=1.3.1-5ubuntu4.2 Checking: libpam-modules-bin ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: libpam-modules-bin=1.3.1-5ubuntu4.2 Checking: libpam-runtime ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: libpam-runtime=1.3.1-5ubuntu4.2 Checking: libpam-systemd ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: libpam-systemd=245.4-4ubuntu3.15 Checking: libpam0g ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: libpam0g=1.3.1-5ubuntu4.2 Checking: libprocps8 ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: libprocps8=2:3.3.16-1ubuntu2.2 Checking: libsystemd0 ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: libsystemd0=245.4-4ubuntu3.15 Checking: libtss2-esys0 ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: libtss2-esys0=2.3.2-1 Checking: libudev1 ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: libudev1=245.4-4ubuntu3.15 Checking: linux-base ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: linux-base=4.5ubuntu3.6 Checking: linux-firmware ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: linux-firmware=1.187.15 Checking: locales ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: locales=2.31-0ubuntu9.7 Checking: motd-news-config ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: motd-news-config=11ubuntu5.3 Checking: mysql-client-8.0 ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: mysql-client-8.0=8.0.31-0ubuntu0.20.04.1 Checking: mysql-client-core-8.0 ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: mysql-client-core-8.0=8.0.31-0ubuntu0.20.04.1 Checking: mysql-server-8.0 ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: mysql-server-8.0=8.0.31-0ubuntu0.20.04.1 Checking: mysql-server-core-8.0 ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: mysql-server-core-8.0=8.0.31-0ubuntu0.20.04.1 Checking: netplan.io ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: netplan.io=0.102-0ubuntu1~20.04.2 Checking: openssh-client ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: openssh-client=1:8.2p1-4ubuntu0.2 Checking: openssh-server ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: openssh-server=1:8.2p1-4ubuntu0.2 Checking: openssh-sftp-server ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: openssh-sftp-server=1:8.2p1-4ubuntu0.2 Checking: overlayroot ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: overlayroot=0.45ubuntu1 Checking: procps ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: procps=2:3.3.16-1ubuntu2.2 Checking: python-apt-common ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: python-apt-common=2.0.0ubuntu0.20.04.5 Checking: python3-apport ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: python3-apport=2.20.11-0ubuntu27.24 Checking: python3-apt ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: python3-apt=2.0.0ubuntu0.20.04.5 Checking: python3-commandnotfound ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: python3-commandnotfound=20.04.4 Checking: python3-distupgrade ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: python3-distupgrade=1:20.04.35 Checking: python3-problem-report ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: python3-problem-report=2.20.11-0ubuntu27.24 Checking: python3-software-properties ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: python3-software-properties=0.98.9.5 Checking: python3-update-manager ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: python3-update-manager=1:20.04.10.7 Checking: sbsigntool ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: sbsigntool=0.9.2-2ubuntu1 Checking: software-properties-common ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: software-properties-common=0.98.9.5 Checking: sosreport ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: sosreport=4.3-1ubuntu0.20.04.2 Checking: systemd ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: systemd=245.4-4ubuntu3.15 Checking: systemd-sysv ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: systemd-sysv=245.4-4ubuntu3.15 Checking: systemd-timesyncd ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: systemd-timesyncd=245.4-4ubuntu3.15 Checking: thermald ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: thermald=1.9.1-1ubuntu0.4 Checking: ubuntu-advantage-tools ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: ubuntu-advantage-tools=20.3 Checking: ubuntu-release-upgrader-core ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: ubuntu-release-upgrader-core=1:20.04.35 Checking: udev ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: udev=245.4-4ubuntu3.15 Checking: ufw ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: ufw=0.36-6 Checking: unattended-upgrades ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: unattended-upgrades=2.3ubuntu0.1 Checking: update-manager-core ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: update-manager-core=1:20.04.10.7 Checking: update-notifier-common ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: update-notifier-common=3.192.30.8 Checking: wget ([<Origin component:'main' archive:'focal-updates' origin:'Ubuntu' label:'Ubuntu' site:'no.archive.ubuntu.com' isTrusted:True>]) adjusting candidate version: wget=1.20.3-1ubuntu1 pkgs that look like they should be upgraded: Fetched 0 B in 0s (0 B/s) fetch.run() result: 0 Packages blacklist due to conffile prompts: [] No packages found that can be upgraded unattended and no pending auto-removals Package alsa-ucm-conf has a higher version available, checking if it is from an allowed origin and is not pinned down. Package apport has a higher version available, checking if it is from an allowed origin and is not pinned down. Package apt has a higher version available, checking if it is from an allowed origin and is not pinned down. Package apt-utils has a higher version available, checking if it is from an allowed origin and is not pinned down. Package base-files has a higher version available, checking if it is from an allowed origin and is not pinned down. Package bolt has a higher version available, checking if it is from an allowed origin and is not pinned down. Package cloud-init has a higher version available, checking if it is from an allowed origin and is not pinned down. Package cloud-initramfs-copymods has a higher version available, checking if it is from an allowed origin and is not pinned down. Package cloud-initramfs-dyn-netconf has a higher version available, checking if it is from an allowed origin and is not pinned down. Package command-not-found has a higher version available, checking if it is from an allowed origin and is not pinned down. Package distro-info-data has a higher version available, checking if it is from an allowed origin and is not pinned down. Package dmeventd has a higher version available, checking if it is from an allowed origin and is not pinned down. Package dmsetup has a higher version available, checking if it is from an allowed origin and is not pinned down. Package fwupd has a higher version available, checking if it is from an allowed origin and is not pinned down. Package fwupd-signed has a higher version available, checking if it is from an allowed origin and is not pinned down. Package grub-common has a higher version available, checking if it is from an allowed origin and is not pinned down. Package grub2-common has a higher version available, checking if it is from an allowed origin and is not pinned down. Package initramfs-tools has a higher version available, checking if it is from an allowed origin and is not pinned down. Package initramfs-tools-bin has a higher version available, checking if it is from an allowed origin and is not pinned down. Package initramfs-tools-core has a higher version available, checking if it is from an allowed origin and is not pinned down. Package ipset has a higher version available, checking if it is from an allowed origin and is not pinned down. Package keyutils has a higher version available, checking if it is from an allowed origin and is not pinned down. Package kmod has a higher version available, checking if it is from an allowed origin and is not pinned down. Package landscape-common has a higher version available, checking if it is from an allowed origin and is not pinned down. Package libapt-pkg6.0 has a higher version available, checking if it is from an allowed origin and is not pinned down. Package libasound2 has a higher version available, checking if it is from an allowed origin and is not pinned down. Package libasound2-data has a higher version available, checking if it is from an allowed origin and is not pinned down. Package libc-bin has a higher version available, checking if it is from an allowed origin and is not pinned down. Package libc-dev-bin has a higher version available, checking if it is from an allowed origin and is not pinned down. Package libc6 has a higher version available, checking if it is from an allowed origin and is not pinned down. Package libc6-dev has a higher version available, checking if it is from an allowed origin and is not pinned down. Package libdevmapper-event1.02.1 has a higher version available, checking if it is from an allowed origin and is not pinned down. Package libdevmapper1.02.1 has a higher version available, checking if it is from an allowed origin and is not pinned down. Package libfwupd2 has a higher version available, checking if it is from an allowed origin and is not pinned down. Package libfwupdplugin1 has a higher version available, checking if it is from an allowed origin and is not pinned down. Package libipset13 has a higher version available, checking if it is from an allowed origin and is not pinned down. Package libkeyutils1 has a higher version available, checking if it is from an allowed origin and is not pinned down. Package libkmod2 has a higher version available, checking if it is from an allowed origin and is not pinned down. Package liblvm2cmd2.03 has a higher version available, checking if it is from an allowed origin and is not pinned down. Package libnetplan0 has a higher version available, checking if it is from an allowed origin and is not pinned down. Package libnotify4 has a higher version available, checking if it is from an allowed origin and is not pinned down. Package libnss-systemd has a higher version available, checking if it is from an allowed origin and is not pinned down. Package libpam-modules has a higher version available, checking if it is from an allowed origin and is not pinned down. Package libpam-modules-bin has a higher version available, checking if it is from an allowed origin and is not pinned down. Package libpam-runtime has a higher version available, checking if it is from an allowed origin and is not pinned down. Package libpam-systemd has a higher version available, checking if it is from an allowed origin and is not pinned down. Package libpam0g has a higher version available, checking if it is from an allowed origin and is not pinned down. Package libprocps8 has a higher version available, checking if it is from an allowed origin and is not pinned down. Package libsystemd0 has a higher version available, checking if it is from an allowed origin and is not pinned down. Package libtss2-esys0 has a higher version available, checking if it is from an allowed origin and is not pinned down. Package libudev1 has a higher version available, checking if it is from an allowed origin and is not pinned down. Package linux-base has a higher version available, checking if it is from an allowed origin and is not pinned down. Package linux-firmware has a higher version available, checking if it is from an allowed origin and is not pinned down. Package locales has a higher version available, checking if it is from an allowed origin and is not pinned down. Package lvm2 has a higher version available, checking if it is from an allowed origin and is not pinned down. Package motd-news-config has a higher version available, checking if it is from an allowed origin and is not pinned down. Package mysql-client-8.0 has a higher version available, checking if it is from an allowed origin and is not pinned down. Package mysql-client-core-8.0 has a higher version available, checking if it is from an allowed origin and is not pinned down. Package mysql-server-8.0 has a higher version available, checking if it is from an allowed origin and is not pinned down. Package mysql-server-core-8.0 has a higher version available, checking if it is from an allowed origin and is not pinned down. Package netplan.io has a higher version available, checking if it is from an allowed origin and is not pinned down. Package openssh-client has a higher version available, checking if it is from an allowed origin and is not pinned down. Package openssh-server has a higher version available, checking if it is from an allowed origin and is not pinned down. Package openssh-sftp-server has a higher version available, checking if it is from an allowed origin and is not pinned down. Package overlayroot has a higher version available, checking if it is from an allowed origin and is not pinned down. Package procps has a higher version available, checking if it is from an allowed origin and is not pinned down. Package python-apt-common has a higher version available, checking if it is from an allowed origin and is not pinned down. Package python3-apport has a higher version available, checking if it is from an allowed origin and is not pinned down. Package python3-apt has a higher version available, checking if it is from an allowed origin and is not pinned down. Package python3-commandnotfound has a higher version available, checking if it is from an allowed origin and is not pinned down. Package python3-distupgrade has a higher version available, checking if it is from an allowed origin and is not pinned down. Package python3-problem-report has a higher version available, checking if it is from an allowed origin and is not pinned down. Package python3-software-properties has a higher version available, checking if it is from an allowed origin and is not pinned down. Package python3-update-manager has a higher version available, checking if it is from an allowed origin and is not pinned down. Package sbsigntool has a higher version available, checking if it is from an allowed origin and is not pinned down. Package software-properties-common has a higher version available, checking if it is from an allowed origin and is not pinned down. Package sosreport has a higher version available, checking if it is from an allowed origin and is not pinned down. Package systemd has a higher version available, checking if it is from an allowed origin and is not pinned down. Package systemd-sysv has a higher version available, checking if it is from an allowed origin and is not pinned down. Package systemd-timesyncd has a higher version available, checking if it is from an allowed origin and is not pinned down. Package thermald has a higher version available, checking if it is from an allowed origin and is not pinned down. Package ubuntu-advantage-tools has a higher version available, checking if it is from an allowed origin and is not pinned down. Package ubuntu-release-upgrader-core has a higher version available, checking if it is from an allowed origin and is not pinned down. Package udev has a higher version available, checking if it is from an allowed origin and is not pinned down. Package ufw has a higher version available, checking if it is from an allowed origin and is not pinned down. Package unattended-upgrades has a higher version available, checking if it is from an allowed origin and is not pinned down. Package update-manager-core has a higher version available, checking if it is from an allowed origin and is not pinned down. Package update-notifier-common has a higher version available, checking if it is from an allowed origin and is not pinned down. Package wget has a higher version available, checking if it is from an allowed origin and is not pinned down. Extracting content from /var/log/unattended-upgrades/unattended-upgrades-dpkg.log since 2022-12-07 14:06:57
-
@odie on our servers, I get the new kernel like this when I do
unattended-upgrade -d
:pkgs that look like they should be upgraded: linux-generic linux-headers-generic linux-image-generic Get:1 http://de.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-modules-5.4.0-135-generic amd64 5.4.0-135.152 [15.0 MB] Get:2 http://de.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-image-5.4.0-135-generic amd64 5.4.0-135.152 [10.5 MB] Get:3 http://de.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-modules-extra-5.4.0-135-generic amd64 5.4.0-135.152 [39.2 MB] Get:4 http://de.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-generic amd64 5.4.0.135.133 [1896 B] Get:5 http://de.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-image-generic amd64 5.4.0.135.133 [2520 B] Get:6 http://de.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-headers-5.4.0-135 all 5.4.0-135.152 [11.0 MB] Get:7 http://de.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-headers-5.4.0-135-generic amd64 5.4.0-135.152 [1403 kB] Get:8 http://de.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-headers-generic amd64 5.4.0.135.133 [2388 B] Fetched 77.1 MB in 0s (0 B/s) fetch.run() result: 0 ... Found linux image: /boot/vmlinuz-5.4.0-135-generic Found initrd image: /boot/initrd.img-5.4.0-135-generic Found linux image: /boot/vmlinuz-5.4.0-132-generic Found initrd image: /boot/initrd.img-5.4.0-132-generic Found linux image: /boot/vmlinuz-5.4.0-131-generic Found initrd image: /boot/initrd.img-5.4.0-131-generic done
When I run it again, it doesn't show anything interesting. It is like your output. So, maybe it has the kernel installed already. Can you see
apt list -a linux-image-5.4.0-135-generic
? -
@girish said in Fix for kernel bug in Ubuntu 20.04 causing various issues:
@odie BTW, I had edited my original post on how to reverse the changes. Did you see that? You have to make the grub changes if you haven't done so already.
Thanks for the quick response.
When I do the apt-list -a, I get the following output:
linux-image-5.4.0-135-generic/focal-updates,focal-security,now 5.4.0-135.152 amd64 [installed,automatic]
When I do the sudo update-grub, I get:
Sourcing file `/etc/default/grub' /usr/sbin/grub-mkconfig: 6: /etc/default/grub: options: not found
Meanwhile, while I went home from work an hour+ ago, my Cloudron updated to 7.3.4, and it's been stuck on "starting services, this might take a while" for more than an hour now, according to logs. (logs stopped updating 1 hour 10 minutes ago)
-
@odie said in Fix for kernel bug in Ubuntu 20.04 causing various issues:
@girish said in Fix for kernel bug in Ubuntu 20.04 causing various issues:
@odie BTW, I had edited my original post on how to reverse the changes. Did you see that? You have to make the grub changes if you haven't done so already.
Thanks for the quick response.
When I do the apt-list -a, I get the following output:
linux-image-5.4.0-135-generic/focal-updates,focal-security,now 5.4.0-135.152 amd64 [installed,automatic]
When I do the sudo update-grub, I get:
Sourcing file `/etc/default/grub' /usr/sbin/grub-mkconfig: 6: /etc/default/grub: options: not found
Meanwhile, while I went home from work an hour+ ago, my Cloudron updated to 7.3.4, and it's been stuck on "starting services, this might take a while" for more than an hour now, according to logs. (logs stopped updating 1 hour 10 minutes ago)
I get logs like this on my Cloudron. All services fail to start, except "Cloudron", "docker", "nginx" and "unbound". Only the logs on "Cloudron" update. Logs like this:
GET /api/v1/appstore/apps?repository=core 424 Failed Dependency getaddrinfo EAI_AGAIN api.cloudron.io 10.956 ms - 89 GET /api/v1/appstore/apps?repository=core 424 Failed Dependency getaddrinfo EAI_AGAIN api.cloudron.io 9.478 ms - 89 GET /api/v1/appstore/apps?repository=core 424 Failed Dependency getaddrinfo EAI_AGAIN api.cloudron.io 9.101 ms - 89 GET /api/v1/appstore/apps?repository=core 424 Failed Dependency getaddrinfo EAI_AGAIN api.cloudron.io 10.384 ms - 89 GET /api/v1/appstore/apps?repository=core 424 Failed Dependency getaddrinfo EAI_AGAIN api.cloudron.io 10.285 ms - 89 GET /api/v1/appstore/apps?repository=core 424 Failed Dependency getaddrinfo EAI_AGAIN api.cloudron.io 575.305 ms - 89 GET /api/v1/appstore/apps?repository=core 424 Failed Dependency getaddrinfo EAI_AGAIN api.cloudron.io 10.920 ms - 89 GET /api/v1/appstore/apps?repository=core 424 Failed Dependency getaddrinfo EAI_AGAIN api.cloudron.io 8.970 ms - 89 GET /api/v1/appstore/apps?repository=core 424 Failed Dependency getaddrinfo EAI_AGAIN api.cloudron.io 13.121 ms - 89 GET /api/v1/appstore/apps?repository=core 424 Failed Dependency getaddrinfo EAI_AGAIN api.cloudron.io 10.917 ms - 89 Dec 07 17:13:56 box:locker Lock unreleased platform_start Dec 07 17:18:56 box:locker Lock unreleased platform_start GET /api/v1/appstore/subscription 424 Failed Dependency getaddrinfo EAI_AGAIN api.cloudron.io 1038.846 ms - 89 Dec 07 17:23:22 box:shell statusUnbound exec: systemctl is-active unbound Dec 07 17:23:22 box:shell statusNginx exec: systemctl is-active nginx Dec 07 17:23:22 box:shell statusUnbound (stdout): active Dec 07 17:23:22 box:shell statusUnbound (stderr): null Dec 07 17:23:22 box:shell statusNginx (stdout): active Dec 07 17:23:22 box:shell statusNginx (stderr): null Dec 07 17:23:56 box:locker Lock unreleased platform_start GET /api/v1/appstore/subscription 424 Failed Dependency getaddrinfo EAI_AGAIN api.cloudron.io 2381.412 ms - 89 Dec 07 17:27:38 box:shell statusUnbound exec: systemctl is-active unbound Dec 07 17:27:38 box:shell statusUnbound (stdout): active Dec 07 17:27:38 box:shell statusUnbound (stderr): null Dec 07 17:27:38 box:shell statusNginx exec: systemctl is-active nginx Dec 07 17:27:38 box:shell statusNginx (stdout): active Dec 07 17:27:38 box:shell statusNginx (stderr): null GET /api/v1/appstore/subscription 424 Failed Dependency getaddrinfo EAI_AGAIN api.cloudron.io 989.596 ms - 89 Dec 07 17:28:56 box:locker Lock unreleased platform_start Dec 07 17:28:57 box:shell statusUnbound exec: systemctl is-active unbound Dec 07 17:28:57 box:shell statusUnbound (stdout): active Dec 07 17:28:57 box:shell statusUnbound (stderr): null Dec 07 17:28:57 box:shell statusNginx exec: systemctl is-active nginx Dec 07 17:28:57 box:shell statusNginx (stdout): active Dec 07 17:28:57 box:shell statusNginx (stderr): null Dec 07 17:29:00 box:cloudron Getting logs for box as json
-
@odie said in Fix for kernel bug in Ubuntu 20.04 causing various issues:
GET /api/v1/appstore/subscription 424 Failed Dependency getaddrinfo EAI_AGAIN api.cloudron.io 2381.412 ms - 89
The issue seems to be that unbound is down/not working. Does
host cloudron.io 127.0.0.1
work on the server? -
@girish said in Fix for kernel bug in Ubuntu 20.04 causing various issues:
host cloudron.io 127.0.0.1
No, I get the following output:
Using domain server: Name: 127.0.0.1 Address: 127.0.0.1#53 Aliases: Host cloudron.io not found: 2(SERVFAIL)
Would this be a workaround? https://forum.cloudron.io/post/57804
If so, and if it works, should I leave the forward-everything.conf file, or delete it aftwerwards?
Thanks!