"dos2unix" command doesn't exist in "tofrodos" package for lucid

Bug #560803 reported by Jure Skelin
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
sqldeveloper-package (Ubuntu)
Fix Released
Undecided
Unassigned
Nominated for Maverick by Andrey Bondarenko

Bug Description

Binary package hint: sqldeveloper-package

In "tofrodos" package for lucid there are not commands "unix2dos" and "dos2unix". Only commands "fromdos" and "todos" exists.

possible solution:
change line 46 in "/usr/bin/make-sqldeveloper-package"
from:
   DOS2UNIX="dos2unix"
to:
   DOS2UNIX="fromdos"

Revision history for this message
Rob Holman (robert-b-holman) wrote :

I had this issue, and confirm using "fromdos" will correct the issue.

Revision history for this message
COKEDUDE (cokedude) wrote :

Is that the correct location?
cat /usr/bin/make-sqldeveloper-package
cat: /usr/bin/make-sqldeveloper-package: No such file or directory

Revision history for this message
Jure Skelin (jure.skelin) wrote :

@Matthewgrinnan

I really don't know why it isn't there
on my machine (32 bit) it is there.

Did you install sqldeveloper-package?
$> aptitude install sqldeveloper-package

Revision history for this message
Robbie Morrison (robbie-actrix) wrote :

My old Ubuntu 6.10 system reports:

$ ls -alF /usr/bin/dos2unix
lrwxrwxrwx 1 root root 7 Dec 22 2006 /usr/bin/dos2unix -> fromdos*
$ file /usr/bin/fromdos
 $ ls -alF /usr/bin/fromdos
-rwxr-xr-x 1 root root 9780 Jun 15 2006 /usr/bin/fromdos*
/usr/bin/fromdos: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.0, dynamically linked (uses shared libs), for GNU/Linux 2.6.0, stripped

On Ubuntu 10.04, it seems that the package 'tofrodos' no longer adds these symlinks.

On reflection, I will convert my scripts that use 'dos2unix' to 'fromdos'. That seems the most robust in the long term. Robbie Morrison, Berlin, Germany.

Revision history for this message
Andrey Bondarenko (abone) wrote :

Ubuntu 10.10 contains fixed version of the package that uses tofrodos, lucid is still contains broken package.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package sqldeveloper-package - 0.2.4

---------------
sqldeveloper-package (0.2.4) unstable; urgency=high

  * Addressed bugs for inclusion in Wheezy's freeze:
    - Replaced dos2unix with tofrodos (LP: #560803,#626272) (Closes: #568982)
      (Reported by Seth Rosenblum)
    - Split grep for shell script (LP: #985810,#998610) (Closes: #692534)
      (Reported by Bruno Medeiros and patch by Brad Powell)
    - Download links updated (Closes: #618650)
      (Reported by Sergio Fernandez)
  * Fixed JDK dependencies for pre and post SQL Developer v2
  * Updated documentation regarding above changes
  * Updated OTN license information to current version
  * Tested against v2.x and v3.x release families of SQL Developer
  * Bumped version to reflect functionality

 -- Lazarus Long <email address hidden> Wed, 14 Nov 2012 11:05:12 +0000

Changed in sqldeveloper-package (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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