Problems trying to upgrade to leap 15 from 42.3 in a RP3

Hello,
I have tried several times, but always fails ann the raspberry is unable to start.
I have 42.3 fully updated.
Then I have added the new repositories:

linux:~ # zypper lr -dRepository priorities are without effect. All enabled repositories share the same priority.


# | Alias                             | Name                              | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                         | Se
rvice
--+-----------------------------------+-----------------------------------+---------+-----------+---------+----------+--------+-----------------------------------------------------------------------------+---
-----
1 | openSUSE-Ports-Leap-15-Update     | openSUSE-Ports-Leap-15-Update     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/ports/update/leap/15.0/oss/                    |


2 | ​openSUSE-Ports-Leap-15-repo-oss   | openSUSE-Ports​-Leap-15-repo-oss   | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/ports/aarch64/distribution/leap/15.0/repo/oss/ |


3 | openSUSE-Ports-Leap-42.3-Update   | openSUSE-Ports-Leap-42.3-Update   | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/ports/update/leap/42.3/oss/                    |


4 | openSUSE-Ports-Leap-42.3-repo-oss | openSUSE-Ports-Leap-42.3-repo-oss | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/ports/aarch64/distribution/leap/42.3/repo/oss/ |

Now, the different problems: If I do what in another thread is suggested…

linux:~ # zypper dup --from openSUSE-Ports-Leap-15-repo-oss
Loading repository data...
Reading installed packages...
Computing distribution upgrade...
4 Problems:
Problem: libcryptsetup4-1.6.4-7.2.aarch64 requires libdevmapper.so.1.02()(64bit), but this requirement cannot be provided
Problem: libyui-ncurses-pkg7-2.48.4-2.1.aarch64 requires libzypp.so.1600()(64bit), but this requirement cannot be provided
Problem: perl-PlRPC-0.2020-27.1.aarch64 requires perl(:MODULE_COMPAT_5.18.2), but this requirement cannot be provided
Problem: dirmngr-lang-1.1.1-18.2.noarch requires dirmngr = 1.1.1, but this requirement cannot be provided


Problem: libcryptsetup4-1.6.4-7.2.aarch64 requires libdevmapper.so.1.02()(64bit), but this requirement cannot be provided
  uninstallable providers: device-mapper-1.02.97-77.1.aarch64[openSUSE-Ports-Leap-42.3-Update]
                   device-mapper-1.02.97-75.2.aarch64[openSUSE-Ports-Leap-42.3-repo-oss]
 Solution 1: deinstallation of libcryptsetup4-1.6.4-7.2.aarch64
 Solution 2: keep obsolete device-mapper-1.02.97-80.1.aarch64
 Solution 3: break libcryptsetup4-1.6.4-7.2.aarch64 by ignoring some of its dependencies


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

Hundreds of message like this appears… With different solutions… A complete mess.

If I do…

linux:~ # zypper dup
Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. S
ee 'man zypper' for more information about this command.
Loading repository data...
Reading installed packages...
Computing distribution upgrade...


The following 129 NEW packages are going to be installed:
  GeoIP GeoIP-data Mesa-dri Mesa-gallium at-spi2-core-lang atk-lang bash-completion-devel bash-completion-doc boost-license1_66_0 cpio-mt cryptsetup
  cups-config dbus-1-glib-tool dialog-lang diffutils-lang elfutils-lang findutils-lang gdk-pixbuf-thumbnailer grep-lang hostname
  kernel-default-4.12.14-lp150.12.4.1 libGeoIP1 libJudy1 libLLVM5 libargon2-1 libbind9-160 libboost_system1_66_0 libboost_thread1_66_0
  libbrotlicommon1 libbrotlienc1 libcares2 libcryptsetup12 libcups2 libdialog14 libdns169 libebl-plugins libffi7 libgc1 libgd3 libglvnd libgnutls30
  libgpgme11 libgstallocators-1_0-0 libgstgl-1_0-0 libhogweed4 libhunspell-1_6-0 libical2 libicu60_2 libicu60_2-ledata libidn2-0 libirs160 libisc166
  libisccc160 libisccfg160 libjson-c3 libjte1 liblua5_3-5 liblwres160 liblz4-1 libmariadb3 libmetalink3 libmozjs-52 libnettle6 libnsl2 libnss_nis2
  libopenssl1_1 libprocps6 libpsl5 libpwquality-lang libpwquality1 libpython3_6m1_0 libqrencode4 libreadline7 librest-0_7-0 libruby2_5-2_5 libssh4
  ...]
  ruby2.5-rubygem-ruby-augeas ruby2.5-rubygem-ruby-dbus ruby2.5-stdlib system-group-hardware system-user-lp system-user-mail system-user-nobody
  system-user-root system-user-wwwrun systemd-container systemd-coredump systemd-presets-common-SUSE sysuser-shadow tar-rmt vim-data-common w3m
  yast2-trans-en


The following 10 packages are going to be REMOVED:
  bind-libs cups-libs dbus-1-python librest0 libtxc_dxtn php7-mcrypt python-gobject python-gobject-Gdk python-gobject-cairo
  raspberrypi-firmware-config-rpi3


The following 410 packages are going to be upgraded:
  Mesa Mesa-libEGL1 Mesa-libGL1 Mesa-libglapi0 Mesa-libva PackageKit-gstreamer-plugin PackageKit-gtk3-module SuSEfirewall2 aaa_base aaa_base-extras
  adwaita-icon-theme alsa alsa-plugins alsa-utils apache2 apache2-mod_php7 apache2-prefork apache2-utils at-spi2-core audit augeas augeas-lenses bash
  bash-completion bash-doc bash-lang bcm43xx-firmware bind-utils bluez btrfsmaintenance btrfsprogs btrfsprogs-udev-rules ca-certificates
  cantarell-fonts checkmedia coreutils coreutils-lang cpio cpio-lang cracklib curl dbus-1 dbus-1-glib dbus-1-x11 dconf dejavu-fonts
  desktop-translations dialog diffutils dmidecode dtb-broadcom e2fsprogs elfutils expat file file-magic filesystem findutils fipscheck fontconfig
  fuse gawk gd gdk-pixbuf-lang gdk-pixbuf-loader-rsvg gdk-pixbuf-query-loaders gettext-runtime girepository-1_0 glib-networking glib-networking-lang
   ...] 
-ruby-bindings yast2-security yast2-slp yast2-snapper yast2-transfer yast2-users yast2-xml yast2-ycp-ui-bindings
  zypper-aptitude zypper-log


The following 2 packages are going to be downgraded:
  hicolor-icon-theme-branding-openSUSE libenchant1


The following 3 packages are going to change architecture:
  file-magic             aarch64 -> noarch
  mariadb-errormessages  aarch64 -> noarch
  openssl                aarch64 -> noarch


410 packages to upgrade, 2 to downgrade, 129 new, 10 to remove, 3 to change arch.
Overall download size: 346.7 MiB. Already cached: 0 B. After the operation, additional 575.6 MiB will be used.

Like this seems goes better… BUT there is no message of, you are going to upgrade to leap 15 (upgrading from 42.2 to 42.3 it showed). There are also just two or three messages of libraries been updated for two packages… But is ok. The problem is that the raspberry is unable to start and if y connect the hdmi I can see that the grub is still looking for 42.3… I can see the 10seg contdown and then black screen.

The last option I have tested is removing the 42.3 repos…

linux:~ # zypper dup
Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. S
ee 'man zypper' for more information about this command.
Loading repository data...
Reading installed packages...
Computing distribution upgrade...


The following 167 NEW packages are going to be installed:
  GeoIP GeoIP-data Mesa-dri Mesa-gallium at-spi2-core-lang atk-lang bash-completion-devel bash-completion-doc boost-license1_66_0 cpio-mt cryptsetup
  cups-config dbus-1-glib-tool dialog-lang diffutils-lang elfutils-lang findutils-lang gdk-pixbuf-thumbnailer grep-lang gtk3-schema hostname
  kernel-default-4.12.14-lp150.12.4.1 libGeoIP1 libJudy1 libLLVM5 libargon2-1 libbind9-160 libboost_system1_66_0 libboost_thread1_66_0
  libbrotlicommon1 libbrotlienc1 libcares2 libcryptsetup12 libcups2 libdevmapper-event1_03 libdevmapper1_03 libdialog14 libdns169 libdns_sd
  libebl-plugins libevent-2_1-8 libffi7 libgc1 libgd3 libglvnd libgnutls30 libgpgme11 libgstallocators-1_0-0 libgstgl-1_0-0 libhogweed4
  libhunspell-1_6-0 libical2 libicu60_2 libicu60_2-ledata libidn2-0 libirs160 libisc166 libisccc160 libisccfg160 libjemalloc2 libjson-c3 libjte1
  liblua5_3-5 liblvm2app2_2 liblvm2cmd2_02 liblwres160 liblz4-1 libmariadb3 libmetalink3 libmozjs-52 libnettle6 libnpth0 libnsl2 libnss_nis2
  libopenssl1_1 libpq5 libprocps6 libpsl5 libpwquality-lang libpwquality1 libpython3_6m1_0 libqrencode4 libreadline7 librest-0_7-0 libruby2_5-2_5
  libsgutils2-1_43-2 libssh4 libstorage-ng-lang libstorage-ng-ruby libstorage-ng1 libtirpc-netconfig libtirpc3 libunistring2 libunwind
  libwayland-cursor0 libwayland-egl1 libwebp6 libwebpdemux2 libxkbcommon0 libxtables12 libyui-ncurses-pkg8 libyui-ncurses8 libyui8 libzip5 mailx
  mtools net-tools-lang openssl-1_1 parted-lang perl-CPAN-Changes perl-Devel-Symdump perl-Net-LibIDN perl-Pod-Coverage perl-Test-Pod
  perl-Test-Pod-Coverage perl-Text-Soundex perl-Try-Tiny psqlODBC publicsuffix python-rpm-macros python2-dbus-python python2-gobject
  python2-gobject-Gdk python2-gobject-cairo python3-appdirs python3-bind python3-curses python3-dbm python3-dbus-python python3-packaging python3-ply
  python3-pyparsing python3-six python3-zypp-plugin raspberrypi-firmware-config raspberrypi-firmware-dt ruby2.5 ruby2.5-rubygem-abstract_method
  ruby2.5-rubygem-cfa ruby2.5-rubygem-cfa_grub2 ruby2.5-rubygem-cheetah ruby2.5-rubygem-fast_gettext ruby2.5-rubygem-gem2rpm
  ruby2.5-rubygem-ruby-augeas ruby2.5-rubygem-ruby-dbus ruby2.5-rubygem-simpleidn ruby2.5-stdlib system-group-hardware system-user-lp
  system-user-mail system-user-nobody system-user-root system-user-wwwrun systemd-container systemd-coredump systemd-presets-common-SUSE
  sysuser-shadow tar-rmt thin-provisioning-tools usbmuxd vim-data-common w3m xkeyboard-config xkeyboard-config-lang yast2-storage-ng yast2-trans-en
  zypper-migration-plugin


The following 59 packages are going to be REMOVED:
  bind-libs boost-license1_54_0 cups-libs dbus-1-python dirmngr dirmngr-lang libLLVM libboost_atomic1_54_0 libboost_system1_54_0
  libboost_thread1_54_0 libcryptsetup4 libdialog11 libelf0 libffi4 libgnutls28 libhogweed2 libical1 libicu52_1 libicu52_1-data libjasper1 liblua5_1
  liblua5_2 libmcrypt libmysqlclient18 libnettle4 libprocps3 libpth20 libpython3_4m1_0 libqrencode3 librest0 libruby2_1-2_1 libsgutils2-2
  libstorage-ruby libstorage7 libtxc_dxtn libvpx1 libwebp5 libxtables10 libyui-ncurses-pkg7 libyui-ncurses7 libyui7 perl-PlRPC php7-mcrypt
  python-gobject python-gobject-Gdk python-gobject-cairo raspberrypi-firmware-config-rpi3 ruby2.1 ruby2.1-rubygem-abstract_method ruby2.1-rubygem-cfa
  ruby2.1-rubygem-cfa_grub2 ruby2.1-rubygem-cheetah ruby2.1-rubygem-fast_gettext ruby2.1-rubygem-gem2rpm ruby2.1-rubygem-ruby-augeas
  ruby2.1-rubygem-ruby-dbus ruby2.1-stdlib yast2-storage zypp-plugin-python


The following 479 packages are going to be upgraded:
  Mesa Mesa-libEGL1 Mesa-libGL1 Mesa-libglapi0 Mesa-libva PackageKit PackageKit-backend-zypp PackageKit-gstreamer-plugin PackageKit-gtk3-module
  PackageKit-lang SuSEfirewall2 aaa_base aaa_base-extras adwaita-icon-theme alsa alsa-plugins alsa-utils apache2 apache2-mod_php7 apache2-prefork
  apache2-utils at-spi2-core audit augeas augeas-lenses autoyast2-installation bash bash-completion bash-doc bash-lang bcm43xx-firmware bind-utils
  bluez btrfsmaintenance btrfsprogs btrfsprogs-udev-rules ca-certificates cantarell-fonts checkmedia coreutils coreutils-lang cpio cpio-lang cracklib
  ...]
   
  
  yast2-core yast2-country yast2-country-data yast2-firewall yast2-firstboot yast2-hardware-detection yast2-installation yast2-ldap yast2-network
  yast2-ntp-client yast2-online-update yast2-packager yast2-pam yast2-perl-bindings yast2-pkg-bindings yast2-proxy yast2-ruby-bindings yast2-security
  yast2-services-manager yast2-slp yast2-snapper yast2-transfer yast2-update yast2-users yast2-xml yast2-ycp-ui-bindings zypper zypper-aptitude
  zypper-log


The following 154 packages are going to be downgraded:
  PackageKit-branding-openSUSE SUSEConnect acl adjtimex alsa-oss binutils blog branding-openSUSE bzip2 ca-certificates-mozilla cracklib-dict-full
  crda cron dmraid dracut efibootmgr fdupes fillup gcr-data gcr-lang gcr-prompter gcr-viewer gio-branding-openSUSE google-opensans-fonts grub2
  grub2-arm64-efi grub2-branding-openSUSE grub2-snapper-plugin grub2-systemd-sleep-plugin gtk3-branding-openSUSE hicolor-icon-theme-branding-openSUSE
  hwinfo ifplugd initviocons insserv-compat libICE6 libSM6 libXau6 libXcomposite1 libXdamage1 libXext6 libXft2 libXinerama1 libXmuu1 libXss1 libXt6
  libXxf86vm1 libacl1 libaio1 libaspell15 libatasmart4 libattr1 libavahi-client3 libavahi-common3 libavahi-glib1 libbz2-1 libcdda_interface0
  libcdda_paranoia0 libcdio_cdda2 libcdio_paranoia2 libdaemon0 libdb-4_8 libefivar1 libenchant1 libexif12 libgcc_s1 libgck-1-0 libgcr-3-1 libgomp1
  libhyphen0 libimobiledevice6 libiw30 libjpeg8 libldapcpp1 liblockdev1 libmodman1 libmozjs-17_0 libnfnetlink0 liboauth0 libpixman-1-0 libpopt0
  libreadline6 libsasl2-3 libsecret-1-0 libsecret-lang libsolv-tools libstdc++6 libtelepathy-glib0 libtheoradec1 libtheoraenc1 libtidyp-1_04-0
  libtiff5 libusb-0_1-4 libusbmuxd4 libustr-1_0-1 libutempter0 libverto1 libvisual libwrap0 libxshmfence1 lifecycle-data-openSUSE lockdev lsscsi
  mozilla-nspr notification-daemon notification-daemon-lang ntp openSUSE-build-key openSUSE-release openSUSE-release-ftp openslp openssh-askpass pam
  perl-Bootloader perl-Digest-HMAC perl-Digest-SHA1 perl-File-Listing perl-HTML-Tagset perl-HTTP-Daemon perl-HTTP-Date perl-HTTP-Negotiate
  perl-LWP-MediaTypes perl-MLDBM perl-Math-Base-Convert perl-Net-Daemon perl-Params-Util perl-Tie-IxHash perl-WWW-RobotRules perl-X11-Protocol
  perl-X500-DN perl-XML-SAX perl-XML-XPathEngine phpMyAdmin polkit-default-privs release-notes-openSUSE rollback-helper ruby-common sg3_utils
  sound-theme-freedesktop suse-module-tools systemd-presets-branding-openSUSE sysvinit-tools tcl timezone tk unixODBC unzip unzip-doc
  wallpaper-branding-openSUSE wireless-regdb wireless-tools xhost yast2-trans-stats zypper-lifecycle-plugin


