LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-17-2011, 12:50 AM   #1
Knightron
Senior Member
 
Registered: Jan 2011
Location: Planet Earth
Distribution: Slackware.
Posts: 1,344
Blog Entries: 7

Rep: Reputation: 159Reputation: 159
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
cynwulf
Senior Member
 
Registered: Apr 2005
Distribution: OpenBSD, DragonFly BSD
Posts: 1,404

Rep: Reputation: Disabled
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, 03: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, 11:58 PM   #4
Knightron
Senior Member
 
Registered: Jan 2011
Location: Planet Earth
Distribution: Slackware.
Posts: 1,344
Blog Entries: 7

Original Poster
Rep: Reputation: 159Reputation: 159
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 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 02:52 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration