Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drivers: ensure DEBIAN_FRONTEND=noninteractive on install #1969

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

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
1 participant