Hi, I was doing “sudo zypper ref && sudo zypper up”, then I was test running an overclock program which gave me some “kernel errors” warnings due to my parameter mistake. I had forgotten about the update and don’t remember how it quit itself. All I know is that “sudo zypper” gave me error about “sudo”, so I reboot the computer afterward.
But now it is:
sudo zypper clean -a
[sudo] password for root:
zypper: error while loading shared libraries: /usr/lib64/libzypp.so.1722: file too short
I can su into root but zypper gives the same error. I also notice that audio device is empty now.
This is how I’ve done it more than once over the years. Fetch the zypper, libzypp and any dependent rpms needed from the mirrors, not from software search. When you try to install, rpm will report any missing deps you might need in addition to those you know about. You’ll need to get those and try again to do the whole bunch at once until the bunch is a complete dependency matchup. Before running rpm, you may need to run rpm --rebuilddb due to the interruption. If ultimately this doesn’t work, you’ll need to try as nrickert described.
If you’re up for adventure, you could download the libzypp rpm containing libzypp.so.1722, enter the rpm using mc, and copy the complete file over the short file present on the system. I’ve done this with other libs, but not with libzypp (that I can remember).
Hi, I did just that and it fixed zypper. Copied the file from another suse machine.
Now I have another serious problem and I don’t know if I should start a new thread.
After zypper started working, strangle I had to zypper up several times in half an hour. After each update/reboot, when I do ref&up there are new updates. I had to do it 3 times or so. Then my grub become this !!
What’s more stupid is snapper can’t work probably because of my cpu replacement yesterday. BIOS said sth about TPM reset after I replaced a new CPU. Now when I try to use snapper to boot earlier image it gives some TPM error stuff.