The following product is going to be downgraded:
  "openSUSE Leap 42.3"


The following 6 packages are going to change architecture:
  file-magic                 aarch64 -> noarch
  mariadb-errormessages      aarch64 -> noarch
  openssl                    aarch64 -> noarch
  perl-Net-DNS               aarch64 -> noarch
  perl-XML-NamespaceSupport  aarch64 -> noarch
  perl-XML-XPath             aarch64 -> noarch


479 packages to upgrade, 154 to downgrade, 167 new, 59 to remove, 6 to change arch.
Overall download size: 432.0 MiB. Already cached: 0 B. After the operation, additional 525.8 MiB will be used.
Continue? [y/n/...? shows all options] (y):

LOTS of downgrades, and the zypper thinks I’m downgrading to 42.3… Obviously, this doesn’t work either.

Any tip??

As you can see at the top in your repo listing, there are still 42.3 ones!

Your last attempt is the right one. So, remove the 42.3 repos, add the 15.0 ones, run


zypper dup

Zypper thinks it’s a downgrade, since we moved from 42 -> 15 . There is a warning at the top which says you’re doing a distribution upgrade, no idea whether it showed versions before in a message.

The following command would disable your 42.3 repos…

zypper mr --disable 3 4

Good Luck,
I haven’t tried to upgrade recently but in the far past my experience has been spotty so I just backup, install new, re-install apps and migrate data.

TSU

Yeah! I put three options, and the last one was without the 42.3 repos… and ALL of them fails. In the last one, I see “Loading initial ramdisk…” and then black screen.

Thanks for the explanation, but doesn’t work :frowning:

Doesn’t work. I have apache and drupal with a multisite configuration… and really, I don’t want to redo the configuration. :
zypper dup should work… but doesn’t work. And my 42.3 is just a clean 42.3 with lamp (apache, mariadb and php).

Any hint?

So… Is it impossible to upgrade from 42.3 to leap 15 in a Raspberry pi 3?
What a pity :’(

So, to be clear…
Did you run the command I provided which should disable your 42.3 repos,
Followed by a refresh,
Followed by a “zypper dup”

If you did that, need to know the exact error(s) or stdout.
Pls post exact detailed result.

TSU

Yes, I removed those entries and refresh and then dup… Everything seemed ok, but once I tried the first reboot… total fail.
It fails in the reboot… There is no output. I can see the RP trying to start the SO (leap 15) and in “Loading initial ramdisk…” just a black screen, no message, nothing… I have my tv conected (hdmi) and a keyboard in a usb just for this problem because I always use ssh (my os version should be a JeOS version).
Now I’m back in the 42.3 (I have a complete iso just before the upgrade).
Any command I can run? Something before the first boot?? To check things before the first reboot, or before the dup? Or to change/check the booting secuence?

Any help, would be great :slight_smile:

Ok then what is your video card? any proprietary drivers???

It’s a raspberry pi 3B… :slight_smile:

Unfortunately,
If there is a problem specific to the RPi3, I can’t test or replicate your problem…

I work exclusively with RPi Zero…

So beyond the Zero and original RPi, I can only offer general advice and what might apply across several models…
But, as I described in the past I also found that upgrading didn’t always go smoothly so generally evolved a fatalistic attitude about building simply and expecting to build new with each major release. Am looking forward to the day when I won’t be fatalistic and become optimistic!

BTW -
To support my “painless re-build” approach,
I have a fairly evolved way of creating build scripts so that installing and setting up applications can be nearly “one-click” so I don’t have to expend a lot of brain power re-building. Pieces of what I do can be found sprinkled throughout various articles in my personal Wiki but nothing like a cookbook.
Although my scripts are BASH, others might prefer alternatives like AutoYast, Kickstart, etc.

TSU

So… During the start… There is no way to see “more stuff” and see where it keeps locking? Or something?