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

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/
> afs_admin vos_release 

-- Main.diana - 15 Jan 2007

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r4 - 2007-01-15 - DianaBosio
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LCG All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback