** Description changed:

+ [Impact]
+ 
+ Currently some users can encounter an error while upgrading from disco
+ to eoan whenever the kernel has been upgraded before starting the
+ upgrade without a reboot first. This can cause certain dkms packages
+ (like virtualbox-dkms) in certain circumstances to fail. The reported
+ case was that the user was running a not-up-to-date kernel, even though
+ being fully upgraded but not rebooted, while only the one in -upgrades
+ had fixes to support building the virtualbox dkms package.
+ 
+ We need to make sure such issues do not happen again. Since such issues
+ can occur, we not only have to force people to be fully up-to-date
+ before starting the upgrade but also request a reboot if the kernel has
+ been upgraded. This way we'll be sure the users are running the latest
+ kernel.
+ 
+ [Test Case]
+ 
+  * On a disco system, enable disco-proposed and upgrade 
ubuntu-release-upgrader-core.
+  * Upgrade the kernel packages
+    - This can usually be done by simply installing the new kernel package 
that is currently in disco-proposed. Basically most of the time there's always 
a new kernel in-flight.
+    - If not, another possibility is looking for a newer kernel in one of the 
proposed kernel PPAs.
+  * Make sure your system is fully up-to-date.
+  * Run `do-release-upgrade` and make sure it does not allow you to continue 
the upgrade without restarting the system first.
+ 
+ [Regression Potential]
+ 
+ I can't easily think of any regression potential, any issues in the
+ changed code would most likely make the bugfix not work. The most absurd
+ thing I could think of is the match being horribly wrong, asking users
+ to do a reboot where it was not really necessary - but that's basically
+ impossible and, actually, not a big deal.
+ 
+ [Original Description]
+ 
  I upgraded this morning from 19.04 to 19.10 with `do-release-upgrade -d`
  and the upgrade reported that virtualbox, virtualbox-qt, and virtualbox-
  dkms encountered problems during the upgrade.
  
  I uninstalled and reinstalled them after rebooting and saw this:
  
  ```
  ERROR (dkms apport): kernel package linux-headers-5.0.0-29-generic is not 
supported
  Error! Bad return status for module build on kernel: 5.0.0-29-generic (x86_64)
  Consult /var/lib/dkms/virtualbox/6.0.12/build/make.log for more information.
  ```
  
  I think this means the version of virtualbox in 19.10 doesn't want to
  compile against a 19.04 kernel?
  
  The problem with this, of course, is that everyone who upgrades from
  19.04 to 19.10 is going to have a 19.04 kernel installed during the
  upgrade (and afterward, since one old kernel is saved), so the upgrade
  will fail for everyone with virtualbox installed. I think this needs to
  be fixed?
  
  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: virtualbox (not installed)
  ProcVersionSignature: Ubuntu 5.3.0-10.11-generic 5.3.0-rc8
  Uname: Linux 5.3.0-10-generic x86_64
  ApportVersion: 2.20.11-0ubuntu7
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Fri Sep 20 10:47:44 2019
  InstallationDate: Installed on 2019-09-12 (7 days ago)
  InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
  SourcePackage: virtualbox
  UpgradeStatus: Upgraded to eoan on 2019-09-20 (0 days ago)

** Description changed:

  [Impact]
  
  Currently some users can encounter an error while upgrading from disco
  to eoan whenever the kernel has been upgraded before starting the
  upgrade without a reboot first. This can cause certain dkms packages
  (like virtualbox-dkms) in certain circumstances to fail. The reported
  case was that the user was running a not-up-to-date kernel, even though
  being fully upgraded but not rebooted, while only the one in -upgrades
  had fixes to support building the virtualbox dkms package.
  
  We need to make sure such issues do not happen again. Since such issues
  can occur, we not only have to force people to be fully up-to-date
  before starting the upgrade but also request a reboot if the kernel has
  been upgraded. This way we'll be sure the users are running the latest
  kernel.
  
  [Test Case]
  
-  * On a disco system, enable disco-proposed and upgrade 
ubuntu-release-upgrader-core.
-  * Upgrade the kernel packages
-    - This can usually be done by simply installing the new kernel package 
that is currently in disco-proposed. Basically most of the time there's always 
a new kernel in-flight.
-    - If not, another possibility is looking for a newer kernel in one of the 
proposed kernel PPAs.
-  * Make sure your system is fully up-to-date.
-  * Run `do-release-upgrade` and make sure it does not allow you to continue 
the upgrade without restarting the system first.
+  * On a disco system, enable {disco,eoan}-proposed and upgrade 
ubuntu-release-upgrader-core.
+  * Upgrade the kernel packages
+    - This can usually be done by simply installing the new kernel package 
that is currently in {disco,eoan}-proposed. Basically most of the time there's 
always a new kernel in-flight.
+    - If not, another possibility is looking for a newer kernel in one of the 
proposed kernel PPAs.
+  * Make sure your system is fully up-to-date.
+  * Run `do-release-upgrade` and make sure it does not allow you to continue 
the upgrade without restarting the system first.
  
  [Regression Potential]
  
  I can't easily think of any regression potential, any issues in the
  changed code would most likely make the bugfix not work. The most absurd
  thing I could think of is the match being horribly wrong, asking users
  to do a reboot where it was not really necessary - but that's basically
  impossible and, actually, not a big deal.
  
  [Original Description]
  
  I upgraded this morning from 19.04 to 19.10 with `do-release-upgrade -d`
  and the upgrade reported that virtualbox, virtualbox-qt, and virtualbox-
  dkms encountered problems during the upgrade.
  
  I uninstalled and reinstalled them after rebooting and saw this:
  
  ```
  ERROR (dkms apport): kernel package linux-headers-5.0.0-29-generic is not 
supported
  Error! Bad return status for module build on kernel: 5.0.0-29-generic (x86_64)
  Consult /var/lib/dkms/virtualbox/6.0.12/build/make.log for more information.
  ```
  
  I think this means the version of virtualbox in 19.10 doesn't want to
  compile against a 19.04 kernel?
  
  The problem with this, of course, is that everyone who upgrades from
  19.04 to 19.10 is going to have a 19.04 kernel installed during the
  upgrade (and afterward, since one old kernel is saved), so the upgrade
  will fail for everyone with virtualbox installed. I think this needs to
  be fixed?
  
  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: virtualbox (not installed)
  ProcVersionSignature: Ubuntu 5.3.0-10.11-generic 5.3.0-rc8
  Uname: Linux 5.3.0-10-generic x86_64
  ApportVersion: 2.20.11-0ubuntu7
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Fri Sep 20 10:47:44 2019
  InstallationDate: Installed on 2019-09-12 (7 days ago)
  InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
  SourcePackage: virtualbox
  UpgradeStatus: Upgraded to eoan on 2019-09-20 (0 days ago)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1844805

Title:
  virtualbox, virtualbox-dkms, virtualbox-qt fail during upgrade from
  19.04 to 19.10

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1844805/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to