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 09-25-2004, 07:40 AM   #1
nowens
LQ Newbie
 
Registered: May 2003
Location: me
Distribution: Gentoo Linux
Posts: 21

Rep: Reputation: 15
APT Sources


Will it really break my system if i am running sarge and use sid sources?some people say it will, some say it won't, i dunno which to believe
 
Old 09-25-2004, 07:58 AM   #2
macondo
Senior Member
 
Registered: Jul 2003
Location: Central America
Distribution: Slackwre64-current Devuan
Posts: 1,034

Rep: Reputation: 62
APT-HOWTO
http://www.debian.org/doc/manuals/ap.../index.en.html

Read section 3.8
 
Old 09-25-2004, 07:44 PM   #3
irish_rover
Member
 
Registered: Sep 2002
Location: IN, USA
Distribution: Debian, Endian FW
Posts: 368

Rep: Reputation: 30
What do you use your system for? If it is just your home desktop and not "mission critical" maybe you could just run sid?
 
Old 09-25-2004, 10:41 PM   #4
nowens
LQ Newbie
 
Registered: May 2003
Location: me
Distribution: Gentoo Linux
Posts: 21

Original Poster
Rep: Reputation: 15
It's a desktop, and i found a jigdo of sid and i burned it on a cd and it didn't work right.
 
Old 09-25-2004, 11:33 PM   #5
nowens
LQ Newbie
 
Registered: May 2003
Location: me
Distribution: Gentoo Linux
Posts: 21

Original Poster
Rep: Reputation: 15
OK i have sarge as my default release sources, and i told apt to get mozilla from unstable and i noticed it was getting files from sarge as well, and sid, so maybe that is better? i asked in irc and they still say it is bad, i don't know what to believe
 
Old 09-26-2004, 12:42 PM   #6
irish_rover
Member
 
Registered: Sep 2002
Location: IN, USA
Distribution: Debian, Endian FW
Posts: 368

Rep: Reputation: 30
I think it is better to stick with one tree. Running a mixed system can be a bit much.
 
Old 09-26-2004, 12:45 PM   #7
irish_rover
Member
 
Registered: Sep 2002
Location: IN, USA
Distribution: Debian, Endian FW
Posts: 368

Rep: Reputation: 30
You don't have to download a different disc if you want to run testing or unstable just change your /etc/apt/sources.list to say testing or unstable. Then "apt-get update" "apt-get dist-upgrade".
 
Old 09-26-2004, 02:32 PM   #8
talkingwires
Member
 
Registered: Jan 2004
Location: Boone, NC
Distribution: Debian SID
Posts: 49

Rep: Reputation: 15
I think the "Unstable" label gives SID a bad name. I've been running it for two weeks now without a hitch. Well, at least not one related to running SID. But running packages from different branches of a distro? I'd be a little wary about doing that.
 
Old 09-26-2004, 08:51 PM   #9
nowens
LQ Newbie
 
Registered: May 2003
Location: me
Distribution: Gentoo Linux
Posts: 21

Original Poster
Rep: Reputation: 15
why is it bad to mix?
 
Old 09-26-2004, 09:30 PM   #10
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally posted by nowens
why is it bad to mix?
It can be a little harder to install packages sometimes because you have the mixed sources. I have only ever used a testing/unstable mix (sometimes with some packages from experimental when I want them as well) for my desktops and it has worked well for about 2 years now. You just have to be a little careful when you do it and always use the -s switch when installing to simulate the action first, so you can see where the packages are coming from. You should also install apt-listbugs and apt-listchanges so you can see the bug reports and the changelogs when using apt. This can save you from getting bitten by some nasty bug that makes it into unstable and the change log sometimes has info on changes to the locations of config files. Also you can end up with some funky install lines sometimes like apt-get install package/testing package1/unstable package3=x.y.z just to satisfy the dependencies but other than that it works well.
 
Old 09-26-2004, 09:48 PM   #11
nowens
LQ Newbie
 
Registered: May 2003
Location: me
Distribution: Gentoo Linux
Posts: 21

Original Poster
Rep: Reputation: 15
well when i want a file from unstable/sid i do like apt-get install foo/unstable
 
Old 09-26-2004, 10:10 PM   #12
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally posted by nowens
well when i want a file from unstable/sid i do like apt-get install foo/unstable
You can also do if you need more than one package from unstable to get the orginal package you wanted installed apt-get -t unstable package package1 package2 ... .
 
Old 09-26-2004, 10:36 PM   #13
nowens
LQ Newbie
 
Registered: May 2003
Location: me
Distribution: Gentoo Linux
Posts: 21

Original Poster
Rep: Reputation: 15
So it'd be alright to mix sources that way?
 
Old 09-26-2004, 11:16 PM   #14
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally posted by nowens
So it'd be alright to mix sources that way?
Yes it works fine here and has for a long while. You just need to be a little careful and watch what apt is going to do with the -s switch as already mentioned. You would want settings like this to do it properly.

Code:
>$ cat /etc/apt/apt.conf
APT::Default-Release "testing";
APT::Get::Show-Versions "true";
APT::Cache-Limit 10000000;
Apt::Get::Purge;
APT::Clean-Installed;

>$ cat /etc/apt/preferences
Package: *
Pin: release testing
Pin-Priority: 900

Package: *
Pin: release unstable
Pin-Priority: 600
The preferences file is used for the pinning so that apt will always take the packages from the testing branches first and you have to go out of your way to install from unstable. The APT::Get::Show-Versions "true"; in the apt.conf will show you the versions of the packages being updated when you are using apt so it makes it easier to see where the packages are coming from.
 
Old 09-26-2004, 11:25 PM   #15
nowens
LQ Newbie
 
Registered: May 2003
Location: me
Distribution: Gentoo Linux
Posts: 21

Original Poster
Rep: Reputation: 15
Ah, ty for ur posts!
 
  


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
Need Recommendation for Debian Etch sources.list ( /etc/apt/sources.list ) forgox Debian 6 05-05-2007 01:57 PM
Have no apt-get sources...' BuckRogers01 Debian 6 07-28-2005 05:13 PM
apt-get update errors since Debian released ( bad /etc/apt/sources.list ?) forgox Debian 10 06-13-2005 12:28 PM
help with /etc/apt/sources.list please Lleb_KCir Linux - Software 0 10-05-2004 01:15 PM
Sources for apt-get Dipdngold Debian 5 11-27-2003 04:54 PM

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

All times are GMT -5. The time now is 09:45 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