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

Under Ubuntu 24.04, installing canonical-certification-server requires user interaction #1171

Open
rodwsmith opened this issue Apr 10, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@rodwsmith
Copy link
Collaborator

Bug Description

When installing canonical-certification-server in Ubuntu 24.04, apt presents a "Configuring iperf3" text-mode dialog:

│ Choose this option if Iperf3 should start automatically as a daemon, now  │ 
│ and at boot time.                                                         │ 
│                                                                           │ 
│ Start Iperf3 as a daemon automatically?                                   │ 
│                                                                           │ 
│                    <Yes>                       <No> 

This is OK if it's happening at the console; but if it's being installed automatically (as part of a Testflinger deployment, say), it leaves the package unconfigured, which then prevents further APT actions until the issue is resolved.

I'm not sure if this is really best handled as a Checkbox bug, or should be dealt with by adapting other projects.

To Reproduce

  1. Install Ubuntu 24.04
  2. sudo add-apt-repository pp:checkbox-dev/stable
  3. sudo apt install canonical-certification-server

Environment

  • Ubuntu 24.04.
  • Tested on two systems -- notso (in DRN) and brennan (one of my own computers)
  • APT packaging

Relevant log output

No response

Additional context

No response

@rodwsmith rodwsmith added the bug Something isn't working label Apr 10, 2024
Copy link

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/CHECKBOX-1382.

This message was autogenerated

@rodwsmith
Copy link
Collaborator Author

I've verified that installing iperf3 alone, before installing c-c-s, does the same thing.

@bladernr
Copy link
Collaborator

As a workaround (noted in email), you can try this:

sudo DEBIAN_FRONTEND=noninteractive apt install iperf3

which should squash the user interactivity. (Note, you may need to do this with apt-get, I'm not sure if apt will listen to that setting or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants