rockstor / rockstor-website

Main rockstor.com webpage. As a community endeavour we welcome contributions / corrections. Be sure to add your name to the AUTHORS file when submitting changes.
Other
2 stars 3 forks source link

Current 'Built on Tumbleweed' installers require initial cli zypper dup #71

Closed phillxnet closed 6 months ago

phillxnet commented 1 year ago

On Tumbleweed we already use the preferred zypper dup when doing Web-UI initiated OS updates. But as of our first 4.5.8-0 installer version uploaded we have inadvertently, and unnecessarily, sourced our kiwi package from the upstream Virtualisation repo. This in turn means our Web-UI initiated update fails due to a 'vendor' change requirement.

IGNORE THIS ISSUE IF IT IS CLOSED (still pertains to 4.5.8-0 based installers)

Work around

Via cli: zypper dup

Computing distribution upgrade...
3 Problems:
Problem: problem with the installed dracut-kiwi-lib-9.24.57-1.1.aarch64
Problem: problem with the installed dracut-kiwi-oem-dump-9.24.57-1.1.aarch64
Problem: problem with the installed dracut-kiwi-oem-repart-9.24.57-1.1.aarch64

Problem: problem with the installed dracut-kiwi-lib-9.24.57-1.1.aarch64
 Solution 1: install dracut-kiwi-lib-9.24.57-1.1.aarch64 from vendor openSUSE
  replacing dracut-kiwi-lib-9.24.57-1.1.aarch64 from vendor obs://build.opensuse.org/Virtualization:Appliances
 Solution 2: keep obsolete dracut-kiwi-lib-9.24.57-1.1.aarch64

Choose from above solutions by number or skip, retry or cancel [1/2/s/r/c/d/?] (c): 1

with the same answer for the other 2 vendor change Solutions and we have:

The following 3 packages are going to be reinstalled:
  dracut-kiwi-lib dracut-kiwi-oem-dump dracut-kiwi-oem-repart

The following 3 packages are going to change vendor:

  dracut-kiwi-lib       
    obs://build.opensuse.org/Virtualization:Appliances -> openSUSE
  dracut-kiwi-oem-dump  
    obs://build.opensuse.org/Virtualization:Appliances -> openSUSE
  dracut-kiwi-oem-repart
    obs://build.opensuse.org/Virtualization:Appliances -> openSUSE
phillxnet commented 10 months ago

Updated equivalent confirmation from a more recent installer build using a Tumbleweed profile:

zypper dup
Loading repository data...
Reading installed packages...
Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command.
Computing distribution upgrade...
3 Problems:
Problem: problem with the installed dracut-kiwi-lib-9.25.22-1.1.x86_64
Problem: problem with the installed dracut-kiwi-oem-dump-9.25.22-1.1.x86_64
Problem: problem with the installed dracut-kiwi-oem-repart-9.25.22-1.1.x86_64

Problem: problem with the installed dracut-kiwi-lib-9.25.22-1.1.x86_64
 Solution 1: install dracut-kiwi-lib-9.25.19-2.1.x86_64 from vendor openSUSE
  replacing dracut-kiwi-lib-9.25.22-1.1.x86_64 from vendor obs://build.opensuse.org/Virtualization:Appliances
 Solution 2: keep obsolete dracut-kiwi-lib-9.25.22-1.1.x86_64

Choose from above solutions by number or skip, retry or cancel [1/2/s/r/c/d/?] (c): 
phillxnet commented 7 months ago

We likely no longer required the additional repository of:

https://github.com/rockstor/rockstor-installer/blob/52915f535b466dc6530766768b6fb43cc6afdae0/rockstor.kiwi#L145-L148