Tumbleweed - system freeze during update and problems after reboot

During system update with a command tumbleweed update (there was over 2200 updates) the system frozen.

It was frozen at the time of checking the compatibility of packaging at 95%.
At the time, I could move the mouse, but I couldn’t click on anything.
Time on the taskbar also stood still.

After restarting, I can see my desktop. And the time is correctly displayed on the taskbar.
But the mouse, keyboard, and touchpad have stopped responding.
All I can do is shut down the system with the switch on my laptop.

I chroot’ed to my Tumbleweed (from another system) but I can not continue/restart the Tumbleweed update. I see the following message:

tumbleweed update
Unable to determine latest version (likely due to network connection issue)

I had no network connection issues at this time.

What can/should I do now?

Wait try again latter. There may be some issues today

After more then 24 hours I have the same error with tumbleweed update (but no problems with Internet).

Additionally I see an error after any zypper command, so I guess something(?) destroyed the system during my latest update.

zypper
zypper: error while loading shared libraries: libprotobuf-lite.so.30: cannot open shared object file: No such file or directory

zypper dup
zypper: error while loading shared libraries: libprotobuf-lite.so.30: cannot open shared object file: No such file or directory

zypper clean -a
zypper: error while loading shared libraries: libprotobuf-lite.so.30: cannot open shared object file: No such file or directory

What can/should I do now?

Maybe as general information, post the repos you have:

zypper lr -d

Never ever try **tumbleweed update. **Use “zypper dist-upgrade” instead. Roll back and try again.

Unfortunately, at the moment zypper doesn’t work for me with any of the options:

zypper lr -d
zypper: error while loading shared libraries: libprotobuf-lite.so.30: cannot open shared object file: No such file or directory
zypper dist-upgrade
zypper: error while loading shared libraries: libprotobuf-lite.so.30: cannot open shared object file: No such file or directory

I used tumbleweed update (a package from tumbleweed-cli) as it was recommended to me as better then zypper dup.
https://forums.opensuse.org/showthread.php/535256-Tumbleweed-snapshots-usage-notes
https://techgoat.net/index.php?id=79?id=79

And now I just have applied some commands from tumbleweed to revert system to the last working version.
Before:

# tumbleweed status
latest   : 
target   : 20220623
installed: 20220406
# tumbleweed revert 20220406
switching from 20220623 to 20220406? [y/n] (y): y

And after:

# tumbleweed status
latest   : 
target   : 20220406
installed: 20220406

Now I will restart and see if it works.
I will let you know.

Unfortunately, the same situation after restart :frowning:

Do you have any other ideas?

You do NOT tell what you did after the rollback. A zypper dup or again the tumbleweed update.

When you did the last, then it is IMHO rather loclacal tiy get the same situation as before. Computer are rather good in repeating exact the same thing many times.

The advice from @karkmistelberger was to do zypper dup after the rollback, but is is not clear from your post if you did that.

OK. Let’s clear the situation.
I did rollback to the 20220406 version (done via chroot to Tumbleweed).
Then I restarted the computer and booted Tumbleweed, but here I have the same situation as described in the 1. post.

Now I have restarted my computer, chrooted to Tumbleweed and used the zypper dist-upgrade command but still get the same error (same with every zypper based command).

# zypper dist-upgrade
zypper: error while loading shared libraries: libprotobuf-lite.so.30: cannot open shared object file: No such file or directory

Running tumbleweed update adds to the complexity of the upgrade process. It’s not recommended for users paraphrasing “doesn’t work for me”.

Ok, it is clear what you did now. It is of no use to retry zypper every time in all sorts of combinations. zypper is broken on that system.

So, as i understand, I have to repair zypper first.
Based on this post, I plan to do it this way:

# wget https://download.opensuse.org/repositories/openSUSE:/Factory/standard/i586/zypper-1.14.53-1.1.i586.rpm
# rpm -i zypper-1.14.53-1.1.i586.rpm

Please confirm if this is the correct approach.

Maybe that could work (i never did such a thing), but I wonder why you use a Factory repo. I would use Tumbleweed.

Also that is only one RPM. I assume zypper has more RPMs. Some are only for zypper mudules, but maybe some are needed by the main actions of zypper.

My OpenSuse knowledge is limited, so maybe I do something in not the correct way.

On the page https://software.opensuse.org/ I have searched for “zypper”.
I was directed to https://software.opensuse.org/package/zypper
and finally to https://software.opensuse.org/download/package?package=zypper&project=openSUSE%3AFactory .
And after clicking on a Download button (with a link used in wget command) the download was redirected and done from a local server with opensuse/tumbleweed:
https://ftp.man.poznan.pl/linux/opensuse/tumbleweed/repo/oss/i586/zypper-1.14.53-1.1.i586.rpm
If I don’t get a better tip on how to fix this, I’ll try to do it in a few hours and we’ll see.
I will inform you about the results.

