Howto change basic sources.list to unstable etc...

If none of the more specific forums is the right place to ask

Howto change basic sources.list to unstable etc...

Postby whoop » 2010-01-07 20:26

I am running debian 5.0 lenny.
My /etc/apt/sources.list looks like this:
Code: Select all
#
# deb cdrom:[Debian GNU/Linux 5.0.3 _Lenny_ - Official amd64 CD Binary-1 200909$

#deb cdrom:[Debian GNU/Linux 5.0.3 _Lenny_ - Official amd64 CD Binary-1 2009090$

deb http://ftp.nl.debian.org/debian/ lenny main
deb-src http://ftp.nl.debian.org/debian/ lenny main

deb http://security.debian.org/ lenny/updates main
deb-src http://security.debian.org/ lenny/updates main

deb http://volatile.debian.org/debian-volatile lenny/volatile main
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main


I couldn't find out how to "exactly" change this file to turn the install into unstable (documentation states: change stable to unstable ?)

So my question is:
Can somebody please change my sources.list so that it reflects unstable, also that it reflects testing? I'm sure it is really easy (possibly by changing lenny to sid or squeeze or something), but it isn't documented clear enough (in my opinion) to be sure.

Thanks...
whoop
 
Posts: 7
Joined: 2009-12-16 18:12

Re: Howto change basic sources.list to unstable etc...

Postby nadir » 2010-01-07 20:49

Edit anyone interested:
check the sources.list and explanations by bugsbunny in one of the next posts.
specially bout security/volatile.
Code: Select all
#
# deb cdrom:[Debian GNU/Linux 5.0.3 _Lenny_ - Official amd64 CD Binary-1 200909$

#deb cdrom:[Debian GNU/Linux 5.0.3 _Lenny_ - Official amd64 CD Binary-1 2009090$

deb http://ftp.nl.debian.org/debian/ squeeze main
deb-src http://ftp.nl.debian.org/debian/ squeeze main

deb http://security.debian.org/ squeeze/updates main
deb-src http://security.debian.org/ squeeze/updates main

deb http://volatile.debian.org/debian-volatile squeeze/volatile main
deb-src http://volatile.debian.org/debian-volatile squeeze/volatile main

deb http://ftp.nl.debian.org/debian/ sid main
deb-src http://ftp.nl.debian.org/debian/ sid main


a) i`m not that sure bout the security and volatile stuff, but i checked
b) you sure you want that? why? if yes have a look at rickh`s how-to:
viewtopic.php?f=16&t=15612&hilit=mixed
c) i usually change the repos, apt-get update, and install apt-get install aptitude dpkg python perl... or similar,
once thats done apt-get upgrade, once thats done apt-get dist-upgrade, once that's done i deal with the trouble (if any, usually not, sometimes re-installation)

ps: of course wait a bit... it works for me, but i might be corrected.
Last edited by nadir on 2010-01-08 16:51, edited 1 time in total.
"I am not fine with it, so there is nothing for me to do but stand aside." M.D.
User avatar
nadir
 
Posts: 5965
Joined: 2009-10-05 22:06
Location: away

Re: Howto change basic sources.list to unstable etc...

Postby llivv » 2010-01-07 23:02

imo Not for beginners until you at least can figure out that one yourself
in the kitchen with Julia ....
[...]
Get on the D bus to B Can ....
[...]
User avatar
llivv
 
Posts: 5565
Joined: 2007-02-14 18:10
Location: will O' the tree hug

Re: Howto change basic sources.list to unstable etc...

Postby refracta » 2010-01-07 23:11

changing lenny to sid or squeeze
refracta
 
Posts: 1235
Joined: 2008-10-26 01:46

Re: Howto change basic sources.list to unstable etc...

Postby llivv » 2010-01-07 23:19

the beginner wants to run a mixed system, (mumble gnumble swear at brown again)
in the kitchen with Julia ....
[...]
Get on the D bus to B Can ....
[...]
User avatar
llivv
 
Posts: 5565
Joined: 2007-02-14 18:10
Location: will O' the tree hug

Re: Howto change basic sources.list to unstable etc...

Postby craigevil » 2010-01-08 00:06

Why? if you do not even know how to change your sources.list then you definitely do not know Debian well enough to either run a mixed system or to run sid.

Please Read: the sid FAQ http://wooledge.org/~greg/sidfaq.html or http://weda.mine.nu/sidfaq.html (mirror)

if you must have sid your best bet is to install sidux. At least then you will get support in Irc.
Debian Sid KDE Kernel 3.17 Thinkpad R40 Intel M 1.3 CPU 2GB RAM Radeon Mobility 7500
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Debian upgrade script smxi | sysinfo script inxi
User avatar
craigevil
 
Posts: 5159
Joined: 2006-09-17 03:17
Location: Oz

Re: Howto change basic sources.list to unstable etc...

Postby whoop » 2010-01-08 03:47

Don't worry about me, I'm not a beginner. Maybe I just posted in the wrong forum (I did that because I am just new to using debian, not nix in general). I have read the faq and I don't need support in case of breakage.
The documentation is not really clear about this point in my opinion, and as you can see in this thread I guessed it just about right. Just about is not right enough for me though.

I won't be running it on production machines or anything, so again don't worry.
whoop
 
Posts: 7
Joined: 2009-12-16 18:12

Re: Howto change basic sources.list to unstable etc...

Postby llivv » 2010-01-08 03:59

who said anyone was worried about you.
next time you're thinking of a post about sid
try some other section where beginners wouldn't have to wonder where you ever got an idea like
"How do I change my sources.list to testing and unstable"?
make sense to you?
in the kitchen with Julia ....
[...]
Get on the D bus to B Can ....
[...]
User avatar
llivv
 
Posts: 5565
Joined: 2007-02-14 18:10
Location: will O' the tree hug

Re: Howto change basic sources.list to unstable etc...

Postby nadir » 2010-01-08 04:02

first time ever i got the feeling it might be good moving a thread elsewhere...

@whoop: yup, go for it.
"I am not fine with it, so there is nothing for me to do but stand aside." M.D.
User avatar
nadir
 
Posts: 5965
Joined: 2009-10-05 22:06
Location: away

Re: Howto change basic sources.list to unstable etc...

Postby bugsbunny » 2010-01-08 04:50

Read the rickh howto. I assume you basically want to run testing but have sid available. Assuming you want to run testing as a rolling release don't use squeeze in sources.list, use testing. You can use sid or unstable - that one doesn't matter since sid's name never changes.

volatile is a non-issue. Anything that would come from volatile you can just pin to sid. security is available for testing. So, based on your current sources.list

Code: Select all
deb http://ftp.nl.debian.org/debian/ testing main
deb-src http://ftp.nl.debian.org/debian/ testing main

deb http://ftp.nl.debian.org/debian/ unstable main
deb-src http://ftp.nl.debian.org/debian/ unstable main

deb http://security.debian.org/ testing/updates main
deb-src http://security.debian.org/ testing/updates main


Next Run the following (all as root):
Code: Select all
echo APT::Default-Release \"testing\"\; >/etc/apt/apt.conf.d/00defaultrelease
aptitude update
aptitude install aptitude apt dpkg
aptitude safe-upgrade
aptitude full-upgrade
Last edited by bugsbunny on 2010-01-08 17:33, edited 1 time in total.
User avatar
bugsbunny
 
Posts: 5355
Joined: 2008-07-06 17:04

Re: Howto change basic sources.list to unstable etc...

Postby llivv » 2010-01-08 14:41

Welcome to forum.debian whoop
Hope my words above, are not to didactic.
apologies to everyone if I come too close to demand.... :oops:
in the kitchen with Julia ....
[...]
Get on the D bus to B Can ....
[...]
User avatar
llivv
 
Posts: 5565
Joined: 2007-02-14 18:10
Location: will O' the tree hug

Re: Howto change basic sources.list to unstable etc...

Postby paivakil » 2010-01-08 16:40

In that sources.list file, change "lenny" to "testing".

Better still, duplicate that "deb http://.... line; and move the "testing" line at the top. "lenny" line is at the bottom. Next, move the "cd" lines to the bottom, the "deb-src" and security lines come last - with "testing", they are irrelevant.

Rune apt-get update.

Install apt, aptitude, dpkg, base-files, and base-passwd. That will also pull in the required dependencies, and also break your system....

But that is the price you need to pay for using testing.

Stick to that config for some weeks; before replacing "lenny" with testing and "testing" with "sid" aka "unstable".

Read the advice posted by others carefully. Remember, that if your system breaks, you keep all the parts. And also that you cannot sue us. ;-P
It's not the software that's free; it's you.
paivakil
 
Posts: 434
Joined: 2009-02-15 11:57

Re: Howto change basic sources.list to unstable etc...

Postby deach » 2010-01-09 06:38

I'd have to second the sidux install. Also not sure what you're worried about a production machine for since you've stated you wouldn't need support anyway. I've run sidux on my main box that runs my business holds all my important documents for over two years now. NO reason to be afraid to just get the distro you want and run it.
deach
 
Posts: 23
Joined: 2009-02-21 14:21

Re: Howto change basic sources.list to unstable etc...

Postby justaguynpc » 2010-01-09 13:58

I, too, would suggest sidux, very slick distro!

-based on debian sid
-great support

It just doesn't get any better. You could of course run debian sid with smxi support, if you wanted to.

You have to love the choices .......... ahhhh linux!
debian sid
User avatar
justaguynpc
 
Posts: 53
Joined: 2007-06-12 23:59
Location: Muskoka, ON, Canada

Re: Howto change basic sources.list to unstable etc...

Postby bugsbunny » 2010-01-09 14:12

sidux as a distro is fine. The devs are a bunch of pompous a-holes who are spreading a bunch of FUD about certain aspects of the system either because they're too lazy or too set in there existing ways to figure out something "new" (I won't say they're incompetent, because they're obviously not - or at least not within certain limited functionality). Basically they're attitude sucks.

Besides you really don't need sidux - it does nothing you can't do yourself - although I still recommend testing +sid over pure sid (or pure testing for that matter) IF you do your due diligence in terms of upgrades. The ability to pull from sid can resolve outstanding issues in testing. The ability to not accept a sid version can eliminate problems found in sid usually flagged by a bug report before it hits testing, which is why apt-bugs should be required for this type of install).

I like the sidux xfce disk as a live cd though.

You could of course run debian sid with smxi support, if you wanted to.
You do realize that smxi is verboten per the sidux devs?
User avatar
bugsbunny
 
Posts: 5355
Joined: 2008-07-06 17:04

Next

Return to General Questions

Who is online

Users browsing this forum: No registered users and 13 guests

fashionable