I tried to use traceroute
for my networking project. But whenever I tried to install traceroute
it shows that
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt--fix-broken install' to correct these.
The following packages have unmet dependencies:
code : Depends: libgconf-2-4 but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Then I followed this link. But again it is not successfully installed and shows that,
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies: code : Depends: libgconf-2-4 but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Now my question is, How I can install the traceroute
in my ubuntu 18.04?
UPDATE:
Your apt package manager is having trouble, you need to run:
to check for broken installations and clean-up your apt package manager.
You should consider restarting your computer (depending on what apt fixed).
Now you can choose to use the tracepath package (preinstalled in linux) like this:
Or install Universe packages traceroute & net-tools with: