2

Needing to download 'traceroute' for some work that I have to do, I tried to download the package using 'sudo apt-get install'. After looking online, I saw that I might have to update the software but that didn't work either. Any ideas?

ubuntu@ubuntu:~$ sudo apt-get install traceroute
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package traceroute 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 'traceroute' has no installation candidate

ubuntu@ubuntu:~$ sudo apt-get install update
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package update

P.S. inetutils-traceroute is not working, therefore I need another answer to be able to download the package.

Campers
  • 89

2 Answers2

9

firstly run the command below to update repositories if prompted to press y/n press y:

sudo apt-get update

afterwards run this command to update existing software, if prompted to press y/n press y:

sudo apt-get upgrade

Then install traceroute with the command below, once again, if prompted to press y/n, press y:

sudo apt-get install inetutils-traceroute
user34716
  • 165
0

regarding this post (How to install traceroute utility?)

use sudo apt-get install inetutils-traceroute

best regards,