[Nottingham] apt-sources question (apologies I'm stupid)

Duncan John Fyfe nottingham at mailman.lug.org.uk
Thu Jul 17 13:28:01 2003


On Thu, 17 Jul 2003, Bunter Matthew wrote:

> All,
>
> I'm running a distribution called Libranet, version 2.8, which is Debian based. I asked this same question on the Libranet mailing list last night with no replies so hopefully the Nottingham LUG will come to my rescue.
>
> I'd like to know from the Debian based users what their apt sources file looks like. This is due to performance issues connecting to the US (these being the default in the supplied Libranet apt sources file).

See below, comment/uncomment as required.  This is from my laptop so it is lacking the deb for mplayer and
associated packages.

>
> Now the dumb part : I've got apache installed and I need to compile php (I'm following a book that requires php to be compiled with apxs support). To do this I have to install apache-devel. So the question is will apt-get automatically 'get' the correct version of apache-devel for the version of apache I'm using? Or do I need to specify the version.

It should pick up the correct version if it is available.

>Apparently Libranet uses debs from stable, testing and unstable so this is just so I can get my head around where apt is getting from. Apologies if this is confusing - I'm just getting used to apt myself.

A quick tootle over to (assuming you want apache and not apache2):

http://packages.debian.org/cgi-bin/search_packages.pl?keywords=apache&searchon=names&subword=1&version=all&release=all

reveals:          apache-dev      apache          apache-common
	unstable  1.3.27.0-2      1.3.27.0-2      1.3.27.0-2
	testing   1.3.27.0-2      1.3.27.0-2      1.3.27.0-2
	stable    1.3.26-0woody3  1.3.26-0woody3  1.3.26-0woody3

so if your apache package matches one of the aboove, choose your poison.
Otherwise you'll probably have to upgrade.

from /etc/apt/sources.list

#deb http://security.debian.org/ stable/updates main contrib non-free
#deb http://www.uk.debian.org/debian stable main contrib non-free
#deb http://www.uk.debian.org/debian stable main contrib non-free

deb http://www.mirror.ac.uk/sites/ftp.debian.org/debian testing main contrib non-free
deb http://www.mirror.ac.uk/sites/non-us.debian.org/debian-non-US testing/non-US main contrib non-free
deb http://www.mirror.ac.uk/sites/ftp.blackdown.org/java-linux/debian testing main non-free

deb-src http://www.mirror.ac.uk/sites/ftp.debian.org/debian testing main contrib non-free
deb-src http://www.mirror.ac.uk/sites/non-us.debian.org/debian-non-US testing/non-US main contrib non-free

#deb http://www.uk.debian.org/debian-non-US unstable/non-US main contrib non-free
#deb http://www.uk.debian.org/debian unstable main contrib non-free
#deb http://www.mirror.ac.uk/sites/ftp.blackdown.org/java-linux/debian unstable main non-free

#deb-src http://www.mirror.ac.uk/sites/ftp.debian.org/debian unstable main contrib non-free
#deb-src http://www.mirror.ac.uk/sites/non-us.debian.org/debian-non-US unstable/non-US main contrib non-free


#deb cdrom:[Debian Woody DVD]/ unstable contrib main non-US/contrib non-US/main non-US/non-free non-free



Have fun,
Duncan

-- 
Duncan John Fyfe          X-ray Astronomy Group,
                          Dept. of Physics & Astronomy,
Phone +44 116 252 3635    University of Leicester,
E-mail djf@star.le.ac.uk  University Road,
                          Leicester, LE1 7RH, U.K.