Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 06-12-2012, 08:11 PM   #1
LQ Newbie
Registered: Apr 2012
Distribution: Debian Wheezy
Posts: 17

Rep: Reputation: Disabled
Prevent apt from pulling updates from all repos in sources.list

Hi guys!

I'm running Debian Wheezy and though I use select packages from unstable and experimental (like chromium and iceweasel for example) I'm not willing to upgrade everything, ie. only specified packages should be pulled from the unstable repos. This is my sources.list at the moment.
deb wheezy main contrib non-free
deb wheezy-proposed-updates main contrib non-free

deb unstable main
deb experimental main

deb wheezy/updates main contrib non-free
I guess what I'm looking for is sort of how the backports work for squeeze, unless I use the -t flag to explicitly pull packages from unstable or experimental I don't want it to pull packages or package updates from them (except for packages already installed from there of course).

Any ideas?
Old 06-12-2012, 08:35 PM   #2
Senior Member
Registered: Dec 2004
Location: Caracas, Venezuela
Distribution: Debian Sid, OpenSUSE 13.2
Posts: 1,124

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
You can resort to apt-pinning in order to give priority to the main Wheezy repo and download/install from Unstable and Experimental only by explicitly telling apt-get to download from there (with the -t option).

Last edited by odiseo77; 06-12-2012 at 08:38 PM.
Old 06-12-2012, 10:50 PM   #3
Senior Member
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,734
Blog Entries: 12

Rep: Reputation: 459Reputation: 459Reputation: 459Reputation: 459Reputation: 459
Howto: Set up and Maintain a Mixed Testing/Unstable System :
1 members found this post helpful.
Old 06-13-2012, 12:02 PM   #4
LQ Newbie
Registered: Apr 2012
Distribution: Debian Wheezy
Posts: 17

Original Poster
Rep: Reputation: Disabled
Thanks, that was easy!

All I did was to add the following line at the end of the file /etc/apt/apt.conf.d/70debconf

APT::Default-Release "testing";
Thanks guys!


apt, packages, wheezy

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
'E:Malformed line 54 in source list /etc/apt/sources.list (dist parse), E:The list of Linux - Desktop 1 11-17-2010 08:17 AM
apt-get; E: Type 'GPG' is not known on line 20 in source list /etc/apt/sources.list tomorrow Linux - Newbie 9 05-21-2009 08:42 AM
sources.list repos for apt-get : to install Opera with youtube working frenchn00b Debian 5 10-22-2008 04:16 PM
Need Recommendation for Debian Etch sources.list ( /etc/apt/sources.list ) forgox Debian 6 05-05-2007 01:57 PM
Noob to debian - add repos to sources.list kdrlx Linux - Newbie 1 01-29-2007 12:32 AM

All times are GMT -5. The time now is 07:41 AM.

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