LinuxQuestions.org
Visit Jeremy's Blog.
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 12-15-2009, 09:19 AM   #1
blackdragonblood
Member
 
Registered: May 2005
Location: Minneapolis, MN
Distribution: Debian
Posts: 217

Rep: Reputation: 30
Debian mixing stable with testing. Now, I have 1GB of updates :(


I started experimenting with mixing stable with testing. I was able to install a newer version of openarena as expected. However, now I'm told that I have 1GB of updates. I intended testing to be used on a "when I say so" basis. I'm not sure how to fix this issue.

preferences:
Code:
Package: *
Pin release a=stable
Pin-priority: 700

Package: *
Pin release a=testing
Pin-priority: 650
sources.list
Code:
# 
# deb cdrom:[Debian GNU/Linux 5.0.3 _Lenny_ - Official i386 NETINST Binary-1 20090906-12:06]/ lenny main

#deb cdrom:[Debian GNU/Linux 5.0.3 _Lenny_ - Official i386 NETINST Binary-1 20090906-12:06]/ lenny main

deb http://ftp.us.debian.org/debian/ lenny main non-free contrib
deb-src http://ftp.us.debian.org/debian/ lenny main non-free contrib

deb http://security.debian.org/ lenny/updates main non-free contrib
deb-src http://security.debian.org/ lenny/updates main non-free contrib

deb http://volatile.debian.org/debian-volatile lenny/volatile main non-free contrib
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main non-free contrib

#Testing, enabled for pinning and mixing
deb http://ftp.us.debian.org/debian/ testing main non-free contrib
deb-src http://ftp.us.debian.org/debian testing main non-free contrib
 
Old 12-15-2009, 11:36 AM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
Keeping a mixed system is more than just throwing together different repositories. You have to be very careful how you manage things.

See here for details:
http://www.debian.org/doc/manuals/ap...efault-version
 
Old 12-15-2009, 08:59 PM   #3
blackdragonblood
Member
 
Registered: May 2005
Location: Minneapolis, MN
Distribution: Debian
Posts: 217

Original Poster
Rep: Reputation: 30
adding an apt.conf has fixed the issue.

Thanks!
 
Old 12-16-2009, 10:06 AM   #4
pliqui
Member
 
Registered: Feb 2007
Location: Caracas, Venezuela
Distribution: Debian x64
Posts: 156

Rep: Reputation: 17
Hello,

I always have 2 links about apt-pinning, the issue in linux is when you have a problem, you fix it or script it, etc and then the problem is gone for ever, so your brain can concentrate in new problems and challenges

But Later when you reinstall, upgrade or your pc broke out and want to apply the same solution you simply cannot remember it, so this couple of links are that case, hope you like

The 1st guide is from a fellow LQ member, excellent tutorial

Rickh's Debian Mixed System

Apt-Pinning for Beginners

Last edited by pliqui; 12-16-2009 at 10:07 AM. Reason: Typo
 
Old 12-16-2009, 12:18 PM   #5
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
Quote:
Originally Posted by pliqui View Post
But Later when you reinstall, upgrade or your pc broke out and want to apply the same solution you simply cannot remember it ...
I long ago started keeping notes on what I learn for just this reason. I mostly use kjots for this, which lets me organize them into categorized pages. But of course even a paper notebook would do.

Another option is to post your findings here, under the success stories forum, say, which means others can benefit from it as well.

The only problem I still have is when I don't think something is important enough to keep track of and so don't bother to file it away. That's when I inevitably forget exactly how I did it and wish I had.
 
Old 12-16-2009, 05:30 PM   #6
milomak
Member
 
Registered: May 2009
Posts: 147

Rep: Reputation: 18
that's strange. I run a testing system with unstable pinned to a lower priority. I have never had issues with unstable being dragged in when I wasn't expecting it.

Last edited by milomak; 12-16-2009 at 05:32 PM.
 
  


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
debian testing vs debian stable with testing repositories? wanas Debian 5 02-28-2009 10:23 PM
LXer: For me, Debian Testing is more stable than Stable LXer Syndicated Linux News 0 04-22-2008 05:20 AM
installing debian - stable / testing rangalo Debian 11 04-05-2006 03:40 AM
Debian testing to stable Tinku Linux - General 3 11-24-2005 04:03 AM
debian testing/stable and sid in same pc salahuddin_66 Debian 1 10-13-2005 06:52 PM

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

All times are GMT -5. The time now is 02:28 AM.

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