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

Re: How to change a symlink without breaking anything (problems with g++)



David Z Maze wrote:
Morten Eriksen <mortene@sim.no> writes:


What is the correct manner of changing a symlink file belonging to a
Debian package? Is it sufficient to just rm and re-link, or should I
use any of the package-handling tools?


You can't.  (Well, you can, but the next time you upgrade the package,
your change will be overwritten.)  If the package in question uses

You can use dpkg-divert[dpkg-divert --add /usr/bin/g++; ln -sf /usr/bin/g++-2.95 /usr/bin/g++]

Attachment: pgp6hJaXu8Z9e.pgp
Description: PGP signature


Reply to: