Score:0

Install net-tools fail in Ubuntu VM in Apple M1 notebook

ke flag

I have installed Ubuntu VM (Ubuntu 20.04.2 ARM64) using Parallels in the Apple M1 notebook. After that, I tried to install net-tools using apt, it failed. Below is the error message.

parallels@ubuntu-linux-20-04-desktop:~$ sudo apt install net-tools
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 code-insiders : Depends: libxss1 but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

I have tried to add the --fix-broken parameter, the issue still persists.

parallels@ubuntu-linux-20-04-desktop:~$ sudo apt --fix-broken install net-tools
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 code-insiders : Depends: libxss1 but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

After searching on Google, I'm not able to find a way to solve this issue. Really appreciate, if someone knows a way to fix this problem.

Thanks, Frank

in flag
Looks like the `code-insiders` package was not completely installed, which is why it's asking for a screen saver extensions pack. `net-tools` isn't the problem as [it is not a dependency](https://packages.ubuntu.com/focal/net-tools). Are you able to install `libxss1` individually? `sudo apt install libxss1` may resolve the issue, then you will be able to install the `net-tools` package normally
Frank avatar
ke flag
Thank you Matigo. It works if install libxss1 manually and then install net-tools.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.