Skip to content

drivers: ensure DEBIAN_FRONTEND=noninteractive on install#1969

Draft
Chris-Peterson444 wants to merge 1 commit intocanonical:mainfrom
Chris-Peterson444:ubuntu-drivers-debconf-supress
Draft

drivers: ensure DEBIAN_FRONTEND=noninteractive on install#1969
Chris-Peterson444 wants to merge 1 commit intocanonical:mainfrom
Chris-Peterson444:ubuntu-drivers-debconf-supress

Conversation

@Chris-Peterson444
Copy link
Contributor

If ubuntu-drivers picks a dkms package to install, the ubuntu-drivers process will hang on an unsupressed debconf prompt to enter a MOK enrollment key (LP: #2060353).

Somehow, I didn't encounter this bug with broadcom-sta-dkms. Although after looking at the logs/doing some tests with that package, there appears to be some dpkg failures with that package that were stopping the prompt from coming up at all.

Testing this with the LP: #2060353 conditions will take some time to set up since I have to do an offline install now the archive is fixed, and I'm deferring this to later as it's not urgent, but it should just DTRT. You can simulate the good vs bad condition this with autoinstall today with the following late-commands snippets:

hangs:

late-commands:
    - curtin in-target -- sh -c "apt install -y nvidia-dkms-535"

completes:

late-commands:
    - curtin in-target -- sh -c "DEBIAN_FRONTEND=noninteractive apt install -y nvidia-dkms-535"

If ubuntu-drivers picks a dkms package to install, the ubuntu-drivers
process will hang on an unsupressed debconf prompt to enter a MOK
enrollment key (LP: #2060353).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant