lstreit
September 23, 2020, 5:08am
1
Hi there,
I am simply trying to update Tumbleweed, and after retrieving all the repositories, installation fails:
(1/2528) Installing: MozillaFirefox-branding-openSUSE-68-2.2.x86_64 .....................................................................................................................................[error] Installation of MozillaFirefox-branding-openSUSE-68-2.2.x86_64 failed:
Error: Subprocess failed. Error: RPM failed: error: unpacking of archive failed: cpio: Bad magic
error: MozillaFirefox-branding-openSUSE-68-2.2.x86_64: install failed
error: MozillaFirefox-branding-openSUSE-45-4.2.x86_64: erase skipped
Repos are up to date:
# | Alias | Name | Enabled | GPG Check | Refresh | URI
--+------------------+------------------+---------+-----------+---------+---------------------------------------------------------
1 | repo-debug | repo-debug | Yes | (r ) Yes | Yes | http://download.opensuse.org/tumbleweed/repo/debug
2 | repo-non-oss | repo-non-oss | Yes | (r ) Yes | Yes | http://download.opensuse.org/tumbleweed/repo/non-oss
3 | repo-oss | repo-oss | Yes | (r ) Yes | Yes | http://download.opensuse.org/tumbleweed/repo/oss
4 | repo-src-non-oss | repo-src-non-oss | No | ---- | ---- | [http://download.opensuse.org/tumblew...po/src-non-oss](http://download.opensuse.org/tumbleweed/repo/src-non-oss)
5 | repo-src-oss | repo-src-oss | No | ---- | ---- | http://download.opensuse.org/tumbleweed/repo/src-oss
6 | repo-update | repo-update | Yes | (r ) Yes | Yes | http://download.opensuse.org/update/tumbleweed/
I have been trying all day long, Even tried moving all removing all the existing repos as I was performing an upgrade from another release.
Same error message appears when using Yast. Apparently I can’ t install or upgrade anything. My last installation was in 03/2019.
Really appreciate the help.
I’m not sure. But there was a change in compression algorithm. If you have not been updating regularly, you may have missed the transition period for that change.
It may be best to do a new install.
I’ve had a lot of problems too these days with the Tumbleweed update, changed keys and incomplete rpm that didn’t want to download and install and continually give me errors. I had to change the OSS repository mirror and clear the zypp cache, and now everything is fine
lstreit
September 23, 2020, 4:05pm
5
Sauerland:
Try:
zypper install -f rpm
If it works:
zypper dup
Yep, didn’t work
As you suggested, I tried
sudo zypper install -f rpm
and it returned
Problem: libappstream-builder8-0.7.14+0-1.2.x86_64 requires librpm.so.8()(64bit), but this requirement cannot be provided
deleted providers: rpm-4.14.2.1-4.1.x86_64
Solution 1: deinstallation of libappstream-builder8-0.7.14+0-1.2.x86_64
Solution 2: do not install rpm-4.15.1-7.2.x86_64
Solution 3: break libappstream-builder8-0.7.14+0-1.2.x86_64 by ignoring some of its dependencies
Choose from above solutions by number or cancel [1/2/3/c] (c): 1
Resolving dependencies...
Resolving package dependencies...
The following 24 NEW packages are going to be installed:
boost-license1_74_0 distribution-logos-openSUSE-Kubic google-opensans-fonts
libboost_thread1_74_0 libdrpm0 libffi8 libicu67 libicu67-ledata libmodulemd2
libpython3_8-1_0 libQt5WaylandClient5 librpmbuild9 libyui13 libyui-ncurses13
libyui-ncurses-pkg13 libyui-qt13 libyui-qt-graph13 libyui-qt-pkg13 python38
python38-base python38-curses python38-dbm QGnomePlatform
yast2-qt-branding-openSUSE
The following 3 packages are going to be REMOVED:
libappstream-builder8 libyui-ncurses-pkg9 libyui-qt-pkg9
The following 93 packages are going to be upgraded:
apparmor-utils apparmor-utils-lang appstream-glib appstream-glib-lang deltarpm
glibc glibc-extra glibc-locale glibc-locale-base libapparmor1 libcreaterepo_c0
libdw1 libQt5Concurrent5 libQt5Core5 libQt5DBus5 libQt5Gui5 libQt5Network5
libQt5OpenGL5 libqt5-qtbase-platformtheme-gtk3
libqt5-qtstyleplugins-platformtheme-gtk2 libQt5Svg5 libQt5Widgets5 libsnmp30
libsolv-tools libzypp nscd PackageKit PackageKit-backend-zypp
PackageKit-branding-openSUSE PackageKit-lang perl perl-apparmor perl-base
perl-Bootloader perl-CPAN-Changes perl-Cpanel-JSON-XS perl-Crypt-SmbHash
perl-Devel-Symdump perl-Digest-MD4 perl-Digest-SHA1 perl-Encode-Locale
perl-File-Listing perl-gettext perl-HTML-Parser perl-HTML-Tagset
perl-HTTP-Cookies perl-HTTP-Daemon perl-HTTP-Date perl-HTTP-Message
perl-HTTP-Negotiate perl-IO-HTML perl-IO-Socket-SSL perl-libwww-perl
perl-LWP-MediaTypes perl-LWP-Protocol-https perl-Net-DBus perl-Net-HTTP
perl-Net-SSLeay perl-Parse-RecDescent perl-Pod-Coverage perl-SNMP
perl-Term-ReadKey perl-Term-ReadLine-Gnu perl-Test-Pod perl-Test-Pod-Coverage
perl-TimeDate perl-Try-Tiny perl-URI perl-WWW-RobotRules perl-X11-Protocol
perl-X500-DN perl-XML-Dumper perl-XML-LibXML perl-XML-NamespaceSupport
perl-XML-Parser perl-XML-SAX perl-XML-SAX-Base perl-XML-SAX-Expat
perl-XML-Simple perl-XML-Twig perl-XML-XPath python3-apparmor
python3-createrepo_c python3-rpm python3-solv rpm vim vim-data vim-data-common
yast2-core yast2-perl-bindings yast2-pkg-bindings zypper
The following 2 packages are going to change architecture:
perl-Crypt-SmbHash x86_64 -> noarch
perl-X11-Protocol x86_64 -> noarch
The following package requires a system reboot:
glibc
93 packages to upgrade, 24 new, 3 to remove, 2 to change arch.
Overall download size: 20.8 KiB. Already cached: 90.8 MiB. After the operation,
additional 72.0 MiB will be used.
Note: System reboot required.
And after retrieving, installation tries to begin:
( 1/118) Installing: boost-license1_74_0-1.74.0-3.1.noarch .............[error]
Installation of boost-license1_74_0-1.74.0-3.1.noarch failed:
Error: Subprocess failed. Error: RPM failed: error: unpacking of archive failed: cpio: Bad magic
error: boost-license1_74_0-1.74.0-3.1.noarch: install failed
Might need to do a fresh install.
Thanks anyways.
Yes, I think you have fallen too far behind.
It is possible that you could do an upgrade install with the DVD installer. But, even then, you would probably see many conflicts. A fresh install is likely the best way forward.
I’ll note that I have a Tumbleweed system that I only update every two weeks (using “zypper dup”). And it is doing fine. So you don’t have to update every time something changes. But best to not let it get too far out of date.
lstreit:
Yep, didn’t work
As you suggested, I tried
sudo zypper install -f rpm
and it returned
Problem: libappstream-builder8-0.7.14+0-1.2.x86_64 requires librpm.so.8()(64bit), but this requirement cannot be provided
deleted providers: rpm-4.14.2.1-4.1.x86_64
Solution 1: deinstallation of libappstream-builder8-0.7.14+0-1.2.x86_64
Solution 2: do not install rpm-4.15.1-7.2.x86_64
Solution 3: break libappstream-builder8-0.7.14+0-1.2.x86_64 by ignoring some of its dependencies
Choose from above solutions by number or cancel [1/2/3/c] (c): 1
Resolving dependencies...
Resolving package dependencies...
The following 24 NEW packages are going to be installed:
boost-license1_74_0 distribution-logos-openSUSE-Kubic google-opensans-fonts
libboost_thread1_74_0 libdrpm0 libffi8 libicu67 libicu67-ledata libmodulemd2
libpython3_8-1_0 libQt5WaylandClient5 librpmbuild9 libyui13 libyui-ncurses13
libyui-ncurses-pkg13 libyui-qt13 libyui-qt-graph13 libyui-qt-pkg13 python38
python38-base python38-curses python38-dbm QGnomePlatform
yast2-qt-branding-openSUSE
The following 3 packages are going to be REMOVED:
libappstream-builder8 libyui-ncurses-pkg9 libyui-qt-pkg9
The following 93 packages are going to be upgraded:
apparmor-utils apparmor-utils-lang appstream-glib appstream-glib-lang deltarpm
glibc glibc-extra glibc-locale glibc-locale-base libapparmor1 libcreaterepo_c0
libdw1 libQt5Concurrent5 libQt5Core5 libQt5DBus5 libQt5Gui5 libQt5Network5
libQt5OpenGL5 libqt5-qtbase-platformtheme-gtk3
libqt5-qtstyleplugins-platformtheme-gtk2 libQt5Svg5 libQt5Widgets5 libsnmp30
libsolv-tools libzypp nscd PackageKit PackageKit-backend-zypp
PackageKit-branding-openSUSE PackageKit-lang perl perl-apparmor perl-base
perl-Bootloader perl-CPAN-Changes perl-Cpanel-JSON-XS perl-Crypt-SmbHash
perl-Devel-Symdump perl-Digest-MD4 perl-Digest-SHA1 perl-Encode-Locale
perl-File-Listing perl-gettext perl-HTML-Parser perl-HTML-Tagset
perl-HTTP-Cookies perl-HTTP-Daemon perl-HTTP-Date perl-HTTP-Message
perl-HTTP-Negotiate perl-IO-HTML perl-IO-Socket-SSL perl-libwww-perl
perl-LWP-MediaTypes perl-LWP-Protocol-https perl-Net-DBus perl-Net-HTTP
perl-Net-SSLeay perl-Parse-RecDescent perl-Pod-Coverage perl-SNMP
perl-Term-ReadKey perl-Term-ReadLine-Gnu perl-Test-Pod perl-Test-Pod-Coverage
perl-TimeDate perl-Try-Tiny perl-URI perl-WWW-RobotRules perl-X11-Protocol
perl-X500-DN perl-XML-Dumper perl-XML-LibXML perl-XML-NamespaceSupport
perl-XML-Parser perl-XML-SAX perl-XML-SAX-Base perl-XML-SAX-Expat
perl-XML-Simple perl-XML-Twig perl-XML-XPath python3-apparmor
python3-createrepo_c python3-rpm python3-solv rpm vim vim-data vim-data-common
yast2-core yast2-perl-bindings yast2-pkg-bindings zypper
The following 2 packages are going to change architecture:
perl-Crypt-SmbHash x86_64 -> noarch
perl-X11-Protocol x86_64 -> noarch
The following package requires a system reboot:
glibc
93 packages to upgrade, 24 new, 3 to remove, 2 to change arch.
Overall download size: 20.8 KiB. Already cached: 90.8 MiB. After the operation,
additional 72.0 MiB will be used.
Note: System reboot required.
And after retrieving, installation tries to begin:
( 1/118) Installing: boost-license1_74_0-1.74.0-3.1.noarch .............[error]
Installation of boost-license1_74_0-1.74.0-3.1.noarch failed:
Error: Subprocess failed. Error: RPM failed: error: unpacking of archive failed: cpio: Bad magic
error: boost-license1_74_0-1.74.0-3.1.noarch: install failed
Might need to do a fresh install.
Thanks anyways.
Before reinstalling, please try as I did clear zypp cache
rm -rf /var/cache/zypp
change the url of the Oss repo https://mirrors.opensuse.org/list/tumbleweed.html
I used an ftp url , and then try again with zypper dup
I had same issue so I installed rpm removing the old packages, halfway through rpm updated and the rest installed.
Then zypper would fail with certain missing libs so I manually installed each of those until zypper worked.
Then zypper dup would complete.
The issue I now see is that the pager in KDE fails. There is no pager on the task bar. No open apps on the task bar. If I scroll on the background to move between virtual desktops processes crash.
Reported to KDE guys and a fix was applied (there was no check for no virtual screens when it tried to change) but that doesn’t seem to be present in Tumbleweed yet or if there isn’t fixing my issue - I’ve even tried a new user so it’s not some old user setting kicking around.
I was doing this on a home setup but have a virtual server at work that I really need to do as it’s up for 430 days plus and sees same rpm issue. There I can get the beastie snapshot before I play so can easily roll back but it just works now.
If ever anyone comes up to this thread as I came today. There’s hope to update such an outdated version without a fresh install.
It makes sense to just grab the rpm package itself in the version 4.15.1 from build service, install it manually with
rpm -ivh --force rpm-4.15.1-35.1.x86_64.rpm
.
Successfully enough, you should be able to make zypper work, out of hammerings here and there.
I am doing it now, wish me luck!