Cannot install net-tools in Ubuntu 20.04 focal [duplicate]

Iḿ trying to run the command

ifconfig

The output is:

Command 'ifconfig' not found, did you mean:
command 'iconfig' from deb ipmiutil (3.1.5-1)
command 'pifconfig' from deb python3-ethtool (0.14-3build1)
command 'fconfig' from deb redboot-tools (0.7build3)
Try: sudo apt install <deb name>

I tried to install it via:

sudo apt-get install net-tools

But didn't work:

Reading package lists... Done
Building dependency tree
Reading state information... Done Package net-tools is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source
E: Package 'net-tools' has no installation candidate

I'm running Ubuntu 20-04, and searched on ubuntu.packages.com and found this result:

package is there

What am I doing wrong?

Update

I was able to solve the problem following this topic:

What does "Package <package> has no installation candidate" mean?

Thank you all for the replies.

7 Reset to default

You Might Also Like