Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 11-17-2011, 12:50 AM   #1
Senior Member
Registered: Jan 2011
Location: United States of Australia
Distribution: Mageia
Posts: 1,369
Blog Entries: 7

Rep: Reputation: 161Reputation: 161
apt-pinning and 'aptitude safe-upgrade'

Hello, i have never used apt pinning but decided to give it a go today. I am running Squeeze, and am trying to apt-pin one program from testing. When i go aptitude safe-upgrade before installing the program, just to make sure it's working like desired; it says i have x amount of upgrades and would i like to proceed. I know that these upgrades aren't coming from the stable branch because when i have the testing repo commented out, update my sources, and try i have no updates.
Is this normal behavior, or have i obviously reconfigured something?
Old 11-17-2011, 05:25 AM   #2
Senior Member
Registered: Apr 2005
Posts: 1,687
Blog Entries: 3

Rep: Reputation: 708Reputation: 708Reputation: 708Reputation: 708Reputation: 708Reputation: 708Reputation: 708
Unless you post the contents of /etc/apt/preferences /etc/apt/apt.conf and /etc/apt/sources.list no one can really help you.

Also a useful command:

apt-cache policy
Also mixing stable and testing binary repos is a bad idea and you will usually run into problems at some point. If you want a package from testing, have a look in backports first to see if it's available there. If not then you can backport it yourself:
Old 11-17-2011, 03:53 PM   #3
Registered: Mar 2002
Location: West (By God) Virginia
Distribution: Debian Squeeze - Sid
Posts: 281

Rep: Reputation: 45
You are confusing holding something back (pinning) to pulling something from testing/wheezy or squeeze-backports (apt-get -t squeeze-backports install package-name).
Old 11-17-2011, 11:58 PM   #4
Senior Member
Registered: Jan 2011
Location: United States of Australia
Distribution: Mageia
Posts: 1,369
Blog Entries: 7

Original Poster
Rep: Reputation: 161Reputation: 161
oh ok, thankyou for clearing that up with me.


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
Installing backports with aptitude safe-upgrade? stardustdk Debian 2 10-18-2010 05:27 PM
[SOLVED] aptitude and full/safe upgrade -- testing radiodee1 Debian 5 10-31-2009 07:10 PM
Problem with aptitude safe-upgrade mikieboy Debian 4 01-10-2008 06:11 PM
Safe to marry aptitude and apt-get? aquaboot Linux - General 6 11-28-2007 10:34 AM
Partial upgrade with APT pinning (debian)? MaulingMonkey Linux - Software 1 01-21-2005 07:11 AM

All times are GMT -5. The time now is 01:20 PM.

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