Page 1 of 1

What is correct way of adding repos to b2/b3?

Posted: 30 Aug 2012, 10:26
by mountaindude
I've got a b2 running latest software (i.e. debian 6.0.3 squeeze). With a bunch of Excito specific files in /etc/apt, I am slightly hesitant to start messing around with those files.
Is it for example safe to add repos to /etc/apt/sources.list, such as

# The debian squeeze repository containing unsupported packages that can be used.
deb http://ftp.se.debian.org/debian/ squeeze maindeb http://ftp.se.debian.org/debian/ squeeze main

Or should that line go into /etc/apt/sources.list.d/excito.list?


I guess I should be reading up on the finer points of apt... but I suspect others might have already?


thanks
Göran

Re: What is correct way of adding repos to b2/b3?

Posted: 30 Aug 2012, 15:59
by johannes
You can safely edit /etc/apt/sources.list, it is not used by the web updater. Moving the web-updaters source to /etc/apt/sources.list.d/excito.list was for this exact reason, that users sometimes edited the standard sources.list to install a package and then by mistake ran a web update (that does dist-upgrade) that messed up the system seriously.

Re: What is correct way of adding repos to b2/b3?

Posted: 30 Aug 2012, 16:15
by mountaindude
Ah, perfect.
Thanks a bunch!