local repository

Dennis Kaarsemaker dennis at kaarsemaker.net
Wed Mar 15 23:27:48 UTC 2006


On wo, 2006-03-15 at 18:01 +0530, Yogesh soni wrote:
> How can I create a local repository & how can I tell synaptic to use
> that repository.

You can quickly make a simple one from a bunch of deb files with
apt-ftparchive:

$ cd /path/to/pool_of_debs
$ apt-ftparchive packages | gzip > Packages.gz

Then add this line to sources.list:

deb file:///path/to/pool_of_debs ./
-- 
Dennis K.
 - Linux for human beings - http://www.ubuntu.com
 - Linux voor normale mensen - http://www.ubuntu-nl.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060316/a1bcf7c7/attachment.sig>


More information about the ubuntu-users mailing list