[ILUG] Apt-Get problem
Niall O Broin
niall at linux.ie
Sun Aug 29 11:30:25 IST 2004
On 29 Aug 2004, at 10:11, Colin wrote:
> I try apt-get for any package like joe and it is its not in the
> listings
> In base-config, i scanned 4 cds i made with ISO;s on them and all i can
> install is a Mail Server.
>
> Surely theres more than a mail server on 4 cds??
>
> Should apt-get tell me what CD i need for joe or whatever package ?
Yes, provided it is on the CD and you have that CD in your sources
list. In source.list on a woody (stable) box here, I have
deb cdrom:[Debian GNU/Linux 3.0 r0 _Woody_ - Official i386 Binary-2
(20020718)]/ unstable contrib main non-US/contrib non-US/main
deb cdrom:[Debian GNU/Linux 3.0 r0 _Woody_ - Official i386 Binary-1
(20020718)]/ unstable contrib main non-US/contrib non-US/main
(In fact, those entries are commented out, and I have equivalent
entries for loop back mounted ISOs of these CD like this
deb file:/data/woody/1 stable main contrib
deb file:/data/woody/2 stable main contrib
but the above is what you should have to use the actual CDs)
and I also have
deb http://ftp.ie.debian.org/debian stable main contrib
for a nearby source of updated packages.
On a sid (unstable) box, I have
deb cdrom:[Debian GNU/Linux 3.0 _Woody_ - LordSutch.com MiniCD i386
Binary-1 (20020920)]/ \
unstable main non-US/main
deb http://ftp.heanet.ie/mirrors/ftp.debian.org/debian unstable main
contrib non-free
Note the difference in the cdrom lines - yours will probably be
different again, depending on what CDs you used. (Note also the
difference in the nearby URLs - both of those are in HEANET - I've no
idea why I used the differing URLS, except that the machines were
installed at widely differing times and places).
If you have your sources.list set up correctly, then a simple apt-get
update ; apt-get install joe should have you joeing away like a good
thing. (The apt-get update is not strictly necessary for joe, but it's
a good idea to get your local cache of what packages are available up
to date, as it seems this may not be the case)
Niall
More information about the ILUG
mailing list