Precedence of locally-compiled packages

Matthew Flaschen matthew.flaschen at
Wed Aug 29 08:56:07 UTC 2007

Jose Gomez-Dans wrote:
> Hi,
> On 8/29/07, Matthew Flaschen <matthew.flaschen at> 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
> suggest!

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:
> <>. 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.

Matt Flaschen

More information about the kubuntu-users mailing list