LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 09-28-2008, 08:31 PM   #1
KingPanda
LQ Newbie
 
Registered: Sep 2008
Posts: 13

Rep: Reputation: 0
Question How set up Debian to update from Etch but also use packs from Sid?


Hi all. I just begin using Linux more intensly and was wonder how I might be able to set up my Debian to update from Etch, but the thing is that I want to also be able to use packages from Sid without actually changing distros.

thanks for input

Last edited by KingPanda; 09-28-2008 at 08:35 PM.
 
Old 09-28-2008, 09:30 PM   #2
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
Stupid idea. Etch is Stable. That means, it will probably die if you try to mix Sid apps with it. Upgrade to Testing, then you'll be able to safely use some Sid apps.
 
Old 09-28-2008, 09:42 PM   #3
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
I wouldn't recommend mixing Etch and SID - there are major incompatibilities. If you need new(er) versions of some software, have a look at www.backports.org or else build and install the software yourself. If you know what you're doing you can use some software from SID, but you have to check dependencies yourself. It's a hassle checking dependencies and you may find yourself wasting an awful lot of time.
 
Old 09-28-2008, 09:44 PM   #4
KingPanda
LQ Newbie
 
Registered: Sep 2008
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by rickh View Post
Stupid idea. Etch is Stable. That means, it will probably die if you try to mix Sid apps with it. Upgrade to Testing, then you'll be able to safely use some Sid apps.
Yeah but I just want a few packages and I still want to keep it as Etch. Isnt there a safe way? Cant I simply install them if I wanted to?
 
Old 09-28-2008, 10:18 PM   #5
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
Well, it's really just a matter of adding repository lines with 'sid' in them and then running "apt-get update" to update the package lists. The system will continue to install only Etch packages; to install a Sid package you have to do something like:

apt-get -t sid install some_package

You've already been warned multiple times that this is not a good idea, so don't ask us how to fix things if you break anything.
 
Old 09-28-2008, 11:03 PM   #6
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
One option is to build stuff from Sid from source.
 
Old 09-29-2008, 12:30 AM   #7
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,884
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
See if the package has already been backported. Take a look at backports.org, etchnhalf, and perhaps volatile sources. If it hasn't, 1) Add a "deb-src ..." line ONLY for sid to your sources.list. 2) apt-get update 3) apt-get install build-essential; apt-get build-dep packagename;apt-get -b source packagename; 4) install the resultant debs
 
Old 09-29-2008, 06:25 AM   #8
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
I am sorry, but pinniped is not right here. If you have also sid in your repositories, apt will install the newest version (being sid) of packages, unless your specify -t etch.

You can edit /etc/apt/preferences to make Etch the default version, but without that it is Sid. There is also a way to set the default version in /etc/apt/apt.conf. Check the manuals for the correct syntax.

I doubt whether it is useful to mix Sid and Etch. Usually the dependencies are such that almost all packages from Sid require upgrading of a few hundreds of packages. Essentially you won't be able to run Etch anymore.

jlinkels
 
Old 09-29-2008, 07:23 AM   #9
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
Oh no - I must be going senile. Something like APT:efault-Release "etch"; in the apt_preferences file should help (man apt_preferences).

jlinkels is right - my previous post would have had apt asking you to upgrade a few hundred packages.
 
Old 09-29-2008, 01:18 PM   #10
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
I am afraid that apt proposes to upgrade a few hundred packages anyway, whether you have set Etch to default or not (thank for speciying the correct syntax, pinniped).

If the package from Sid you want to install for example depends on a new version of libc6, apt wants to upgrade *all* packages using libc6. This is very likeley to happen, since Etch was released such a long time ago. Even with mixing Etch/Lenny would give you this problem.

jlinkels
 
Old 09-29-2008, 05:06 PM   #11
Telemachos
Member
 
Registered: May 2007
Distribution: Debian
Posts: 754

Rep: Reputation: 60
@ KingPanda: As Jlinkels suggests, it isn't just a matter of adding this or that package. Since more or less all packages in Lenny and Sid depend on more recent versions of libc6 than you have installed in Etch, pretty much any package from Lenny or Sid will drag in a new version of libc6 as a dependency. That package is so central to your whole system that in short order you would end up in Lenny or Sid anyhow (as package after package needed to upgrade to follow the drift of your system). This is why people always say, "Don't mix Stable with Testing or Unstable."

So, your options in a nutshell: (1) check Backports, (2) try to build a newer package using sources from Lenny or Sid (rather than binaries) - see Craigevil's post for more on this, (3) download the source directly from whoever wrote it (the upstream source, untouched by Debian) and build that or (4) just upgrade all the way to Lenny or Sid. I usually recommend trying them in that order assuming it's just one or two things you want; if you want a lot of newer items, move (4) before (3).
 
  


Reply



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
Debian Etch sources.list mix between etch and sid - problems alfr Debian 2 04-12-2008 10:30 AM
update .deb package list debian etch rotezecke Linux - Newbie 1 04-02-2008 07:10 AM
Debian Etch to Sid? How Stable is Sid? xxAlk3XKidXx Debian 28 02-25-2007 06:32 PM
update Debian testing etch RC1 to etch stable cccc Debian 11 01-08-2007 10:02 PM
LXer: update-notifier on Sid and Etch LXer Syndicated Linux News 0 06-22-2006 05:21 PM

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

All times are GMT -5. The time now is 03:00 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
Open Source Consulting | Domain Registration