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

Re: Wannabe-maintainer's question



On Thu, Jul 20, 2000 at 03:17:21PM +0300, Petteri Hintsanen wrote:
> > > downloading and bandwidth waste.  So, in short, I couldn't upgrade the
> > > base installation, at least not often.
> > I'm pretty sure there's some way of having apt generate a list of what it
> > wants to download (given an accessible Packages file), so you could
> > download that elsewhere, and then put the files in /var/cache/apt/archive/
> > and run apt-get dist-upgrade then. So, it's not convenient, but not
> > impossible. And much more preferable to maintain an own mirror somewhere.
> 
> Yes, I've done so already with my current installation.  But, like you
> said, it's not a convenient way, especially if there are _many_ packages
> required for upgrade.

Provided the download machine also has apt-get, it is quite easy to do
with the right config files.  At the university a Debian mirror is just
one hop away, which gives nice download rates in the range of 4MB per
second which makes it quite worth it.

I take a whole directory from home to the university machine and back.
This contains the structure apt needs and two config files, one for
downloading and one for installing.

At home I copy the current dpkg status to this directory, tar it to DDS
tape and untar it at univ.

cd apt-directory
apt-get -c=apt.conf update
apt-get -c=apt.conf dist-upgrade
cd ..
tar -cvf ......etc.....

At home, untar and:

su
cd apt-directory
apt-get -c=aptinst.conf dist-upgrade
exit

Done.  The advantage of this method over apt-zip is that it uses the
package list current at download time.  I can provide detailed
descriptions and the config file if wanted.

-- 
 Andreas E. Bombe <andreas.bombe@munich.netsurf.de>    DSA key 0x04880A44
http://home.pages.de/~andreas.bombe/    http://linux1394.sourceforge.net/



Reply to: