Stephen Gran on Tue, 15 Oct 2002 15:30:05 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Weird Debian problem - apt doesn't list the right packages ...


This one time, at band camp, Michael Leone said:
> Got a strange problem ... I have a machine running Libranet 2.0 here (it's
> a Debian based distribution). It runs DNS and a few other things. I now
> want to add DHCP serving to it.
> 
> I'm using stable ..
> 
> root@handyman:/etc/apt# more /etc/apt/sources.list
> # See sources.list(5) for more information
> 
> #Libranet
> deb http://libranetlinux.com updates-2.0/
> 
> #Debian
> deb ftp://ftp.debian.org/debian stable contrib non-free
                                         ^^^^^^^^^^^^^^^^
steve@mail:~$ apt-cache show dhcp3-common
Package: dhcp3-common
Priority: optional
Section: net
Installed-Size: 480
Maintainer: Eloy A. Paris <peloy@debian.org>
Architecture: i386
Source: dhcp3
Version: 3.0+3.0.1rc9-2
Depends: debconf, debianutils (>= 1.7), libc6 (>= 2.2.4-4)
Filename: pool/main/d/dhcp3/dhcp3-common_3.0+3.0.1rc9-2_i386.deb
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
Size: 178352
MD5sum: 073c2cada70695755b36f2e37b90f668
Description: Common files used by all the dhcp3* packages.
 This package contains all the files used by all the packages
 from ISC DHCP version 3.

apt doesn't know about main because you don't have it in your
sources.list.

Change it to 'main contrib non-free', re-run apt-get update, and all
should be well.

Steve

-- 
Failure is more frequently from want of energy than want of capital.

Attachment: pgpz3NyIEmRhk.pgp
Description: PGP signature