Precedence of locally-compiled packages
matthew.flaschen at gatech.edu
Wed Aug 29 08:56:07 UTC 2007
Jose Gomez-Dans wrote:
> On 8/29/07, Matthew Flaschen <matthew.flaschen at gatech.edu> wrote:
>>> I have compiled from source a number of packages (I needed to add some
>>> compile flags). However, APT now complains that these packages need to
>>> be updated to the repository's version (which incidentally is the same
>>> as my local packages).
>> Easiest way is to compile to /usr/local/ so APT doesn't override it. Of
>> course, you need to remember to delete the stuff in /usr/local when APT
>> does provide a newer version.
> But surely the whole point of using packages should avoid what you
The whole point of packages is (mainly) so users don't have to compile
and install things themselves. If you (an end-user) have to compile
something, the system's already broken.
> After some searching about, I found this:
> <http://jaqque.sbih.org/kplug/apt-pinning.html>. I haven't actually
> read it, but pin-priority might be the way to go :)
I gave you the simplest method. But pinning is probably more elegant.
More information about the kubuntu-users