First step, I set up a proxy, to avoid many repetive downloads, or at least to just download them from my ssd's.

I've used the proxy.sh as described here: Shell proxy autoconfiguration and just manually filled the CFEngine variables.

(As I'm writing this I feel like an idiot for not letting Rudder do that)

Then we sed all 42.1 repos to 42.2 and remove, if it exists, the cd repo from the original install.

After that a refresh works just fine and we can run the update.

~ # cp -pr /etc/zypp/repos.d ~/ &&
sed -i 's/42.1/42.2/g' /etc/zypp/repos.d/*repo &&
grep "cd:///" /etc/zypp/repos.d/repos.d/openSUSE-42.1-0.repo && 
rm /etc/zypp/repos.d/repos.d/openSUSE-42.1-0.repo
~ # zypper ref
Repository 'openSUSE-Leap-42.2-Oss' is up to date. 
Repository 'openSUSE-Leap-42.2-Update' is up to date. 
Repository 'openSUSE-Leap-42.2-Update-Non-Oss' is up to date. 
All repositories have been refreshed.
~ # zypper up

 

This is pretty much all you need!

  • No labels