LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Tags used in this thread
Popular LQ Tags

Reply
 
Thread Tools
Old 12-17-2007, 07:41 PM   #1
Carlwill
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Debian
Posts: 2,329
Thanked: 0
Installing An Unstable Package in Lenny?


[Log in to get rid of this advertisement]
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!
Carlwill is offline     Reply With Quote
Old 12-18-2007, 08:49 AM   #2
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: Debian Lenny / Squeeze / Sid
Posts: 7,157
Blog Entries: 5
Thanked: 228
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
farslayer is offline  
Tag This Post
Reply With Quote
Old 12-20-2007, 09:52 AM   #3
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 3,412
Blog Entries: 7
Thanked: 29
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.
archtoad6 is offline     Reply With Quote
Old 12-20-2007, 10:38 AM   #4
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: Debian Lenny / Squeeze / Sid
Posts: 7,157
Blog Entries: 5
Thanked: 228
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...
farslayer is offline     Reply With Quote
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,253
Thanked: 1
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
rickh is offline     Reply With Quote
Old 01-22-2008, 07:55 PM   #6
c2k011
LQ Newbie
 
Registered: Jan 2008
Location: Portland, OR
Posts: 1
Thanked: 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
c2k011 is offline     Reply With Quote
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,253
Thanked: 1
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.
rickh is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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


All times are GMT -5. The time now is 11:49 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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration