preserve links
hello fellow debian users.
i have a few boxes running sarge here at work which all have gcc-3.2 and gcc-3.3 installed on them. i keep having to manually change the /usr/bin/ link to point gcc to --> gcc-3.2 after every weekly update/upgrade. could someone please explain what tools or commands i should use to prevent this from happening? i await your reply! thanks! -jeff |
Link handling gcc works somewhat different from other debian packages, and has own reasons for it.
In other packages there are the alternatives system that can be configured to point to correct executables. gcc is seen as a system program that shouldn't be changed. See http://bugs.debian.org/107587 and http://bugs.debian.org/115353 for discussion. In sort, you shouldn't do it. If you still think you want to have gcc overridden, you can do it; you have been warned. Code:
dpkg-divert --rename --divert /usr/bin/gcc.dpkg /usr/bin/gcc |
thanks very much!
at *last*
someone was able to provide a clear cut *answer*!!! thanks tonit |
All times are GMT -5. The time now is 12:14 AM. |