rpm-python27 | An RPM spec file build and alt-install Python 2.7 on RHEL | Build Tool library
kandi X-RAY | rpm-python27 Summary
kandi X-RAY | rpm-python27 Summary
An RPM spec file build and alt-install Python 2.7 on RHEL.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of rpm-python27
rpm-python27 Key Features
rpm-python27 Examples and Code Snippets
Community Discussions
Trending Discussions on rpm-python27
QUESTION
I want to install recent upgraded certbot version on Amazon Linux.
Certbot has updated its distribution which does not upgrade with Amazon Linux AMI 2016.03.3.x86_64 HVM GP2.
Getting following errors while I tried to update Linux using yum update -y
Error: Package: python26-2.6.9-2.92.amzn1.x86_64 (@amzn-updates) Requires: [libdb-4.7.so](http://libdb-4.7.so/)()(64bit) Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed) [libdb-4.7.so](http://libdb-4.7.so/)()(64bit) Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel) ~[libdb-4.8.so](http://libdb-4.8.so/)()(64bit) Error: Package: iproute-4.4.0-3.23.amzn1.x86_64 (installed) Requires: [libdb-4.7.so](http://libdb-4.7.so/)()(64bit) Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed) [libdb-4.7.so](http://libdb-4.7.so/)()(64bit) Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel) ~[libdb-4.8.so](http://libdb-4.8.so/)()(64bit) Error: libdb4 conflicts with filesystem-2.4.30-3.8.amzn1.x86_64 Error: Package: rpm-4.11.3-40.78.amzn1.x86_64 (@amzn-updates) Requires: [libdb-4.7.so](http://libdb-4.7.so/)()(64bit) Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed) [libdb-4.7.so](http://libdb-4.7.so/)()(64bit) Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel) ~[libdb-4.8.so](http://libdb-4.8.so/)()(64bit) Error: Package: rpm-python27-4.11.3-40.78.amzn1.x86_64 (@amzn-updates) Requires: [libdb-4.7.so](http://libdb-4.7.so/)()(64bit) Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed) [libdb-4.7.so](http://libdb-4.7.so/)()(64bit) Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel) ~[libdb-4.8.so](http://libdb-4.8.so/)()(64bit) Error: Package: pam-1.1.8-12.33.amzn1.x86_64 (installed) Requires: [libdb-4.7.so](http://libdb-4.7.so/)()(64bit) Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed) [libdb-4.7.so](http://libdb-4.7.so/)()(64bit) Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel) ~[libdb-4.8.so](http://libdb-4.8.so/)()(64bit) Error: Package: rpm-libs-4.11.3-40.78.amzn1.x86_64 (@amzn-updates) Requires: [libdb-4.7.so](http://libdb-4.7.so/)()(64bit) Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed) [libdb-4.7.so](http://libdb-4.7.so/)()(64bit) Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel) ~[libdb-4.8.so](http://libdb-4.8.so/)()(64bit) Error: Package: rpm-build-4.11.3-40.78.amzn1.x86_64 (@amzn-updates) Requires: [libdb-4.7.so](http://libdb-4.7.so/)()(64bit) Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed) [libdb-4.7.so](http://libdb-4.7.so/)()(64bit) Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel) ~[libdb-4.8.so](http://libdb-4.8.so/)()(64bit) Error: Package: ruby20-libs-2.0.0.648-2.39.amzn1.x86_64 (@amzn-updates) Requires: [libdb-4.7.so](http://libdb-4.7.so/)()(64bit) Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed) [libdb-4.7.so](http://libdb-4.7.so/)()(64bit) Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel) ~[libdb-4.8.so](http://libdb-4.8.so/)()(64bit) Error: Package: 2:postfix-2.6.6-2.15.amzn1.x86_64 (@amzn-main) Requires: [libdb-4.7.so](http://libdb-4.7.so/)()(64bit) Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed) [libdb-4.7.so](http://libdb-4.7.so/)()(64bit) Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel) ~[libdb-4.8.so](http://libdb-4.8.so/)()(64bit) Error: Package: cyrus-sasl-lib-2.1.23-13.16.amzn1.x86_64 (installed) Requires: [libdb-4.7.so](http://libdb-4.7.so/)()(64bit) Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed) [libdb-4.7.so](http://libdb-4.7.so/)()(64bit) Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel) ~[libdb-4.8.so](http://libdb-4.8.so/)()(64bit) Error: Package: rpm-4.11.3-40.78.amzn1.x86_64 (@amzn-updates) Requires: /usr/bin/db_stat Removing: db4-utils-4.7.25-18.11.amzn1.x86_64 (installed) Not found Obsoleted By: libdb4-utils-4.8.30-13.el7.x86_64 (epel) Not found Error: Package: sendmail-8.14.4-9.14.amzn1.x86_64 (@amzn-main) Requires: [libdb-4.7.so](http://libdb-4.7.so/)()(64bit) Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed) [libdb-4.7.so](http://libdb-4.7.so/)()(64bit) Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel) ~[libdb-4.8.so](http://libdb-4.8.so/)()(64bit) Error: Package: httpd24-tools-2.4.46-1.90.amzn1.x86_64 (@amzn-updates) Requires: [libdb-4.7.so](http://libdb-4.7.so/)()(64bit) Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed) [libdb-4.7.so](http://libdb-4.7.so/)()(64bit) Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel) ~[libdb-4.8.so](http://libdb-4.8.so/)()(64bit) Error: Package: pam_ccreds-10-4.9.amzn1.x86_64 (installed) Requires: [libdb-4.7.so](http://libdb-4.7.so/)()(64bit) Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed) [libdb-4.7.so](http://libdb-4.7.so/)()(64bit) Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel) ~[libdb-4.8.so](http://libdb-4.8.so/)()(64bit) Error: Package: python27-libs-2.7.18-2.140.amzn1.x86_64 (@amzn-updates) Requires: [libdb-4.7.so](http://libdb-4.7.so/)()(64bit) Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed) [libdb-4.7.so](http://libdb-4.7.so/)()(64bit) Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel) ~[libdb-4.8.so](http://libdb-4.8.so/)()(64bit) Error: Package: cyrus-sasl-2.1.23-13.16.amzn1.x86_64 (installed) Requires: [libdb-4.7.so](http://libdb-4.7.so/)()(64bit) Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed) [libdb-4.7.so](http://libdb-4.7.so/)()(64bit) Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel) ~[libdb-4.8.so](http://libdb-4.8.so/)()(64bit) Error: Package: apr-util-1.5.4-6.18.amzn1.x86_64 (@amzn-updates) Requires: [libdb-4.7.so](http://libdb-4.7.so/)()(64bit) Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed) [libdb-4.7.so](http://libdb-4.7.so/)()(64bit) Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel) ~[libdb-4.8.so](http://libdb-4.8.so/)()(64bit) Error: Package: httpd24-2.4.46-1.90.amzn1.x86_64 (@amzn-updates) Requires: [libdb-4.7.so](http://libdb-4.7.so/)()(64bit) Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed) [libdb-4.7.so](http://libdb-4.7.so/)()(64bit) Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel) ~[libdb-4.8.so](http://libdb-4.8.so/)()(64bit) Error: Package: rpm-build-libs-4.11.3-40.78.amzn1.x86_64 (@amzn-updates) Requires: [libdb-4.7.so](http://libdb-4.7.so/)()(64bit) Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed) [libdb-4.7.so](http://libdb-4.7.so/)()(64bit) Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel) ~[libdb-4.8.so](http://libdb-4.8.so/)()(64bit) You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
Then I got help from here
Then I tried to install snapd but while installing snapd getting following error:
Error: Package: snapd-selinux-2.49-2.el7.noarch (epel-testing) Requires: selinux-policy-base >= 3.13.1-268.el7_9.2 Available: selinux-policy-minimum-3.10.0-98.26.amzn1.noarch (amzn-main) selinux-policy-base = 3.10.0-98.26.amzn1 Available: selinux-policy-mls-3.10.0-98.26.amzn1.noarch (amzn-main) selinux-policy-base = 3.10.0-98.26.amzn1 Available: selinux-policy-targeted-3.10.0-98.26.amzn1.noarch (amzn-main) selinux-policy-base = 3.10.0-98.26.amzn1 Error: Package: snap-confine-2.49-2.el7.x86_64 (epel-testing) Requires: libudev.so.1()(64bit) Error: Package: snap-confine-2.49-2.el7.x86_64 (epel-testing) Requires: libudev.so.1(LIBUDEV_183)(64bit) Error: Package: snapd-2.49-2.el7.x86_64 (epel-testing) Requires: systemd
I referred here
Is there any need to upgrade Amazon Linux?
...ANSWER
Answered 2021-Feb-23 at 07:04Yes, I had to migrate AWS Linux AMI 2016 to AWS AMI 2 to upgrade certbot version.
I followed following steps:
sudo amazon-linux-extras install epel -y
sudo yum-config-manager --enable epel
sudo yum update -y
sudo yum install -y certbot python2-certbot-nginx
sudo certbot -v
certbot 1.11 installed.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install rpm-python27
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page