Maybe some success - I will check it and confirm later.

What I did:

  • chrooted into Tumbleweed,
  • wget
    was not possible via chroot (as host address could not be resolved) but, in other distro, I downloaded zypper-1.14.53-1.1.i586.rpm file and moved it to /tmp in Tumbleweed partition, - **rpm -ivh **
    ****tmp/****zypper-1.14.53-1.1.i586.rpm gave an error about the lack of dependenty: libzypp >= 17.30.2 - so, in the same way i wanted to update libzypp first, but the command rpm -ivh tmp/libzypp-17.30.2-1.1.i586.rpm
    gave some more errors about conflicting files from this package. At this stage, I have abandoned this approach.

Then I went back to the initial error:

zypper: error while loading shared libraries: libprotobuf-lite.so.30: cannot open shared object file: No such file or directory

I discovered that this file is from a package libprotobuf-lite30-3.19.4-136.1.i586.rpm and should be placed in /usr/lib/ , but in my system I had a newer version of this file: libprotobuf-lite.so.31 (probably installed during the last incomplete and not completed tumbleweed update).
So I recovered this missing file by rpm -ivh tmp/libprotobuf-lite30-3.19.4-136.1.i586.rpm .

And after this a pure zypper comand works without errors.

Now I plan to check the Tumbleweed partition for potential bad blocks, then I will boot to Tumbleweed and check if it works.
I will inform you about the results.

Unfortunately, there are still problems.
To be sure, the Tumbleweed partition is clean, I checked it for bad blocks. And it is OK.
But after booting into Tumbleweed I still have the same problem (mouse, keyboard and touchpad are not responding).

So I had to go back to Tumbleweed via chroot.

Now zypper itself work correctly. For example:

# zypper clean
All repositories have been cleaned.

(For your convenience, I have translated the messages in all given commands into English - correctly, I hope ;))

Perhaps I have discovered the cause of the current problems with zypper under chroot that generate error messages shown below.
Namely, I am not able to connect to the Internet in any way using domain names. For example wget command shown in the previous post or:

# ping www.google.com
# ping: www.google.com: Name mapping is temporarily impossible 

although ping 172.217.18.100 works correctly.

I hope you know how to solve this Internet issue (occurs in Tumbleweed only).

And now commands you wanted to see:

# zypper lr -d
#  | Alias                                | Name                                                        | Enabled  | GPG Check     | Refresh | Priority  | Type   | URI                                                                             | Serv->
---+--------------------------------------+-------------------------------------------------------------+----------+---------------+---------+-----------+--------+---------------------------------------------------------------------------------+-------
 1 | download.opensuse.org-non-oss        | Repozytorium główne (NON-OSS) (20211102)                    | Yes      | (r ) Yes      | Yes     |   99      | rpm-md | http://download.opensuse.org/history/20211102/tumbleweed/repo/non-oss/          |
 2 | download.opensuse.org-oss            | Repozytorium główne (OSS) (20211102)                        | Yes      | (r ) Yes      | Yes     |   99      | rpm-md | http://download.opensuse.org/history/20211102/tumbleweed/repo/oss/              |
 3 | download.opensuse.org-tumbleweed     | Główne repozytorium aktualizacji                            | Yes      | (r ) Yes      | Yes     |   99      | rpm-md | https://download.opensuse.org/update/tumbleweed/                                |
 4 | https-download.opensuse.org-0986001a | openSUSE:Factory                                            | Yes      | (r ) Yes      | Yes     |   99      | rpm-md | https://download.opensuse.org/repositories/openSUSE:/Factory/snapshot/          |
 5 | https-download.opensuse.org-0a9d9b36 | openSUSE:Tumbleweed                                         | Yes      | (r ) Yes      | Yes     |   99      | rpm-md | https://download.opensuse.org/repositories/openSUSE:/Tumbleweed/standard/       |
 6 | https-download.opensuse.org-2f520867 | home:Alexx2000                                              | Yes      | (r ) Yes      | Yes     |   99      | rpm-md | https://download.opensuse.org/repositories/home:/Alexx2000/openSUSE_Tumbleweed/ |
 7 | https-download.opensuse.org-bd72556b | openSUSE:Tumbleweed                                         | Yes      | ( p) Yes      | Yes     |   99      | NONE   | https://download.opensuse.org/repositories/openSUSE:/Tumbleweed/dod/            |
 8 | https-download.opensuse.org-d2fcfe35 | openSUSE:Tumbleweed                                         | Yes      | ( p) Yes      | Yes     |   99      | NONE   | https://download.opensuse.org/repositories/openSUSE:/Tumbleweed/dod_debug/      |
 9 | https-download.opensuse.org-d5e5f0b0 | openSUSE:Tumbleweed                                         | Yes      | ( p) Yes      | Yes     |   99      | NONE   | https://download.opensuse.org/repositories/openSUSE:/Tumbleweed/dod/            |
10 | network                              | Networking services and related tools (openSUSE_Tumbleweed) | No       | ----          | ----    |   99      | NONE   | https://download.opensuse.org/repositories/network/openSUSE_Tumbleweed/         |
11 | openSUSE-20200925-0                  | openSUSE-20200925-0 (20211102)                              | Yes      | (r ) Yes      | Yes     |   99      | rpm-md | http://download.opensuse.org/history/20211102/tumbleweed/repo/oss               |
12 | repo-debug                           | openSUSE-Tumbleweed-Debug                                   | No       | ----          | ----    |   99      | NONE   | http://download.opensuse.org/debug/tumbleweed/repo/oss/                         |
13 | repo-non-oss                         | openSUSE-Tumbleweed-Non-Oss (20211102)                      | Yes      | (r ) Yes      | Yes     |   99      | rpm-md | http://download.opensuse.org/history/20211102/tumbleweed/repo/non-oss/          |
14 | repo-oss                             | openSUSE-Tumbleweed-Oss (20211102)                          | Yes      | (r ) Yes      | Yes     |   99      | rpm-md | http://download.opensuse.org/history/20211102/tumbleweed/repo/oss/              |
15 | repo-source                          | openSUSE-Tumbleweed-Source                                  | No       | ----          | ----    |   99      | NONE   | http://download.opensuse.org/source/tumbleweed/repo/oss/                        |
16 | repo-update                          | openSUSE-Tumbleweed-Update                                  | Yes      | (r ) Yes      | Yes     |   99      | rpm-md | http://download.opensuse.org/update/tumbleweed/                                 |

As I see, now I have 6 more repositories then *(https://forums.opensuse.org/showthread.php/549067-Tumbleweed-problem-z-aktualizacją?p=2998423#post2998423), when I installed Tumbleweed.

Due to the problem with the Internet via chroot, zypper dup generated errors for each of the repositories and finally the update failed.
There were two types of errors. Below is an example of each of them:

Problem downloading files from 'Repozytorium główne (NON-OSS) (20211102)'.
Download error (curl) for 'http://download.opensuse.org/history/20211102/tumbleweed/repo/non-oss/repodata/repomd.xml':
Error Code: Connection failed
Error message: Could not resolve host: download.opensuse.org
For more information, see the error message above.
Warning: Repository omitted 'Repozytorium główne (NON-OSS) (20211102)' due to the above error.
Retrieve repository metadata 'openSUSE:Tumbleweed' .............................................................................[error]
Repository 'openSUSE:Tumbleweed' is incorrect.
[https-download.opensuse.org-bd72556b|https://download.opensuse.org/repositories/openSUSE:/Tumbleweed/dod/] Valid metadata was not found at the URL provided
History:
 - |] Error when trying to read from 'https://download.opensuse.org/repositories/openSUSE:/Tumbleweed/dod/'
 - Download error (curl) for 'https://download.opensuse.org/repositories/openSUSE:/Tumbleweed/dod/content':
   Error Code: Connection failed
   Error message: Could not resolve host: download.opensuse.org
Please verify that the defined URIs for this repository point to the correct repository.
Warning: Repository omitted 'openSUSE:Tumbleweed' due to the above error.

(For your convenience, I have translated the messages in all given commands into English - correctly, I hope )

You can precede the commands with LANG=C, then their output will be in English. E.g.

LANG=C zypper clean

Any time “Could not resolve host:” appears as an error message, you have a network problem. It is often the case that the network problem is that /etc/resolv.conf is empty or has otherwise invalid content. When you find an empty or broken resolv.conf, remove it, then create a new one, and put in it:

nameserver 1.1.1.1

or any other known good nameserver as content. Check also:

ip a

If no IP results, you need to determine why and fix that before wget or curl or zypper can fetch anything.

Thanks.
The file /etc/resolv.conf was a broken symlink to an non-existing file /run/netconfig/resolv.conf .
I cerated a new file /etc/resolv.conf an now name server works correctly.

And just started zypper dup. There ware some error messages in some of repositories, but finally there are 1236 files to update and downloading of ca 1.5GB goes on.
As I am doing it via chroot (from a foreign DE) i hope there will be no conflict between zypper and DE of Tumbleweed, as described here: SDB:Upgrade Tumbleweed - openSUSE Wiki

The main issue form this thread is solved :slight_smile:

zypper dup is finished without errors and finally I can boot and use Tumbleweed.

It remains to be explained why there were errors at several repositories and in general, whether all of them are needed, but I will deal with this at the weekend.

Thank you again for your advice.