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

Re: Building my own apt archive



> No, that wouln't work. I have debs from a lot of places (unofficial
> packages, updated versions backported to slink, etc, etc) and I want to
> combine them onto one CD. So I have to build my own Packages.gz


I do that all the time.  On my system, I have a directory /debian/local, where 
I dump all the assorted .deb's.  Then, in the /debian directory, I have the 
following one-line script, called 'makelocal'.


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


So, I go into /debian, and run ./makelocal.  (I know, I could make this more 
generic, and runnable from anywhere, but if it ain't broke, etc, etc.)


Jim R
LockStar




Reply to: