[Bug 1139900] New: libzypp missing after upgrade from 15.0 to 15.1
http://bugzilla.opensuse.org/show_bug.cgi?id=1139900 Bug ID: 1139900 Summary: libzypp missing after upgrade from 15.0 to 15.1 Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.1 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: libzypp Assignee: zypp-maintainers@forge.provo.novell.com Reporter: mail@sven-seeberg.de QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- After upgrading from 15.0 to 15.1 with "zypper dup", libzypp.so is missing. There were no apparent error messages during the upgrade process.
sudo zypper ref zypper: error while loading shared libraries: libzypp.so.1702: cannot open shared object file: No such file or directory
The following files do exist:
# ls -lah /usr/lib64/libzypp.so.170* lrwxrwxrwx 1 root root 19 Apr 11 10:13 /usr/lib64/libzypp.so.1709 -> libzypp.so.1709.2.4 -rwxr-xr-x 1 root root 5.6M Apr 11 10:14 /usr/lib64/libzypp.so.1709.2.4
As a workaround I did a
# ln -s /usr/lib64/libzypp.so.1709 /usr/lib64/libzypp.so.1702 I'm not sure how compatible these versions are. At least there is no crash when calling "zypper --help". But as my DNS resolution is also broken, I cannot fully test the result (yet).
-- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1139900
http://bugzilla.opensuse.org/show_bug.cgi?id=1139900#c1
Michael Andres
$ cd /tmp $ tar cvjf zypper.updateTestCase.tar.bz2 /var/log/updateTestcase-'YYYY-YOUR_DATE...'
In case the testcase exceeds the 10MB limit for bugzilla uploads, you can use 'split' to divide the file into smaller pieces:
$ split -b 10M --additional-suffix=-zypper.updateTestCase.tar.bz2 zypper.updateTestCase.tar.bz2
The created pieces will be named like this: xaa-zypper.updateTestCase.tar.bz2 xab-zypper.updateTestCase.tar.bz2 xac-zypper.updateTestCase.tar.bz2 ...
-- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1139900
http://bugzilla.opensuse.org/show_bug.cgi?id=1139900#c2
Sven Seeberg
It almost looks like you've got an old zypper together with a new libzypp. may it be you performed the 'zypper dup' with the old 15.0 repos still enabled?
It seems that there were only 15.1 repos active. I'll add a list (with inactive repos removed).
Anyway: The 'zypper dup' command creates a resolver testcase at /var/log/updateTestcase-YYYY-MM-DD-hh_mm_ss (date the dup command was executed). Please pack the output directory together with /var/log/zypper.log and attach it to the bugreport:
$ cd /tmp $ tar cvjf zypper.updateTestCase.tar.bz2 /var/log/updateTestcase-'YYYY-YOUR_DATE...'
The file has 9.5M. I'll attach it. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1139900
http://bugzilla.opensuse.org/show_bug.cgi?id=1139900#c3
--- Comment #3 from Sven Seeberg
http://bugzilla.opensuse.org/show_bug.cgi?id=1139900
http://bugzilla.opensuse.org/show_bug.cgi?id=1139900#c4
--- Comment #4 from Sven Seeberg
http://bugzilla.opensuse.org/show_bug.cgi?id=1139900
http://bugzilla.opensuse.org/show_bug.cgi?id=1139900#c5
--- Comment #5 from Sven Seeberg
http://bugzilla.opensuse.org/show_bug.cgi?id=1139900
http://bugzilla.opensuse.org/show_bug.cgi?id=1139900#c6
--- Comment #6 from Sven Seeberg
S | Name | Type | Version | Arch | Repository ---+---------+---------+-------------------+--------+----------------------- i | libzypp | package | 17.11.4-lp151.1.1 | x86_64 | openSUSE-Leap-15.1-Oss i+ | zypper | package | 1.14.27-lp151.1.2 | x86_64 | openSUSE-Leap-15.1-Oss
I could now remove my symlink from /usr/lib64/libzypp.so.1702 to /usr/lib64/libzypp.so.1709.2.4 and zypper still works. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1139900
http://bugzilla.opensuse.org/show_bug.cgi?id=1139900#c7
Michael Andres
What I also found: zypper was not installed. After fixing some DNS issues, I was able to run "zypper in zypper". Not sure if that makes sense.
How can you update zypp with zypper, if zypper is not installed? An explanation would be a broken rpm database. It could have hidden the fact that zypper was installed (and probably other packages as well). This would also explain why zypper was not updated in "zypper dup". It stayed old because it was not seen. To be safe, you should run (as root): rpm --rebuilddb This will rebuild all database index files. If this is done, you should repeat the `zypper dup` to make sure no updates are missing. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1139900
http://bugzilla.opensuse.org/show_bug.cgi?id=1139900#c8
Sven Seeberg
How can you update zypp with zypper, if zypper is not installed?
I asked myself the same question. It definitely was installed before the upgrade, as it was performed with zypper dup ;-)
To be safe, you should run (as root): rpm --rebuilddb This will rebuild all database index files.
If this is done, you should repeat the `zypper dup` to make sure no updates are missing.
Thanks. Did that and no problems emerged. So the question is: is this bug resolved now? I guess my problems are solved. But can I provide any info about how to prevent something like this to begin with? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1139900
http://bugzilla.opensuse.org/show_bug.cgi?id=1139900#c9
Michael Andres
http://bugzilla.opensuse.org/show_bug.cgi?id=1139900
http://bugzilla.opensuse.org/show_bug.cgi?id=1139900#c10
Sven Seeberg
http://bugzilla.opensuse.org/show_bug.cgi?id=1139900
http://bugzilla.opensuse.org/show_bug.cgi?id=1139900#c11
--- Comment #11 from Sven Seeberg
http://bugzilla.opensuse.org/show_bug.cgi?id=1139900
http://bugzilla.opensuse.org/show_bug.cgi?id=1139900#c12
Michael Andres
participants (1)
-
bugzilla_noreply@novell.com