LinuxQuestions.org
Register a domain and help support LQ
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 11-16-2011, 11:50 PM   #1
Knightron
Senior Member
 
Registered: Jan 2011
Location: Planet Earth
Distribution: Slackware.
Posts: 1,324
Blog Entries: 7

Rep: Reputation: 157Reputation: 157
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
cynwulf
Senior Member
 
Registered: Apr 2005
Distribution: OpenBSD, Slackware
Posts: 1,216

Rep: Reputation: 375Reputation: 375Reputation: 375Reputation: 375
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:

Code:
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: http://www.debianuserforums.org/viewtopic.php?f=9&t=127
 
Old 11-17-2011, 02:53 PM   #3
62chevy
Member
 
Registered: Mar 2002
Location: West (By God) Virginia
Distribution: Debian Squeeze - Sid
Posts: 281

Rep: Reputation: 44
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
Knightron
Senior Member
 
Registered: Jan 2011
Location: Planet Earth
Distribution: Slackware.
Posts: 1,324
Blog Entries: 7

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


Reply


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 04:47 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration