centos7.9 upgrade 4.11 to 4.14.1 #3459
-
My all operation is in the container yum -y install centos-release nss-devel nspr-devel file-devel popt-devel libarchive-devel lua-devel autoconf automake libtool zstd
wget http://ftp.rpm.org/releases/rpm-4.14.x/rpm-4.14.3.tar.bz2 && tar -xvjf rpm-4.14.3.tar.bz2
cd rpm-4.14.3
./configure --prefix=/usr && make && make install
ldconfig When I finished the upgrade, I could see the rpm version changed to 4.14.3 before upgrade
after upgrade
and I found that the Macro path was different. before upgrade
after upgrade
I exec the following action
I still fail when I execute some rpmbuild |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This isn't how rpm on Centos is configured, so it's no wonder it doesn't work. Updating the system rpm beyond what the distro offers, you really need to know what you're doing. And updating beyond the original major.minor branch is not recommended even then. |
Beta Was this translation helpful? Give feedback.
This isn't how rpm on Centos is configured, so it's no wonder it doesn't work.
Updating the system rpm beyond what the distro offers, you really need to know what you're doing. And updating beyond the original major.minor branch is not recommended even then.