-   Debian (
-   -   priority in apt-get for repository (

abd_bela 09-19-2007 09:28 AM

priority in apt-get for repository
I am looking for possibility to make priority for repository.
In fact I have a local repository, when I want to install a package I
want apt to check first in the local to install it from there if it
for example
here is my sources.list:
deb file:/opt/ R4.1_2/
deb file:/opt/R4.1_1 etch main contrib
deb lenny main contrib non-free

If a software (say lyx-1.5.1), exists in /opt/R4.1_2/ I want to
install it from here and not from where the
version is the same of course.

I haven't found info about priority in the apt doc????

thanks for help

farslayer 09-19-2007 10:24 AM

look at apt pinning and the /etc/apt/preferences file

apt-pinning for beginners

All times are GMT -5. The time now is 07:12 PM.