While MandrakeUpdating to gcc-c++-2.96-0.29mdk:

update-alternatives: --auto needs <name>

Debian GNU/Linux update-alternatives 1.6.13.  Copyright (C) 1995
Ian Jackson.  This is free software; see the GNU General Public Licence
version 2 or later for copying conditions.  There is NO warranty.

Usage: update-alternatives --install <link> <name> <path> <priority>
                          [--slave <link> <name> <path>] ...
       update-alternatives --remove <name> <path>
       update-alternatives --auto <name>
       update-alternatives --display <name>
       update-alternatives --config <name>
<name> is the name in /etc/alternatives.
<path> is the name referred to.
<link> is the link pointing to /etc/alternatives/<name>.
<priority> is an integer; options with higher numbers are chosen.

Options:  --verbose|--quiet  --test  --help  --version
          --altdir <directory>  --admindir <directory>
update-alternatives: --auto needs <name>

Debian GNU/Linux update-alternatives 1.6.13.  Copyright (C) 1995
Ian Jackson.  This is free software; see the GNU General Public Licence
version 2 or later for copying conditions.  There is NO warranty.

Usage: update-alternatives --install <link> <name> <path> <priority>
                          [--slave <link> <name> <path>] ...
       update-alternatives --remove <name> <path>
       update-alternatives --auto <name>
       update-alternatives --display <name>
       update-alternatives --config <name>
<name> is the name in /etc/alternatives.
<path> is the name referred to.
<link> is the link pointing to /etc/alternatives/<name>.
<priority> is an integer; options with higher numbers are chosen.

Options:  --verbose|--quiet  --test  --help  --version
          --altdir <directory>  --admindir <directory>
execution of gcc-c++-2.96-0.29mdk script failed, exit status 2

And indeedio, the postinstall script for the RPM is flawed:

# rpm -q --scripts gcc-c++-2.96-0.29mdk
postinstall script (through /bin/sh):
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-2.96 10
update-alternatives --auto

b.



-- 
Brian J. Murrell

Reply via email to