After a failed update I try to start yast, but then

Internal error. Please report a bug report with logs.
Run save_y2logs to get complete logs.

Caller: /usr/lib64/ruby/vendor_ruby/3.2.0/yast/yast.rb:186:in `import_pure’

Details: component cannot import namespace ‘Pkg’

The error during update was about openssl if that helps. (sudo zypper dup)
So I aborted the update.

Instead of aborting, “ignore” would have been the correct solution as it would have installed all other packages. Now you have a broken system which needs manual fixing. See
https://bugzilla.opensuse.org/show_bug.cgi?id=1219562

1 Like

That was exactly the openssl error I got, thank you.

Now I will read the rest, and see if I can fix it. :slight_smile:

I had this openssl package error on all of my machines. But by choosing “ignore” all other packages (~2800) got installed. After that, a new zypper dup installed openssl3 flawlessly.

zypper dup does not work anymore, but I am trying:

rpm -Uhv ./download.opensuse.org-oss/x86_64/libzypp-17.31.28-1.5.x86_64.rpm ./download.opensuse.org-oss/x86_64/zypper-1.14.68-1.3.x86_64.rpm ./download.opensuse.org-oss/x86_64/libzypp-devel-17.31.28-1.5.x86_64.rpm ./download.opensuse.org-oss/x86_64/libsolv-devel-0.7.28-1.3.x86_64.rpm ./download.opensuse.org-oss/x86_64/libsolv-tools-0.7.28-1.3.x86_64.rpm

But that fails:

fout: open of ./download.opensuse.org-oss/x86_64/libzypp-17.31.28-1.5.x86_64.rpm failed: Bestand of map bestaat niet
fout: open of ./download.opensuse.org-oss/x86_64/zypper-1.14.68-1.3.x86_64.rpm failed: Bestand of map bestaat niet
fout: open of ./download.opensuse.org-oss/x86_64/libzypp-devel-17.31.28-1.5.x86_64.rpm failed: Bestand of map bestaat niet
fout: open of ./download.opensuse.org-oss/x86_64/libsolv-devel-0.7.28-1.3.x86_64.rpm failed: Bestand of map bestaat niet
fout: open of ./download.opensuse.org-oss/x86_64/libsolv-tools-0.7.28-1.3.x86_64.rpm failed: Bestand of map bestaat niet

It might be best for me to use an older snapshot ? to fix this ?
Ten run zupper dup again ?

This would only work when you downloaded the packages to your machine cache as Stefan did (–download-only). That means you have to exchange the path with the actual mirror path:

rpm -Uhv https://download.opensuse.org/tumbleweed/repo/oss/x86_64/libzypp-17.31.28-1.4.x86_64.rpm https://download.opensuse.org/tumbleweed/repo/oss/x86_64/zypper-1.14.68-1.3.x86_64.rpm https://download.opensuse.org/tumbleweed/repo/oss/x86_64/libsolv-tools-0.7.28-1.3.x86_64.rpm 

I tried a rollback but then:

 sudo snapper rollback
[sudo] wachtwoord voor root: 
Sorry, probeer het opnieuw.
[sudo] wachtwoord voor root: 
Ambit is classic.
Bezig alleen-lezen momentopname van standaard subvolume te maken. (Momentopname 1292.)
Bezig lezen-schrijven momentopname van huidig subvolume te maken. (Momentopname 1293.)
Standaard subvolume instellen naar momentopname 1293.
Client-side plugin '/usr/lib/snapper/plugins/10-sdbootutil.snapper' failed.
Server-side plugin '/usr/lib/snapper/plugins/10-sdbootutil.snapper' failed.
Server-side plugin '/usr/lib/snapper/plugins/10-sdbootutil.snapper' failed.

For now I give up, before I break things even further.

Just to be sure but when you typed sudo snapper rollback in your terminal have you rebooted your computer first and then started it from a read-only snapshot ?

If not and you still want to perform a rollback do as follow :

When you start your computer on the grub menu you have an option to start from a read only snapshot, there you can select a previous snapshot and start it in read only mode.

Basically you will load your system as it was when the snapshot was created and see if it’s fine for you.

If you want to revert your system to this state then while you are still loaded in this read only snapshot open a terminal and type :

sudo snapper rollback

And then reboot and you are done.

You can find more documentation here :
System recovery and snapshot management with Snapper | Reference | openSUSE Leap 15.5

1 Like

That was what I tried to do.
But then

Ambit is classic.
Bezig alleen-lezen momentopname van standaard subvolume te maken. (Momentopname 1298.)
Bezig lezen-schrijven momentopname van huidig subvolume te maken. (Momentopname 1299.)
Standaard subvolume instellen naar momentopname 1299.
Client-side plugin '/usr/lib/snapper/plugins/10-sdbootutil.snapper' failed.
Server-side plugin '/usr/lib/snapper/plugins/10-sdbootutil.snapper' failed.
Server-side plugin '/usr/lib/snapper/plugins/10-sdbootutil.snapper' failed.

Did you already reinstall the packages as described

I will try this now, and it was fun to read on this forum that my install is borked beyond repair. :smile:

I do not panic that easy, and I am typing this from my borked beyond repair opensuse tumbleweed.

One of the reasons why I love Linux is the fact it usual can be fixed.

As we type I am reading up on rpm, because I do not yet fully understand what I need to do.
So for this is a good moment to learn some stuff. :smiley:

The part I do get, I need to download a few packages.
The part I do not yet fully get is:

Blockquote That means you have to exchange the path with the actual mirror path:

I understand the words, but not how to do this yet.
As I said, something for me to learn.

I still get stuck here:

Retrieving https://download.opensuse.org/tumbleweed/repo/oss/x86_64/libzypp-17.31.28-1.4.x86_64.rpm
curl: (92) HTTP/2 stream 1 was not closed cleanly: CANCEL (err 8)
fout: skipping https://download.opensuse.org/tumbleweed/repo/oss/x86_64/libzypp-17.31.28-1.4.x86_64.rpm - transfer failed
Retrieving https://download.opensuse.org/tumbleweed/repo/oss/x86_64/zypper-1.14.68-1.3.x86_64.rpm
Retrieving https://download.opensuse.org/tumbleweed/repo/oss/x86_64/libsolv-tools-0.7.28-1.3.x86_64.rpm

Transfer failed, this means I just have to try it again ? :slight_smile:

progress:

[sudo] wachtwoord voor root: 
Retrieving https://download.opensuse.org/tumbleweed/repo/oss/x86_64/libzypp-17.31.28-1.4.x86_64.rpm
Retrieving https://download.opensuse.org/tumbleweed/repo/oss/x86_64/zypper-1.14.68-1.3.x86_64.rpm
Retrieving https://download.opensuse.org/tumbleweed/repo/oss/x86_64/libsolv-tools-0.7.28-1.3.x86_64.rpm
Verifiëren…                        ################################# [100%]
Voorbereiden…                       ################################# [100%]
Updating / installing...
   1:libsolv-tools-0.7.28-1.3         ################################# [ 17%]
   2:libzypp-17.31.28-1.4             ################################# [ 33%]
   3:zypper-1.14.68-1.3               ################################# [ 50%]
Cleaning up / removing...
   4:zypper-1.14.68-1.1               ################################# [ 67%]
   5:libzypp-17.31.28-1.1             ################################# [ 83%]
   6:libsolv-tools-0.7.27-1.2         ################################# [100%]


Ok, perfect :wink:
Now try a zypper dup again and post any errors (complete terminal output) if you still encounter issues.

And as tip. If you post terminal output, always prepend the command with LANG=C. This will give all the terminal output in english and helps your helpers to understand your output.
Example without LANG=C:

ich@laptopneu:~> sudo zypper dup
[sudo] Passwort für root: 
Dienst 'NVIDIA' wird aktualisiert.
Dienst 'openSUSE' wird aktualisiert.
Repository-Daten werden geladen...
Installierte Pakete werden gelesen...
Warnung: Sie sind im Begriff, eine Distributionsaktualisierung mit allen aktivierten Repositorys durchzuführen. Vergewissern Sie sich, dass diese Repositorys kompatibel sind, bevor Sie fortfahren. Weitere Informationen zu diesem Kommando finden Sie unter 'man zypper'.
Distributions-Aktualisierungen werden verarbeitet...

Die folgenden 7 Objekte sind gesperrt und werden durch keine Aktivität geändert:
 Verfügbar:
  patterns-games-games patterns-kde-kde_games patterns-kde-kde_office patterns-kde-kde_pim patterns-kde-kde_utilities patterns-kde-kde_utilities_opt patterns-office-office
Keine auszuführenden Aktionen.
ich@laptopneu:~> 

Example with LANG=C:

ich@laptopneu:~> LANG=C sudo zypper dup
Refreshing service 'NVIDIA'.
Refreshing service 'openSUSE'.
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...

The following 7 items are locked and will not be changed by any action:
 Available:
  patterns-games-games patterns-kde-kde_games patterns-kde-kde_office patterns-kde-kde_pim patterns-kde-kde_utilities patterns-kde-kde_utilities_opt patterns-office-office
Nothing to do.
ich@laptopneu:~> 

2 Likes

Please include the command invoked in your output post. Also, to make things easier, use

LANG=C <command_here>

This will give EN output instead of dutch.

2 Likes

I made a note about LANG=C

I remember once using openSUSE set to english, because I don’t care, but that gave me minor other issues with certain dutch words.

And one reason why I love openSUSE (Linux)

Typing this during the updates. Try that on windows :stuck_out_tongue:

We have a winner, all though I had to reboot twice.

I had a popup that something was not shutdown properly, rebooting again fixed that, and YAST software is also working again.

The update went rather smooth all though it needed some help from me.

I know why this happens though, this has to do with some extra repositories I use.
Pro audio and geekos daw.
This often leads to the updater stating it sees a package twice. Then it needs me to progress.

4500 updates done, and there are even 60 new ones.

Thanks for the help. :smiley:

2 Likes

Glad you gave not up and followed some recommendations which led to a fixed system. This is way better than talking like others from “borked beyond repair” without even trying to understand what is going on.

This upgrade problem was a simple one, with a straight forward fix. No rollback or reinstallation or whatever needed. Only one simple command. Such cases are a good way to learn some basics for the case that you hit a real problem.

2 Likes

Yes I learned I can install stuff through the command-line with the command rpm.

If I have one complain about openSUSE, its too user friendly.
In the past I was wondering about installing ARCH, because it forces you to read and understand Linux better.

Lately though, some Arch users are switching to Tumbleweed, because it is a rolling release but more user friendly.
Let me be clear, thats Arch users stating this, source Phoronix.