Le Vendredi 27 Septembre 2002 14:08, Gwenole Beauchesne a �crit :
> On 27 Sep 2002, Guillaume Cottenceau wrote:
> > > Just installed 9.0, and found out CPP doesn't work: /usr/lib is a
> > > symlink to /etc/alternatives/lib_cpp, which in turn doesn't exists.
> >
> > Installed or upgraded?
> >
> > To fix alternatives problem with gcc in general, ppl should use:
> >
> > # update-alternatives --auto gcc
>
> "with gcc in general" is a quite particular case here gc. ;-)
>
> That will work for any other alternativeszificated package. Likewise, if
> you want to change the link:
>
> # update-alternatives --config <whatever>.
Shouldn't use of update-alternative in %post and %preun always be restricted 
on strict installation or uninstallation scenarios, aka not just upgrade ?

To be more precise, using just update-alternatives --remove in %preun and  
update-alternatives --add in %post is wrong, but i'm not sure about the best 
way to solve this.
-- 
Guillaume Rousse <[EMAIL PROTECTED]>
GPG key http://lis.snv.jussieu.fr/~rousse/gpgkey.html

Reply via email to