0

This question already has an answer here:

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.

marked as duplicate by Arronical, Anwar, user117103, Eric Carvalho, Kaz Wolfe Sep 26 '16 at 0:38

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 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
  • 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
3

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
0

regarding this post (How to install traceroute utility?)

use sudo apt-get install inetutils-traceroute

best regards,

  • Thanks, but still nothing, still says unable to locate package. – Campers Sep 14 '16 at 14:24
  • can you paste what it says ? – Ahmed Al-attar Sep 14 '16 at 14:26
  • Sorry, wrote the wrong thing, it says: E: Unable to locate package inetutils-traceroute – Campers Sep 14 '16 at 14:26
  • 1
    Sorry, wrote the wrong thing, it says: E: Unable to locate package inetutils-traceroute – Campers Sep 14 '16 at 14:29
  • 2
    Please do not post duplicate answers on different questions. It just creates more work for the moderators. If the questions are so similar that the same answer works on each, then the later of the two is likely a duplicate and should be flagged as such. – guntbert Sep 14 '16 at 16:56

Not the answer you're looking for? Browse other questions tagged or ask your own question.