Thiago Vinhas de Moraes wrote:
Hi.
How can I automatically update the packages from Severn using the up2date tool? I saw somewhere that it´s possible, but have no idea of what to do to have this done.
Not really up2date, but I use the following script:
#!/bin/sh
export RSYNC_PASSWORD=XXXXXXXXXX REMOTE_DIR="rsync://beta@ftp.beta.redhat.com/beta/pub/redhat/linux/rawhide/i 386/RedHat/RPMS/" LOCAL_DIR=/home/RedHat/rawhide/RPMS/
mirror() { rsync -LvvH --delete --stats --progress --recursive --exclude=headers --size-only $REMOTE_DIR $LOCAL_DIR } mirror
rpm -Fvh /home/RedHat/rawhide/RPMS/*.rpm
...viewer discretion advised... You'll need to change the mirror and password, but you get the idea.... Works quite nicely for archiving updates as well....
Don
Dude, but it will install all RPMS downloaded from rawhide right? It will not just get and update the rpms I have installed on my system.
But thanks anyway.
Regards, Thiago
----- Original Message ----- From: "Vanco, Donald" VANCOD@PIOS.com To: rhl-beta-list@redhat.com Sent: Tuesday, August 19, 2003 2:35 PM Subject: RE: up2date from rawhide
Not really up2date, but I use the following script:
#!/bin/sh
export RSYNC_PASSWORD=XXXXXXXXXX
REMOTE_DIR="rsync://beta@ftp.beta.redhat.com/beta/pub/redhat/linux/rawhide/i
386/RedHat/RPMS/" LOCAL_DIR=/home/RedHat/rawhide/RPMS/
mirror() { rsync -LvvH --delete --stats --progress --recursive --exclude=headers --size-only $REMOTE_DIR $LOCAL_DIR } mirror
rpm -Fvh /home/RedHat/rawhide/RPMS/*.rpm
...viewer discretion advised... You'll need to change the mirror and password, but you get the idea.... Works quite nicely for archiving updates as well....
Don
-- Rhl-beta-list mailing list Rhl-beta-list@redhat.com http://www.redhat.com/mailman/listinfo/rhl-beta-list
On Tue, 19 Aug 2003, Thiago Vinhas de Moraes wrote:
Dude, but it will install all RPMS downloaded from rawhide right? It will not just get and update the rpms I have installed on my system.
Look closely, he is using the -F option (freshen) which only updates the rpms that are currently installed.
Cheers...james
But thanks anyway.
Regards, Thiago
----- Original Message ----- From: "Vanco, Donald" VANCOD@PIOS.com To: rhl-beta-list@redhat.com Sent: Tuesday, August 19, 2003 2:35 PM Subject: RE: up2date from rawhide
Not really up2date, but I use the following script:
#!/bin/sh
export RSYNC_PASSWORD=XXXXXXXXXX
REMOTE_DIR="rsync://beta@ftp.beta.redhat.com/beta/pub/redhat/linux/rawhide/i
386/RedHat/RPMS/" LOCAL_DIR=/home/RedHat/rawhide/RPMS/
mirror() { rsync -LvvH --delete --stats --progress --recursive --exclude=headers --size-only $REMOTE_DIR $LOCAL_DIR } mirror
rpm -Fvh /home/RedHat/rawhide/RPMS/*.rpm
...viewer discretion advised... You'll need to change the mirror and password, but you get the idea.... Works quite nicely for archiving updates as well....
Don
-- Rhl-beta-list mailing list Rhl-beta-list@redhat.com http://www.redhat.com/mailman/listinfo/rhl-beta-list
-- Rhl-beta-list mailing list Rhl-beta-list@redhat.com http://www.redhat.com/mailman/listinfo/rhl-beta-list
Le mar 19/08/2003 à 19:35, Vanco, Donald a écrit :
Thiago Vinhas de Moraes wrote:
Hi.
How can I automatically update the packages from Severn using the up2date tool? I saw somewhere that it´s possible, but have no idea of what to do to have this done.
Not really up2date, but I use the following script: [...] rpm -Fvh /home/RedHat/rawhide/RPMS/*.rpm
I don't know if it's "enough". My up2date severn -> Rawhide give : The following packages were added to your selection to satisfy dependencies:
Name Version Release -------------------------------------------------------------- e2fsprogs-devel 1.34 1 libgsf-devel 1.8.1 6 redhat-config-securitylevel-tui 1.2.3 1 tzdata 2003a 2 gtkspell 2.0.4 1
is "rpm -F" automatically add this packages ?
Don