Failed: Ominia upgrade from 3 to 5 is now broken

Hi

I have just upgraded from Turris Omnia 3.11.23 to 5.1.9 and installation is not fully complete.

Some parts working

  • ssh login
  • ip routing to internet (I’m using it now)

Not working

  • opkg upgrade
  • lxc (container software not installed)
  • Luci web-site is not running

When running upgrade I get:

root@turris:~# opkg update
Package lxc-auto version 1.1.5-15 has no valid architecture, ignoring.
Package hd-idle version 1.04-2 has no valid architecture, ignoring.
Package https-cert version 3 has no valid architecture, ignoring.
Package ucollect-config version 117 has no valid architecture, ignoring.
Package netmetr version 1.6.0-3.6-1 has no valid architecture, ignoring.
Downloading https://repo.turris.cz/hbs/omnia/packages/core/Packages.gz
*** Failed to download the package list from https://repo.turris.cz/hbs/omnia/packages/core/Packages.gz

I have not dared to reboot yet.

Any help much appricated.

./hans

As written here


I tried to run /usr/bin/update_alternatives.sh
It removed some errors so now I got:

root@turris:~# opkg update | sed -e 's/^/    /'
Package lxc-auto version 1.1.5-15 has no valid architecture, ignoring.
Package hd-idle version 1.04-2 has no valid architecture, ignoring.
Package https-cert version 3 has no valid architecture, ignoring.
Package ucollect-config version 117 has no valid architecture, ignoring.
Package netmetr version 1.6.0-3.6-1 has no valid architecture, ignoring.
Downloading https://repo.turris.cz/hbs/omnia/packages/core/Packages.gz
Updated list of available packages in /var/opkg-lists/turrisos_core
Downloading https://repo.turris.cz/hbs/omnia/packages/core/Packages.sig
Signature check passed.
....

I then ran

opkg install lxc-auto

and also the other packages mentioned above. They gave some errors but seemed to work.

After that I ran and it seems like there is no critical errors left

root@turris:~# pkgupdate
INFO:Target Turris OS: 5.1.9
WARN:Requested package foris-storage-plugin-l10n-de that is missing, ignoring as requested.
WARN:Requested package reforis-diagnostics-plugin-l10n-de that is missing, ignoring as requested.
WARN:Requested package reforis-snapshots-plugin-l10n-de that is missing, ignoring as requested.

Running opkg list-upgradable gives an empty output. It looks fine and I’ll try a reboot.

When i went over, i had to reboot about 3 times, fine tune everyting, reboot etc etc. As long as it is reachable with SSH, you can do it me think?