virtualbox, virtualbox-dkms, virtualbox-qt fail during upgrade from 19.04 to 19.10
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-release-upgrader (Ubuntu) |
Fix Released
|
Medium
|
Łukasz Zemczak | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned | ||
Disco |
Fix Released
|
Medium
|
Łukasz Zemczak | ||
Eoan |
Fix Released
|
Medium
|
Łukasz Zemczak | ||
Focal |
Fix Released
|
Medium
|
Łukasz Zemczak |
Bug Description
[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,
* Upgrade the kernel packages
- This can usually be done by simply installing the new kernel package that is currently in {disco,
- 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-
[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-
Error! Bad return status for module build on kernel: 5.0.0-29-generic (x86_64)
Consult /var/lib/
```
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)
ProcVersionSign
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)
tags: | added: regression-release |
Changed in ubuntu-release-upgrader (Ubuntu): | |
status: | Incomplete → Triaged |
tags: | removed: rls-ff-incoming |
Changed in virtualbox (Ubuntu Eoan): | |
status: | New → Invalid |
Changed in ubuntu-release-upgrader (Ubuntu Eoan): | |
status: | New → Triaged |
importance: | Undecided → Medium |
tags: | added: id-5db1d1e0a5035a6075816b57 |
Changed in ubuntu-release-upgrader (Ubuntu Focal): | |
assignee: | nobody → Łukasz Zemczak (sil2100) |
Changed in ubuntu-release-upgrader (Ubuntu Eoan): | |
assignee: | nobody → Łukasz Zemczak (sil2100) |
description: | updated |
description: | updated |
Changed in ubuntu-release-upgrader (Ubuntu Disco): | |
status: | New → Triaged |
assignee: | nobody → Łukasz Zemczak (sil2100) |
importance: | Undecided → Medium |
no longer affects: | virtualbox (Ubuntu) |
no longer affects: | virtualbox (Ubuntu Disco) |
no longer affects: | virtualbox (Ubuntu Eoan) |
no longer affects: | virtualbox (Ubuntu Focal) |
tags: |
added: dist-upgrade removed: regression-release |
tags: |
added: verification-done-disco removed: verification-needed-disco |
tags: | removed: verification-needed |
Hello, do you think you can attach also the referenced file? dkms/virtualbox /6.0.12/ build/make. log
/var/lib/
thanks