Public bug reported:
Upon any upgrades of Ghostscript (Karmic upgraded from Jaunty):
Setting up ghostscript (8.70.dfsg.1-0ubuntu1) ...
update-alternatives: using /usr/bin/ps2pdf14 to provide /usr/bin/ps2pdf
(ps2pdf) in auto mode.
update-alternatives: warning: not replacing /usr/bin/ps2pdf with a link.
update-alternatives: warning: forcing reinstallation of alternative
/usr/bin/ps2pdf14 because link group ps2pdf is broken.
update-alternatives: warning: not replacing /usr/bin/ps2pdf with a link.
update-alternatives: warning: forcing reinstallation of alternative
/usr/bin/ps2pdf14 because link group ps2pdf is broken.
update-alternatives: warning: not replacing /usr/bin/ps2pdf with a link.
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="ps2pdf$version"
fi
exec "$ps2pdf" "$@"
Checking /etc/alternatives:
$ ls -l /etc/alternatives/ps2pdf
lrwxrwxrwx 1 root root 17 2009-08-02 08:33 /etc/alternatives/ps2pdf ->
/usr/bin/ps2pdf14
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/alternatives/ps2pdf or remove the link setup so that the install
doesn't complain.
** Affects: ghostscript (Ubuntu)
Importance: Undecided
Status: New
--
"link group ps2pdf is broken"
https://bugs.launchpad.net/bugs/407998
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs