LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   APT Sources (https://www.linuxquestions.org/questions/debian-26/apt-sources-235047/)

nowens 09-25-2004 07:40 AM

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

macondo 09-25-2004 07:58 AM

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

Read section 3.8

irish_rover 09-25-2004 07:44 PM

What do you use your system for? If it is just your home desktop and not "mission critical" maybe you could just run sid?

nowens 09-25-2004 10:41 PM

It's a desktop, and i found a jigdo of sid and i burned it on a cd and it didn't work right.

nowens 09-25-2004 11:33 PM

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

irish_rover 09-26-2004 12:42 PM

I think it is better to stick with one tree. Running a mixed system can be a bit much.

irish_rover 09-26-2004 12:45 PM

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".

talkingwires 09-26-2004 02:32 PM

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.

nowens 09-26-2004 08:51 PM

why is it bad to mix?

HappyTux 09-26-2004 09:30 PM

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.

nowens 09-26-2004 09:48 PM

well when i want a file from unstable/sid i do like apt-get install foo/unstable

HappyTux 09-26-2004 10:10 PM

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 ... .

nowens 09-26-2004 10:36 PM

So it'd be alright to mix sources that way?

HappyTux 09-26-2004 11:16 PM

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.

nowens 09-26-2004 11:25 PM

Ah, ty for ur posts!


All times are GMT -5. The time now is 01:41 AM.