[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#176112: broken alternative f77

On Sun, Jan 26, 2003 at 08:13:19PM +0100, Matthias Klose wrote:
> > Right, but I don't have g77 installed on this system. That's why the
> > alternative is broken.
> ok, does this work for you (to be included in the gcc package).
> # remove f77 alternative left over from an old egcs version ...
> f77=`update-alternatives --list f77 | fgrep /usr/bin/g77 || true`
> if [ "$f77" = /usr/bin/g77 -a \( -e /usr/doc/g77 -o /usr/share/doc/g77 \) ]
> then
>     update-alternatives --remove f77 /usr/bin/g77
> fi

Hmm. No. There's no such alternative on the system. There's only an
/etc/alternatives/f77 symlink which points nowhere. Nothing in /usr/bin
or anything. Just checking for g77 not installed and the existance of
this file, and if it does, remove it would be enough.

Jordi Mallach Pérez  --  Debian developer     http://www.debian.org/
jordi@sindominio.net     jordi@debian.org     http://www.sindominio.net/
GnuPG public key information available at http://oskuro.net/~jordi/

Reply to: