On Fri, Aug 25, 2006 at 08:47:22PM +0200, Sven Joachim wrote:
> Probably even better would be to just create the missing symlink
> yourself, with
> 
> [ -e /usr/bin/yacc ] || ln -s /etc/alternatives/yacc /usr/bin
> 
> instead of
> 
> [ -e /usr/bin/yacc ] || update-alternatives --auto yacc
> 
> manual alternatives don't get destroyed on upgrade from 2.3.dfsg-1.

I think we still need to switch the yacc alternative to auto because of
the nature of the breakage in 2.3.dfsg-1.

If the system contains a working, auto yacc alternative when you install
2.3.dfsg-1, the alternatives system will notice that the /usr/bin/yacc
symlink is stomped on and switch the yacc alternative to manual.
Manually creating the missing symlink fixes the problem for now, but
unless someone switches the yacc alternative back to auto, the
alternatives system will leave the yacc alternative alone and result in
further breakage (for example, a dangling /usr/bin/yacc symlink after
all yacc alternatives had been removed).

-- 
Chuan-kai Lin
http://web.cecs.pdx.edu/~cklin/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to