Get them from the repository
> cd /tmp
> mkdir local-upgrade
> cd local-upgrade
and then store there the rpms you want to update from the UI repository
http://glite.web.cern.ch/glite/packages/R3.0/deployment/glite-UI/glite-UI.asp
Unpack them locally
Transform the rpms in cpio packages and then upack them.
> cd /tmp/local-upgrade
> for n in `ls *.rpm`; do rpm2cpio $n > $n.cpio; done
> for n in `ls *.cpio`; do cpio -id --verbose --no-absolute-filenames < $n; done
Now, if you want to copy them in a directory called $TARGET_DIR do the following. If you are absolutely sure that you will not corrupt the current UI you can do this directly in the current
production UI, but it is better if you verify the packages by doing a few tests before hand.
> cd opt
> tar cpf - . | (cd $TARGET_DIR ; tar xpf - )
Synchronise the read-only copy
> cd /afs/.cern.ch/project/gd/LCG-share/sl3
> afs_admin vos_release p.gd.lcgshare
-- Main.diana - 15 Jan 2007