Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 23rd May 2010, 14:23
praka123 praka123 is offline
Junior Member
 
Join Date: Oct 2005
Location: Kerala,India
Posts: 14
Thanks: 3
Thanked 2 Times in 2 Posts
Post Apt-Pinning For Debian Testing,Unstable:Help

I've just Installed Debian Testing.I want to apt pin Squeeze and Sid(testing and unstable).
I want to have testing along with packages from unstable also installed with almost equal priority hopefully not breaking the system.
few years back,I tried running unstable and experimental apt-pinned and it was such a mess with daily huge updates.
I don't want such a mess.
My Plan is to Apt Pinn:
  • Debian Squeeze,Debian Squeeze-proposed-updates given maximum priority
  • Debian Sid/Unstable given slightly less Priority.

There is a testing-proposed-updates repository also with Debian Squeeze.

Checked your(falko) How to and Below is How My /etc/apt/preferences File Looks like:
Code:
Package: *
Pin: release a=testing
Pin-Priority: 700

Package: *
Pin: release a=testing-proposed-updates
Pin-Priority: 700


Package: *
Pin: release a=unstable
Pin-Priority: 650
And here ,the Other Files:
/etc/apt/apt.conf:
Code:
APT::Cache-Limit "100000000";
APT::Default-Release "testing";
and /etc/apt/sources.list :
Code:
# Testing
deb http://ftp.debian.org/debian/ testing main contrib non-free
deb-src http://ftp.debian.org/debian/ testing main contrib non-free

#Testing Security Updates
deb http://security.debian.org/ testing/updates main
deb-src http://security.debian.org/ testing/updates main

#Testing Proposed Updates
deb http://ftp.debian.org/debian/ testing-proposed-updates main contrib non-free
deb-src http://ftp.debian.org/debian/ testing-proposed-updates main contrib non-free

# Marillat For info visit http://www.debian-multimedia.org
deb http://www.debian-multimedia.org testing main non-free
#deb-src http://www.debian-multimedia.org testing main

#Unstable
deb http://ftp.debian.org/debian/ unstable main contrib non-free
deb-src http://ftp.debian.org/debian/ unstable main contrib non-free

#Unstable Kirya 
deb http://packages.kirya.net/debian/ sid main contrib non-free
deb-src http://packages.kirya.net/debian/ sid main contrib non-free
Is This OK?

Thanks

Last edited by praka123; 23rd May 2010 at 15:21.
Reply With Quote
Sponsored Links
  #2  
Old 24th May 2010, 22:17
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,728 Times in 2,566 Posts
Default

Looks good, but did you test with apt-policy?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 2nd June 2010, 18:17
praka123 praka123 is offline
Junior Member
 
Join Date: Oct 2005
Location: Kerala,India
Posts: 14
Thanks: 3
Thanked 2 Times in 2 Posts
Smile Solved

Forgot to Update the Post.
apt-cache policy shows everything as of now was pulled from testing(Squeeze) repository
I've below /etc/apt/apt.conf file:
Code:
APT::Cache-Limit "100000000";
APT::Default-Release "testing";
and /etc/apt/preferences file:
Code:
Package: *
Pin: release a=testing
Pin-Priority: 900


Package: *
Pin: release a=unstable
Pin-Priority: 300

Package: *
Pin: release o=Debian
Pin-Priority: -1
Reply With Quote
Reply

Bookmarks

Tags
apt-pinning, debian, sources.list, squeeze

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
apt problems bluntman HOWTO-Related Questions 1 29th July 2005 11:17


All times are GMT +2. The time now is 07:30.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.