1

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
  • 79
  • The answer below and in the linked duplicate is correct, though inetutils-traceroute is in the universe repositories, do you have them enabled? – Arronical Sep 14 '16 at 14:29
  • Don't think so, how would I go about enabling universe repositories – Campers Sep 14 '16 at 14:30
  • http://askubuntu.com/a/148645/320386 or the answer below it if you want to use command line. – Arronical Sep 14 '16 at 14:32
  • Still nothing, I've activated the universe repository, but it still says that: E: Package 'traceroute' has no installation candidate – Campers Sep 14 '16 at 14:38
  • FYI the tracepath utility has much of the same functionality, and should be installed by default iirc – steeldriver Sep 14 '16 at 14:43
  • That error message makes it look like your not using the sudo apt-get install inetutils-traceroute command – Arronical Sep 14 '16 at 14:45
  • When I use 'sudo apt-get install inetutils-traceroute', I get : E: Unable to locate package inetutils – Campers Sep 14 '16 at 14:49

2 Answers2

8

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
  • 155
0

regarding this post (How to install traceroute utility?)

use sudo apt-get install inetutils-traceroute

best regards,

Ahmed Al-attar
  • 313
  • 2
  • 13