friendlyarm/build-env-on-ubuntu-bionic

Merge apt install for WSL2

sskaje opened this issue · 0 comments

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 ?