Recommend tracepath for "traceroute" and "tracert"

Bug #508606 reported by Scott Ritchie
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Ubuntu Server papercuts
Fix Released
Medium
Chuck Short
command-not-found
Fix Released
Wishlist
Unassigned
command-not-found (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: command-not-found

Tracepath provides better functionality than traceroute does and is installed by default. Without a command not found entry, many might install the traceroute package when they would be better served by just using tracepath. tracert is the equivalent windows command, so a recommendation there would help as well.

ProblemType: Bug
Architecture: amd64
Date: Sat Jan 16 18:42:24 2010
DistroRelease: Ubuntu 10.04
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20100113)
Package: command-not-found 0.2.40ubuntu1
PackageArchitecture: all
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-10.14-generic
SourcePackage: command-not-found
Tags: lucid
Uname: Linux 2.6.32-10-generic x86_64

Revision history for this message
Scott Ritchie (scottritchie) wrote :
Thierry Carrez (ttx)
Changed in server-papercuts:
importance: Undecided → Medium
status: New → Confirmed
Thierry Carrez (ttx)
Changed in server-papercuts:
milestone: none → lucid-beta-2
Revision history for this message
Zygmunt Krynicki (zyga) wrote :

I can add support for "better try command %s" support.
Is anyone interested in preparing a good list of discouraged commands and their better replacements?

Changed in command-not-found:
importance: Undecided → Wishlist
status: New → Confirmed
milestone: none → 0.2.42
Zygmunt Krynicki (zyga)
Changed in command-not-found:
status: Confirmed → In Progress
assignee: nobody → Zygmunt Krynicki (zkrynicki)
Revision history for this message
Thierry Carrez (ttx) wrote :

Looks like this requires new development inside command-not-found to support <<you typed "foo", better try "bar" from package "bartools">>. This cannot be fixed as a server papercut, but the idea is definitely worth looking at (for 10.10 ?).

Changed in server-papercuts:
status: Confirmed → Invalid
Revision history for this message
Thierry Carrez (ttx) wrote :

We should have a session about improving best practice pointers like those at UDS, hopefully coming up with a list for you :)

Revision history for this message
Zygmunt Krynicki (zyga) wrote :

This would be great (AFAIK I'm attendig this UDS :-)

The new code in trunk already has some support for this.
I hope to finish this and release next version this week.
I added new module that can easily accomodate all kinds of quirks for current distro.

Revision history for this message
Thierry Carrez (ttx) wrote :

Back on track for the Maverick Papercuts cycle.
Zygmunt: did you make any progress on supporting those "recommendations" in command-not-found ?

Changed in server-papercuts:
milestone: lucid-beta-2 → none
status: Invalid → Confirmed
Revision history for this message
Zygmunt Krynicki (zyga) wrote :

Yes, partial.

This feature is implemented in the infrastructure bit of c-n-f. What is not missing is a new fronted/UI client that will be able to use this data. I'll push existing code into lp:command-not-found trunk later today. The frontend can be developed quickly, even for alphas.

Revision history for this message
Zygmunt Krynicki (zyga) wrote :

I would seriously welcome contributors and testers for the new version (in that order). Volunteers should ping me in #ubuntu-devel on freenode.

Revision history for this message
Thierry Carrez (ttx) wrote :

Setting papercut nomination to incomplete, as upstream support for "suggestions" is not ready yet.

Changed in server-papercuts:
status: Confirmed → Incomplete
Chuck Short (zulcss)
Changed in server-papercuts:
assignee: nobody → Chuck Short (zulcss)
Zygmunt Krynicki (zyga)
Changed in command-not-found:
milestone: 0.2.42 → none
status: In Progress → Confirmed
assignee: Zygmunt Krynicki (zkrynicki) → nobody
Changed in command-not-found (Ubuntu):
status: New → Confirmed
Revision history for this message
Joshua Powers (powersj) wrote :

Cleaning up old papercuts, this appears fixed. Output from xenial below:

$ traceroute
The program 'traceroute' can be found in the following packages:
 * inetutils-traceroute
 * traceroute
Try: sudo apt install <selected package>

$ tracert
No command 'tracert' found, did you mean:
 Command 'tracer' from package 'pvm-dev' (universe)
 Command 'tracert6' from package 'ndisc6' (universe)
tracert: command not found

Marking fixed released.

Changed in server-papercuts:
status: Incomplete → Fix Released
Changed in command-not-found (Ubuntu):
status: Confirmed → Fix Released
Changed in command-not-found:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.