LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-17-2007, 07:41 PM   #1
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Rep: Reputation: 77
Installing An Unstable Package in Lenny?


I was wondering if there is an official way or correct Debian way to obtain a package from the unstable repo and install it in Lenny assuming I don't have anything but Testing / Lenny repos in my /etc/apt/source.list?

If anyone can tell me the correct way to do so, please note below...

Thanks for any assistance!
 
Old 12-18-2007, 08:49 AM   #2
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
I would think adding the repos, and pinning them at the appropriate priorites..

http://jaqque.sbih.org/kplug/apt-pinning.html

then install specifying the repository to pull the package from.

apt-get install <package>/unstable
 
Old 12-20-2007, 09:52 AM   #3
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 233Reputation: 233Reputation: 233
Very interesting, thanks for the link.

If you use the:
Code:
apt-get -t unstable install <package>
method, how can it be rolled back if it somehow breaks your system?

Do you happen to know if it works w/ aptitude -- the syntax looks the same.
 
Old 12-20-2007, 10:38 AM   #4
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
I would think it would work pretty much the same with aptitude, can't see any reason it wouldn't..

Debian Reference section 6.2.6
Quote:
* aptitude install package/unstable

This installs package from the unstable distribution while installing its dependencies from the testing distribution.


* aptitude install -t unstable package

This installs package from the unstable distribution while installing its dependencies also from the unstable distribution by setting the Pin-Priority of unstable to 990.
I don't know how the rollback would work.. I haven't had to try that yet...
 
Old 12-20-2007, 10:41 AM   #5
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Rollback works fine with Aptitude, and IMO, pinning is not necessary in most cases. If you're going to run a mixed system, tho, You do need to identify a default release in /etc/apt/apt.conf
 
Old 01-22-2008, 07:55 PM   #6
c2k011
LQ Newbie
 
Registered: Jan 2008
Location: Portland, OR
Posts: 1

Rep: Reputation: 0
Pinning not necessary?

Quote:
Originally Posted by rickh View Post
...and IMO, pinning is not necessary in most cases...
Is that because you can get unofficial .deb files or use alternative repositories?

Thanks
-c2k
 
Old 01-22-2008, 08:47 PM   #7
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Quote:
Is that because you can get unofficial .deb files or use alternative repositories?
I don't understand the question. Personally, the only unofficial repo I use is Multimedia.

This is my Howto related to running a mixed Lenny/Sid system.
 
  


Reply

Tags
aptpinning


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
lenny sid etch testing unstable, etc AP81 Debian 4 09-20-2007 07:54 PM
get one package from unstable giraf Debian 2 04-10-2006 10:12 AM
package in unstable to testing giraf Debian 1 02-01-2006 10:17 AM
unstable espgs package in slackware 10.2 lazyboy0001 Slackware 0 09-26-2005 02:55 PM
installing an unstable package from debian's online package archive ganninu Debian 13 11-07-2003 03:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 12:25 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration