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

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

On Tue, Jul 01, 2003 at 06:50:48PM -0400, 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
> alternatives, you can use update-alternatives or directly change the
> link in /etc/alternatives.

There's one way you've missed: dpkg-divert. I'd say that's the correct
choice here.


Colin Watson                                  [cjwatson@flatline.org.uk]

Reply to: