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

Re: Setting up my own apt sources



On Fri, Aug 03, 2001 at 04:34:01PM +0300, George Karaolides wrote:
> I now have many Debian packages in /var/cache/apt/archives.  How can I use
> these to set up a local apt source on one of my servers and avoid having
> to download them all over again?  I've figured out how to do that for the
> base2_2.tgz file but not for the packages.  How does one go about
> organising a server so it can be an apt source?

Depends on what exactly you want to do.  If you want to host a mirror
of the latest versions of your packages (or a full mirror of debian),
take a look at the apt-move package.  It looks like it should do a
pretty good job of that.

If you want to maintain an archive containing only selected versions
of debs, apt-move isn't, IMO, a very good choice, so I've thrown
together my own script for handling this case.  It's not very clean
and will likely misbehave in some circumstances, but you can contact
me for more information about it if apt-move isn't quite what you're
looking for.

-- 
With the arrest of Dimitry Sklyarov it has become apparent that it is not
safe for non US software engineers to visit the United States. - Alan Cox
"To prevent unauthorized reading..."         - Adobe eBook reader license



Reply to: