PDA

View Full Version : SLES 12 SP4 apache2 498 patchset install problem



c_veronesi_horta
27-Feb-2019, 16:04
$ sudo rpm -Uvh apache2-utils-2.4.23-29.34.4.x86_64.rpm
Preparing... ################################# [100%]
Updating / installing...
1:apache2-utils-2.4.23-29.34.4 ################################# [ 50%]
error: unpacking of archive failed on file /usr/sbin/rotatelogs;5c76a58a: cpio: read
error: apache2-utils-2.4.23-29.34.4.x86_64: install failed
error: apache2-utils-2.4.23-29.24.1.x86_64: erase skipped

Any suggestion? Is the file corrupted?

MD5SUM matches with the one indicated on the website:


$ md5sum apache2-utils-2.4.23-29.34.4.x86_64.rpm
d63fd1917cb1cdb8ee90d9055ddd9e0f apache2-utils-2.4.23-29.34.4.x86_64.rpm

Thank you.
Kind regards, Cristian.

AndreasMeyer
27-Feb-2019, 22:22
You should use:


# zypper install ./*.rpm
or

# zypper update apache2-utils

instead of:

# rpm -U ./*.rpm

Check correct zypper configuration in /etc/zypp/zypp.conf and /etc/zypp/zypper.conf

As example:

# more /etc/zypp/zypp.conf |grep -v ^#
download.use_deltarpm = false
repo_gpgcheck = on
pkg_gpgcheck = on
commit.downloadMode = DownloadInAdvance
solver.onlyRequires = true
multiversion = provides:multiversion(kernel)
multiversion.kernels = latest,latest-1,running

Please read chaptre 6 of "Administration Guide".
https://www.suse.com/documentation/

c_veronesi_horta
28-Feb-2019, 08:53
I always use rpm to update packages and never had any problem.
In my opinion the package is corrupted.
The same package from the SP3 stack works. The other packages are hydentical, but apache2-utils in SP4 is smaller than in SP3.

== SUSE Linux Enterprise Server 12 SP3 ==


$ md5sum *
cd9f63a3b1407d8ec7e7b70a9c2d185e apache2-2.4.23-29.34.4.x86_64.rpm
c28c2707477c7d1a4f0eaacb2d6b3095 apache2-devel-2.4.23-29.34.4.x86_64.rpm
3d6dcfef932b789204a1bf211dcb9209 apache2-prefork-2.4.23-29.34.4.x86_64.rpm
53a8c06219a586a1ce267ce3c02be03e apache2-utils-2.4.23-29.34.4.x86_64.rpm
$ stat -c "%s %n" *
1199425 apache2-2.4.23-29.34.4.x86_64.rpm
248428 apache2-devel-2.4.23-29.34.4.x86_64.rpm
291673 apache2-prefork-2.4.23-29.34.4.x86_64.rpm
146091 apache2-utils-2.4.23-29.34.4.x86_64.rpm


== SUSE Linux Enterprise Server 12 SP4 ==


$ md5sum *
cd9f63a3b1407d8ec7e7b70a9c2d185e apache2-2.4.23-29.34.4.x86_64.rpm
c28c2707477c7d1a4f0eaacb2d6b3095 apache2-devel-2.4.23-29.34.4.x86_64.rpm
3d6dcfef932b789204a1bf211dcb9209 apache2-prefork-2.4.23-29.34.4.x86_64.rpm
d63fd1917cb1cdb8ee90d9055ddd9e0f apache2-utils-2.4.23-29.34.4.x86_64.rpm
$ stat -c "%s %n" *
1199425 apache2-2.4.23-29.34.4.x86_64.rpm
248428 apache2-devel-2.4.23-29.34.4.x86_64.rpm
291673 apache2-prefork-2.4.23-29.34.4.x86_64.rpm
121856 apache2-utils-2.4.23-29.34.4.x86_64.rpm