I am currently taking a Controlled Assessment, and this is one of the tasks.
Make sure that you have the program
traceroute
installed. (Install it if necessary.)
I went on https://www.codeground.net/howto/traceroute-is-not-installed-by-default-on-ubuntu-replaced-by-mtr/, and it told me to use sudo apt-get install traceroute
,so I tried that, but it comes up with an errror message when I try it.
If you have any solutions I would be very grateful! :-)
Edit: I just used anand's answer, but it says:
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
I am unaware of what this means, so can someone please help.
Edit 2:I tried anand's updated answer, but the error message that comes up is:
Some index files failed to download. They have been ignored, or old ones used instead.
Edit 3: anand told me to add the logs, so here they are.
Unable to fetch some archives,maybe run apt-get update or try with -- fix missing?
I don't know what that means because I am new to Linux, so don't judge my stupidity. – CodingTeen2017 Mar 09 '17 at 10:31apt
stuff, but your question will likely get more help with that included. Trysudo apt-get update
before trying to install. If you get errors, add them to your question too :) – Arronical Mar 09 '17 at 10:41sudo
beforeapt-get install --fix-missing
? – M. Becerra Mar 09 '17 at 11:00sudo apt-get install traceroute
, it came up with the same error. – CodingTeen2017 Mar 09 '17 at 11:43