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

Merge apt install for WSL2 #4

Open
sskaje opened this issue Feb 23, 2023 · 0 comments
Open

Merge apt install for WSL2 #4

sskaje opened this issue Feb 23, 2023 · 0 comments

Comments

@sskaje
Copy link
Contributor

sskaje commented Feb 23, 2023

Environment: WSL2, connected from SSH.

apt-get install asks for restarting ssh, which requires an interactive operation to confirm.

apt output

Scanning processes...                                                                                                                                                                                                                         
Scanning candidates...                                                                                                                                                                                                                        
Scanning processor microcode...                                                                                                                                                                                                               
Scanning linux images...                                                                                                                                                                                                                      

Failed to retrieve available kernel versions.

Failed to check for processor microcode upgrades.

Restarting services...
 invoke-rc.d ssh restart
invoke-rc.d: could not determine current runlevel

No containers need to be restarted.

User sessions running outdated binaries:
 root @ /dev/pts/1: friendarm-prepa[528], sh[5979]
 root @ /dev/tty1: init[7]
 sskaje @ /dev/pts/0: bash[447], vim[498]
 sskaje @ /dev/tty1: bash[8]

No VM guests are running outdated hypervisor (qemu) binaries on this host.

Screen display

Package configuration


                                      ┌────┤ Daemons using outdated libraries ├─────┐
                                      │                                             │ 
                                      │                                             │ 
                                      │ Which services should be restarted?         │ 
                                      │                                             │ 
                                      │    [*] ssh                                  │ 
                                      │                                             │ 
                                      │                                             │ 
                                      │          <Ok>              <Cancel>         │ 
                                      │                                             │ 
                                      └─────────────────────────────────────────────┘ 
                                                                                                                                               


Do you mind if I merge most apt-get install lines and start another PR?

Or, add DEBIAN_FRONTEND=noninteractive to readme ?

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

No branches or pull requests

1 participant