Re: [ILUG] APT for RedHat - what you need to know

From: Colm MacCárthaigh (colmmacc at domain Redbrick.DCU.IE)
Date: Mon 30 Sep 2002 - 11:04:03 IST


On Mon, Sep 30, 2002 at 10:38:35AM +0000, Conor Daly wrote:
> Will that leave /var/cache/apt in a state that I can mirror and bring home?

It might, but it would break the script. Basically the
script does a for * in /var/cache/apt/*.deb/rpm to find
out what's been downloaded because apt gives no good
way of telling where it has put files and what it
has got (on our mirror server we use file:/ URI's
so we can't even parse output).

> Or would I do better to use Kevin Lyda's rsync the apt sources nightly at
> home (obviously having done the first rsync over a big fat pipe) and do my
> apt-get against the local mirror? Since this would run over a 56k dialup,
> the rsync looks like being cheaper than "apt-get upgrade" though that
> depends on how much of the apt sources changes compared with how much I have
> installed locally. Best option there is probably a hack on apticron to
> rsync against the packages stored locally though there'd be some renaming
> kludges to do. Hmm, would
>
> mv red-carpet-1.2.3-ximian.4.i386.rpm red-carpet-1.3.4-1.ximian.3.i386.rpm
> rsync http://ftp.heanet.ie/mirrors/apt.freshrpms.net/redhat/7.2/en/i386/ \
> red-carpet-1.3.4-1.ximian.3.i386.rpm .
>
> work?
>
> Does leaving the "apt-get clean" line in place mean that I miss the changes
> that happened over my holidays or do I end up with a cumulative list when I
> get back to work? I'm assuming the latter.

You'd get the latter :)

-- 
colmmacc at domain redbrick.dcu.ie        PubKey: colmmacc+pgp at domain redbrick.dcu.ie  
Web:                                 http://devnull.redbrick.dcu.ie/ 


This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:19:09 GMT