views:

22

answers:

1

Hi. I've been struggling for quite a time now. Each time I build and install an app, after running aptitude, it wants to upgrade it even if it is on the same version.

I tried to build with apt-src and apt-build too, but no luck.

Here is my configuration : /etc/apt/preferences

Package: *
Pin: release o=apt-build
Pin-Priority: 510

Even if I change the second line to :

Pin: origin

I get no luck, and aptitude wants to over install my optimized packages.

/etc/apt/sources.list.d/apt-build.list

deb file:/var/cache/apt-build/repository apt-build main
A: 

This should prevent apt from updating the package

aptitude hold 'package-name'

You can reverse this by using aptitude unhold

Brian Bay