Hello, On Tue, 29 Apr 2014, Carl Spitzer wrote:
How can I make a update disk from an existing system to use on another system?. OpenSuSE appears to store all updates under /var/cache/zypp/
I wish to use the downloaded RPMs from the laptop I updated at the library on the desktop at home. At home I have dialup so the usual method would take too long.
I note there is the choice for a update source to be dvd but my attempt to use a burn of the contents of the zypp directory did not work.
How do I make a working update disk??
Just grab the packages (from /var/cache/zypp), dump them in a directory on the target machine and add a plain-dir-repo for that dir on the target machine. E.g., for self-compiled stuff in /usr/src/packages I used createrepo for a while, but it soon got tedious. So I now use this (if I don't push it to my ~ in the OBS): ==== /etc/zypp/repos.d/usr-src-packages.repo ==== [usr-src-packages] name=usr-src-packages enabled=1 autorefresh=1 baseurl=dir:///usr/src/packages/RPMS path=/ type=plaindir priority=85 keeppackages=0 ==== So, if you e.g. make a dir /data/updates and just copy whatever rpms you want in there, they'll get picked up if you use ==== /etc/zypp/repos.d/data-updates.repo ==== [data-updates] name=data-updates enabled=1 autorefresh=1 baseurl=dir:///data/updates path=/ type=plaindir priority=85 keeppackages=0 ==== Adjust the priority, path, name etc. to your liking. Oh, I forgot: you MUST use the usual hierarchy! I.e. /data/updates/x86_64, /data/updates/i586, /data/updates/noarch etc. and put the packages in the right subdirs. But that's it. Just use the same subdirs as where you get the packages from. HTH, -dnh -- Unsubscribing from a mailing list you subscribed to is a basic IQ test for Internet users. -- Author unknown, seen on the PCR-1000 list -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org