upgrade: do apk-tools upgrade first (and two cosmetic fixes)

We used to do a dry run of the upgrade before actually upgrading apk first. apk then says:

WARNING: This simulation is not reliable as apk-tools upgrade is available.

And when simulating the upgrade from v24.12 to edge with Phosh we do run into an error that we don't get after upgrading apk first:

  ERROR: unable to select packages:
    polkit-noelogind-libs-126-r0:
      conflicts: polkit-elogind-libs-126-r0[so:libpolkit-agent-1.so.0=0.0.0]
                 polkit-elogind-libs-126-r0[so:libpolkit-gobject-1.so.0=0.0.0]
      satisfies: polkit-126-r0[polkit-noelogind-libs=126-r0]
                 polkit-126-r0[so:libpolkit-gobject-1.so.0]
                 polkit-elogind-126-r0[so:libpolkit-gobject-1.so.0]
  ...
Edited by Oliver Smith

Merge request reports

Loading
Loading