[lug] deb/ubuntu repos

David L. Anselmi anselmi at anselmi.us
Thu Mar 12 14:28:15 MDT 2015


Michael J. Hammel wrote:
> I need to create an ubuntu repository and a debian repository with
> custom kernel and other software .debs.  I'd like these accessible from
> a single web server.

I put my debs in a directory and run:

dpkg-scanpackages . /dev/null | gzip > Packages.gz

to make the packages file.

Then in apt/sources.list I have:

deb file:/path/to/dir ./

and apt can find the files for me.

I suppose that if you put all that in a place you can browse to then an http path would work.

Does that help?  I have no idea if it's at all extensible to signatures.  And obviously I'm not 
fooling with releases and the usual sophistication of a repository.

Dave


More information about the LUG mailing list