"link group ps2pdf is broken"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ghostscript (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Upon any upgrades of Ghostscript (Karmic upgraded from Jaunty):
Setting up ghostscript (8.70.dfsg.
update-
update-
update-
update-
update-
update-
Checking /usr/bin/ps2*:
$ ls -ld /usr/bin/ps2*
-rwxr-xr-x 1 root root 786 2009-08-01 12:49 /usr/bin/ps2ascii
-rwxr-xr-x 1 root root 2822 2009-08-01 12:49 /usr/bin/ps2epsi
-rwxr-xr-x 1 root root 315 2009-08-01 12:49 /usr/bin/ps2pdf
-rwxr-xr-x 1 root root 260 2009-08-01 12:49 /usr/bin/ps2pdf12
-rwxr-xr-x 1 root root 260 2009-08-01 12:49 /usr/bin/ps2pdf13
-rwxr-xr-x 1 root root 260 2009-08-01 12:49 /usr/bin/ps2pdf14
-rwxr-xr-x 1 root root 1127 2009-08-01 12:49 /usr/bin/ps2pdfwr
-rwxr-xr-x 1 root root 673 2009-08-01 12:49 /usr/bin/ps2ps
-rwxr-xr-x 1 root root 704 2009-08-01 12:49 /usr/bin/ps2ps2
lrwxrwxrwx 1 root root 8 2009-08-02 08:33 /usr/bin/ps2txt -> ps2ascii
Notice that ps2pdf is not a symlink. Instead it contains:
#!/bin/sh
# $Id: ps2pdf 8107 2007-07-05 19:04:29Z till $
# Convert PostScript to PDF.
# Currently, we produce PDF 1.4 by default, but this is not guaranteed
# not to change in the future.
version=14
ps2pdf="`dirname $0`/ps2pdf$version"
if test ! -x "$ps2pdf"; then
ps2pdf=
fi
exec "$ps2pdf" "$@"
Checking /etc/alternatives:
$ ls -l /etc/alternativ
lrwxrwxrwx 1 root root 17 2009-08-02 08:33 /etc/alternativ
The alternatives setup and the current shell script are effectively the same, but we should decide which approach we want to talk, and execute it. Either remove /usr/bin/ps2pdf and replace it with a symlink to /etc/alternativ
Changed in ghostscript (Ubuntu): | |
status: | New → Confirmed |