Hi Rodolfo, welcome to Debian! On Tue, Apr 25, 2006 at 11:30:37AM +0200, Rodolfo Medina wrote: > Hi. > > I'm newbie with Debian, so please bear with my inexperience. > In my Sarge stable, when I do: > > # apt-get build-dep emacs21 > > I get the following output: > > Building Dependency Tree... Done > E: You must put some 'source' URIs in your sources.list Yes. build-dep shows the build dependencies of the package. > > . The debian-emacsen listers suggested me to properly edit the file > '/etc/apt/sources.list', which is the following: > > ------------------------------------------------------------------------ > #deb file:///cdrom/ sarge main > > deb cdrom:[Debian GNU/Linux 3.1 r0a _Sarge_ - Official i386 Binary-2 > (20050607)\]/ unstable contrib main > deb cdrom:[Debian GNU/Linux 3.1 r0a _Sarge_ - Official i386 Binary-1 > (20050607)\]/ unstable contrib main > > > # deb http://security.debian.org/ stable/updates main contrib > ------------------------------------------------------------------------ > This is done by editing the /etc/apt/sources.list. This contains 2 types of entries: deb and deb-src. The former points to binary packages, the latter to source packages. You need to add 'deb-src' entries to get source packages which are used to build binary deb packages.
> > > , then to handle the 'apt-cdrom' tool; but I really > don't know how. Here's my '/var/lib/apt/cdroms.list': > > > > ------------------------------------------------------- > CD::ca516dca38db4d7175e5e976215935ff-2 "Debian GNU/Linux 3.1 r0a _Sarge_ - > Official i386 Binary-1 (20050607)"; > CD::ca516dca38db4d7175e5e976215935ff-2::Label "Debian GNU/Linux 3.1 r0a > _Sarge_ - Official i386 Binary-1 (20050607)"; > CD::292bfddab46e89a674ff592cc76ff195-2 "Debian GNU/Linux 3.1 r0a _Sarge_ - > Official i386 Binary-2 (20050607)"; > CD::292bfddab46e89a674ff592cc76ff195-2::Label "Debian GNU/Linux 3.1 r0a > _Sarge_ - Official i386 Binary-2 (20050607)"; > ------------------------------------------------------- Apt-cdrom 'registers' in the /etc/apt/sources.list you CD's. You have registerd binary packages cds. You can get the MATCHING source packages cd or add entries to the sarge repo for both deb and deb-src BUT this will mean you will need to update your sarge to the latest point release (apt-get update). Cheers, Kev -- | .''`. == Debian GNU/Linux == | my web site: | | : :' : The Universal | debian.home.pipeline.com | | `. `' Operating System | go to counter.li.org and | | `- http://www.debian.org/ | be counted! #238656 | | my keysever: pgp.mit.edu | my NPO: cfsg.org |
signature.asc
Description: Digital signature