Installing non-free drives fails due to simple-plugins calling `ubuntu-drivers autoinstall ...`

Bug #1943594 reported by Łukasz Zemczak
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Invalid
Critical
Unassigned
Bionic
Fix Released
Critical
Unassigned

Bug Description

[Impact]

Currently installing bionic 18.04.6 candidate images on a system that uses non-free drivers (via ubuntu-drivers) will fail installing those additional drivers. The reason for that is that the call to simple-plugins fails as it tries to execute `ubuntu-drivers autoinstall (...) --package-list (...)`, which is syntax that has been deprecated in the current ubuntu-drivers-common package.

The fix is to use `ubuntu-drivers install ...` as we do for focal+.

[Test Case]

Rebuild images with the -proposed ubiquity (or hack it in manually to an iso), perform installation on a system using ubuntu-drivers (for instance, NVidia GPU), check "Install third-party software...", finish installation and check if the installed system has the required drivers installed.
Additionally a quick browse through the syslog of the ubiquity installation would be a nice double-check.

[Regression Potential]

Currently installing ubuntu-drivers via ubiquity does not work at all, so the only regression here is that the new argument might be somehow incomplete causing not all drivers to be installed.

description: updated
Changed in ubiquity (Ubuntu Bionic):
importance: Undecided → Critical
status: New → Confirmed
Changed in ubiquity (Ubuntu):
status: New → Invalid
Revision history for this message
Łukasz Zemczak (sil2100) wrote :
Changed in ubiquity (Ubuntu Bionic):
status: Confirmed → Fix Committed
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

...ok, nevermind. This is NOT a regression then!

Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Łukasz, or anyone else affected,

Accepted ubiquity into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ubiquity/18.04.14.17 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

tags: added: verification-needed verification-needed-bionic
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Tested 18.04.14.17 from bionic-proposed with the current 18.04.6 candidate images and the ubuntu-drivers call no longer fails.

tags: added: verification-done verification-done-bionic
removed: verification-needed verification-needed-bionic
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubiquity - 18.04.14.17

---------------
ubiquity (18.04.14.17) bionic; urgency=medium

  * scripts/simple-plugins: ubuntu-drivers autoinstall is now deprecated, use
    'install' instead (LP: #1943594).

 -- Łukasz 'sil2100' Zemczak <email address hidden> Tue, 14 Sep 2021 15:28:18 +0200

Changed in ubiquity (Ubuntu Bionic):
status: Fix Committed → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for ubiquity has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.