LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-07-2007, 12:37 PM   #1
abd_bela
Member
 
Registered: Dec 2002
Location: algeria
Distribution: redhat 7.3, debian lenny
Posts: 627

Rep: Reputation: 31
customising apt-get


HI,
I have a local repository ( usint apt-get procedure0 , and I defined a remote one ( official debian), when I install a package I want to use first my local ( if the package exists) if not I takes it from the remote.

How and where to precise it,

thanks a lot
best regards
bela
 
Old 06-07-2007, 01:49 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
I think you use /etc/apt/preferences and pin things using Origin=.

http://www.argon.org/~roderick/apt-pinning.html
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
slrn: customising keys dive Linux - Software 1 04-29-2006 12:41 PM
Customising XFCE ShockTherapy Linux - Newbie 14 09-24-2005 11:34 PM
Forum dedicated to customising UI? scoops98 LQ Suggestions & Feedback 3 02-25-2005 12:38 PM
customising cups AcerKev Linux - Networking 1 02-03-2004 07:38 AM
customising evolution xconspirisist Linux - Software 4 10-03-2003 04:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration