Re: your mail
On Wed, Mar 28, 2001 at 11:12:59AM -0800, Shannon Menkveld scribbled...
> I am really confused... I downloaded several .deb packages from
> ftp.debian.org on my machine at work, and burned them to a CD-RW to take
> home. I copied the files to a directory /home/Backups/debian, and added a
> line to /etc/apt/apt.sources:
>
> deb file://home/Backups/debian/
>
> According to the apt.sources man page, this should work. However, when I
> try to apt-get install one of the packages in that directory, I get a
> error
> that apt-get cannot find the file Packages.something (not sitting in front
> of the Debian box, so I'm not sure about the extension). What is this
> file,
> what is in it, and how do I build one?
Packages.gz Just a gzipped text file.
It's a file containing info about the different debs in the directory.
I'd suggest looking through the docs on apt-get and dpkg for info about
how exactly to create one. It's more than just a simple list, it has version
info, requirements, provided stuff, etc.
I think you can just dpkg those debs though
dpgk -i /home/Backups/debian/*deb
>
> More generally, how do I configure apt-get to use this directory as
> a repository for .deb packages. I want this to be the directory where I
> store the packages I download, and of course, I want to be able to
> install packages that I download. I tried the apt documentation, but I
> think I am running into the famous "assumed knowledge" problem common to
> much Linux documentation. I am brand new to Debian, having spent the
> last 2
> years in the rpm world, and understanding the documentation is sometimes
> difficult. What obvious, really stupid, newbie thing am I missing here?
>
> Thanks,
> --Shannon
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
Reply to: