Latest LQ Deal: Linux Power User Bundle
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-16-2011, 11:50 PM   #1
Senior Member
Registered: Jan 2011
Location: Australia
Distribution: OpenSUSE
Posts: 1,396
Blog Entries: 7

Rep: Reputation: 166Reputation: 166
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, 04:25 AM   #2
Senior Member
Registered: Apr 2005
Location: Walsall, England
Distribution: OpenBSD
Posts: 1,915
Blog Entries: 5

Rep: Reputation: 972Reputation: 972Reputation: 972Reputation: 972Reputation: 972Reputation: 972Reputation: 972Reputation: 972
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, 02: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, 10:58 PM   #4
Senior Member
Registered: Jan 2011
Location: Australia
Distribution: OpenSUSE
Posts: 1,396
Blog Entries: 7

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

All times are GMT -5. The time now is 08:17 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