Precedence of locally-compiled packages

Jose Gomez-Dans jgomezdans at gmail.com
Wed Aug 29 08:32:58 UTC 2007


Hi,

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
suggest! I can compile and install into /usr/local/, but other
packages will install the repository version. I can either go with
this and have an LD_PATH exception (a hassle), or the problem is still
there.

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

Cheers!
Jose




More information about the kubuntu-users mailing list