Re: how to give priority to local repository

2011-04-07 Thread Andrei Popescu
On Jo, 07 apr 11, 09:39:27, abdelkader belahcene wrote: > Hi, > Sometimes I have the same version of sofware in my local repository and the > remote repos, > of course I want to install the soft from the local, > > plaease HOW TO tell this to apt-get . If the versions are identical it should be

Re: how to give priority to local repository

2011-04-07 Thread Sven Hoexter
On Thu, Apr 07, 2011 at 11:05:32AM +0200, abdelkader belahcene wrote: > Thanks for answer, I did it but there is an extra line > ( the first 900 http://ftp.fr.debian.org/debian/ squeeze/main > Translation-fr ) Those are the translated package descriptions. That shoudn't have any effect on th

Re: Re: how to give priority to local repository

2011-04-07 Thread abdelkader belahcene
Thanks for answer, I did it but there is an extra line ( the first 900 http://ftp.fr.debian.org/debian/ squeeze/main Translation-fr ) how to remove it: *here is my file* cat /etc/apt/preferences Package: * Pin: origin "" Pin-Priority: 900 Package: * Pin: origin "localhost" Pin-Priority: 6

Re: how to give priority to local repository

2011-04-07 Thread Sven Hoexter
On Thu, Apr 07, 2011 at 09:39:27AM +0200, abdelkader belahcene wrote: > Hi, > Sometimes I have the same version of sofware in my local repository and the > remote repos, > of course I want to install the soft from the local, > > plaease HOW TO tell this to apt-get . You can achieve that with pin

how to give priority to local repository

2011-04-07 Thread abdelkader belahcene
Hi, Sometimes I have the same version of sofware in my local repository and the remote repos, of course I want to install the soft from the local, plaease HOW TO tell this to apt-get . thanks regards bela