no entry for dos2unix in Lucid

Bug #540071 reported by George Standish
30
This bug affects 5 people
Affects Status Importance Assigned to Milestone
command-not-found (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: command-not-found

in Karmic:

   $ dos2unix
   The program 'dos2unix' is currently not installed. You can install it by typing:
   sudo apt-get install tofrodos

in Lucid:

   $ dos2unix
   dos2unix: command not found

or

   $ tofrodos
   tofrodos: command not found

ProblemType: Bug
Architecture: amd64
Date: Wed Mar 17 03:05:35 2010
DistroRelease: Ubuntu 10.04
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20100215.1)
NonfreeKernelModules: nvidia
Package: command-not-found 0.2.40ubuntu3
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=en_CA.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-16.25-generic
SourcePackage: command-not-found
Uname: Linux 2.6.32-16-generic x86_64

Revision history for this message
George Standish (george-standish-deactivatedaccount) wrote :
Revision history for this message
Evan P (evplatt-gmail) wrote :

Note that bug 523264 (https://bugs.launchpad.net/command-not-found/+bug/523264) indicates that 'dos2unix' is no longer a part of the 'tofrodos' package, but is rather contained in the new 'dos2unix' package.

This appears to be a separate issue from bug 523264, which directs the user to the 'tofrodos' package similar to the Karmic example in the bug description.

Revision history for this message
Evan P (evplatt-gmail) wrote :

Reproduced in Lucid with the latest PPA version of command-not-found (0.2.41ubuntu1).

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

0.2.41ubuntu1 has the same data (so it gives the same hints) as 0.2.40ubuntuX.

Each issue like that has two possible causes:

1) The scan.data file is out of date and next repo scan performed by Michael Vogt (mvo) will fix this problem

2) The scan.data file is latest but the file is missing because a package uses some fancy script to update-alternatives and our poor's man parser doesn't handle such syntax yet. This issue is more difficult to fix.

Revision history for this message
P.Constantine (pconstantine) wrote :

sudo apt-get install dos2unix
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package dos2unix

I don't see how this is a problem of command-not-found

Revision history for this message
COKEDUDE (cokedude) wrote :

I'm also having this problem of command-not-found.

Revision history for this message
Anthony Hunter (anthonyhunter) wrote :

I am also having this issue and there appears to be no workaround, other than to copy dos2unix from an older Ubuntu?

Revision history for this message
Rafael Laufer (rlaufer) wrote :

In 10.04 you can install the tofrodos package and use todos

apt-get install tofrodos
todos -h

Revision history for this message
mstute (mstute) wrote :

A lot of existing scripts assume that dos2unix exists...
After having tofrodos installed just create an alias:
alias dos2unix="todos -d"
and create other missing commands you need (todos -h)

Changed in command-not-found (Ubuntu):
status: New → 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.