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

Re: can't install from a local repository



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 22 August 2003 20:50, Eric Winger <ewinger@keyww.com> wrote:
> I'm still missing something. Where should the .deb files be in
> relationship to the Packages.gz? I thought the same directory. Is
> that not correct?

I use the following:

 * Put the debs in ~/public_html
 * cd into ~/public_html and run the script below
 * apt-get update
 * apt-get install <whatever>

The deb line I use is of the form:

 deb http://localhost/~paul /

And the script is three lines long:

#! /bin/sh
dpkg-scanpackages . /dev/null | gzip -c9 > Packages.gz
dpkg-scansources . | gzip -c9 > Sources.gz

The two programs refered to above are in the dpkg-dev package.

In my ~/public_html directory, I would thus have:

 foo.deb
 bar.deb
 Packages.gz

and an empty Sources.gz (for example).

The manpages for the two dpkg- programs have some more information.

Regards,

Paul Cupis
- -- 
paul@cupis.co.uk

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iEYEARECAAYFAj9Gf+gACgkQIzuKV+SHX/mnYwCfeahTEmu9J2w5G/IETw16tRSg
RHAAoIFBgqhG3+uOKOzx6oNiBORdh+3M
=tFpo
-----END PGP SIGNATURE-----



Reply to: