Thanks for pointing that out. Not sure how that got messed up but the noarch and beta had the same url being used on our Redhat Satellite server.
Original Message:
Sent: Thu August 03, 2023 11:54 AM
From: SANGAMESH MALLAYYA
Subject: DNF update fails with error saying the update would result in removing dnf
Hi Joshua,
Your noarch repository doesn't seem to contain information of all the required latest package meta data information.
Your noarch metadata information size seems to be very less (14KB).
The current size is around 2.5MB.
This what i get
# dnf list python3.9-date\*
AIX generic repository 4.1 MB/s | 19 MB 00:04
AIX noarch repository 5.4 MB/s | 2.5 MB 00:00
AIX 7.3 specific repository 684 kB/s | 341 kB 00:00
Available Packages
python3.9-dateutil.noarch 2.8.0-2 AIX_Toolbox_noarch
Please verify your noarch repository.
------------------------------
SANGAMESH
Original Message:
Sent: Tue August 01, 2023 03:38 PM
From: Joshua Krause
Subject: DNF update fails with error saying the update would result in removing dnf
I updated my rpm.rte to the proper version and now getting this error:
dnf update
AIX Generic repo 10 MB/s | 6.4 MB 00:00
AIX 7.2 specific repo 5.2 MB/s | 1.2 MB 00:00
AIX Noarch contentitory 115 kB/s | 14 kB 00:00
AIX Beta contentitory 116 kB/s | 14 kB 00:00
Error:
Problem 1: package python3-dnf-plugins-core-4.0.16-32_52.ppc requires python3.9-dnf-plugins-core = 4.0.16-32_52, but none of the providers can be installed
- cannot install the best update candidate for package python3-dnf-plugins-core-4.0.16-32_50.ppc
- nothing provides python3.9-dateutil needed by python3.9-dnf-plugins-core-4.0.16-32_52.ppc
Problem 2: package python3-dnf-plugin-migrate-4.0.16-32_52.ppc requires python3.9-dnf-plugin-migrate = 4.0.16-32_52, but none of the providers can be installed
- package python3.9-dnf-plugin-migrate-4.0.16-32_52.ppc requires python3.9-dnf-plugins-core = 4.0.16-32_52, but none of the providers can be installed
- cannot install the best update candidate for package python3-dnf-plugin-migrate-4.0.16-32_50.ppc
- nothing provides python3.9-dateutil needed by python3.9-dnf-plugins-core-4.0.16-32_52.ppc
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
Python3.9 is at proper version:
(beastmastere:/tmp/rpm-test)# rpm -qa | grep python3.9
python3.9-3.9.17-1.ppc
python3.9-gpg-1.13.1-101.ppc
python3.9-libdnf-0.39.1-32_52.ppc
python3.9-libcomps-0.1.15-101.ppc
rpm-python3.9-4.15.1-32_2.ppc
python3.9-hawkey-0.39.1-32_52.ppc
python3.9-dnf-4.2.17-32_51.ppc
What am I missing?
------------------------------
Joshua Krause
Original Message:
Sent: Thu June 15, 2023 02:47 PM
From: Jaqui Lynch
Subject: DNF update fails with error saying the update would result in removing dnf
I am having an issue updating with dnf on my AIX 7.2.5.4 system. When I upgraded it last year to 7.2.5.4 dnf update worked just fine and I had a clean system. Today I tried to update it and dnf check works fine but dnf update is failing with the error message below:
dnf update
Error:
Problem: The operation would result in removing the following protected packages: dnf
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
I tried the suggestion of updating just dnf and python3 but same error:
dnf update dnf python3
Last metadata expiration check: 1:32:33 ago on Thu Jun 15 13:09:52 EDT 2023.
Error:
Problem: The operation would result in removing the following protected packages: dnf
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
Below is the info on O/S level and ssl and rpm levels. Any ideas on how to get past this?
Thanks
Jaqui
oslevel -s
7200-05-04-2220
SSL is openssl and is installed at 1.1.2.1202
lslpp -l | grep ssl
openssl.base 1.1.2.1202 COMMITTED Open Secure Socket Layer
openssl.license 1.1.2.1202 COMMITTED Open Secure Socket License
openssl.man.en_US 1.1.2.1202 COMMITTED Open Secure Socket Layer
openssl.base 1.1.2.1202 COMMITTED Open Secure Socket Layer
emgr -P
PACKAGE INSTALLER LABEL
======================================================== =========== ==========
bos.rte.printers installp IJ39876s3a
bos.net.tcp.bind_utils installp IJ40615m4b
bos.net.tcp.bind installp IJ40615m4b
bos.mp64 installp IJ41685s4a
bos.rte.control installp IJ42339s4a
zlibNX.rte installp IJ41754s4a
lslpp -L rpm.rte
Fileset Level State Type Description (Uninstaller)
----------------------------------------------------------------------------
rpm.rte 4.15.1.1010 C F RPM Package Manager
rpm -qa | sort
AIX-rpm-7.2.5.103-51.ppc
bash-5.1.16-1.ppc
bzip2-1.0.8-2.ppc
ca-certificates-2020.06.01-2.ppc
check-0.13.0-1.ppc
coreutils-9.0-1.ppc
cups-2.2.3-3.ppc
cups-libs-2.2.3-3.ppc
curl-7.83.1-1.ppc
cyrus-sasl-2.1.28-1.ppc
db-5.3.28-1.ppc
dbus-1.14.0-1.ppc
dnf-4.2.17-32_50.ppc
dnf-automatic-4.2.17-32_50.ppc
dnf-data-4.2.17-32_50.ppc
expat-2.4.9-1.ppc
gcc10-10.3.0-6.ppc
gcc10-cpp-10.3.0-6.ppc
gdbm-1.23-1.ppc
gettext-0.21-2.ppc
glib2-2.56.1-3.ppc
gmp-6.2.1-1.ppc
gnupg2-2.2.35-1.ppc
gnutls-3.7.2-1.ppc
gpgme-1.13.1-100.ppc
gzip-1.12-2.ppc
info-6.7-1.ppc
jbigkit-2.1-1.ppc
jbigkit-libs-2.1-1.ppc
json-c-0.15-2.ppc
krb5-libs-1.18.5-2.ppc
libassuan-2.5.5-1.ppc
libcomps-0.1.11-100.ppc
libdnf-0.39.1-32_50.ppc
libffi-3.4.2-1.ppc
libgcc-8-1.ppc
libgcc10-10.3.0-6.ppc
libgcc8-8.3.0-6.ppc
libgcrypt-1.9.4-1.ppc
libgo-8-1.ppc
libgo-devel-8-1.ppc
libgo8-8.3.0-6.ppc
libgo8-devel-8.3.0-6.ppc
libgomp-8-1.ppc
libgomp8-8.3.0-6.ppc
libgpg-error-1.45-1.ppc
libgpg-error-devel-1.45-1.ppc
libiconv-1.17-1.ppc
libjpeg-9d-1.ppc
libksba-1.6.0-1.ppc
libmodulemd-1.5.2-100.ppc
libmpc-1.2.1-1.ppc
libnghttp2-1.46.0-1.ppc
libpaper-1.1.24-2.ppc
libpng-1.6.37-1.ppc
librepo-1.11.0-100.ppc
libsmartcols-2.34-100.ppc
libsmbclient-4.16.5-1.ppc
libsolv-0.7.9-32_51.ppc
libssh2-1.10.0-1.ppc
libstdc++-8-1.ppc
libstdc++-devel-8-1.ppc
libstdc++8-8.3.0-6.ppc
libstdc++8-devel-8.3.0-6.ppc
libtasn1-4.16.0-1.ppc
libtextstyle-0.21-2.ppc
libtiff-4.4.0-1.ppc
libunistring-0.9.10-1.ppc
libwebp-1.0.2-1.ppc
libxml2-2.9.14-1.ppc
libyaml-0.2.5-1.ppc
libzstd-1.5.2-1.ppc
mpfr-4.1.0-1.ppc
ncurses-6.3-1.ppc
nettle-3.7.3-1.ppc
npth-1.5-1.ppc
openldap-2.4.58-4.ppc
p11-kit-0.23.22-1.ppc
p11-kit-tools-0.23.22-1.ppc
pinentry-1.0.0-1.ppc
popt-1.18-1.ppc
pysqlite-2.8.3-2.ppc
python-2.7.18-3.ppc
python-devel-2.7.18-3.ppc
python-iniparse-0.4-1.noarch
python-pycurl-7.43.0-1.ppc
python-tools-2.7.18-3.ppc
python-urlgrabber-3.10.1-1.noarch
python3-3.7.12-1.ppc
python3-dateutil-2.8.0-1.noarch
python3-dnf-4.2.17-32_50.ppc
python3-dnf-plugin-migrate-4.0.16-32_50.ppc
python3-dnf-plugins-core-4.0.16-32_50.ppc
python3-gpg-1.13.1-100.ppc
python3-hawkey-0.39.1-32_50.ppc
python3-libcomps-0.1.11-100.ppc
python3-libdnf-0.39.1-32_50.ppc
python3-librepo-1.11.0-100.ppc
python3-six-1.13.0-1.noarch
readline-8.1-1.ppc
rpm-python3-4.15.1-32_1.ppc
samba-4.16.5-1.ppc
samba-client-4.16.5-1.ppc
samba-common-4.16.5-1.ppc
samba-devel-4.16.5-1.ppc
samba-libs-4.16.5-1.ppc
samba-winbind-4.16.5-1.ppc
samba-winbind-clients-4.16.5-1.ppc
sed-4.8-1.ppc
sqlite-3.37.2-1.ppc
sudo-1.9.5p2-1.ppc
xz-libs-5.2.5-1.ppc
yum-metadata-parser-1.1.4-2.ppc
zchunk-libs-1.1.4-101.ppc
zlib-1.2.12-1.ppc
rpm -qa | grep python
python-iniparse-0.4-1.noarch
python-urlgrabber-3.10.1-1.noarch
python-devel-2.7.18-3.ppc
rpm-python3-4.15.1-32_1.ppc
python3-dateutil-2.8.0-1.noarch
python3-3.7.12-1.ppc
python3-hawkey-0.39.1-32_50.ppc
python3-dnf-4.2.17-32_50.ppc
python3-dnf-plugins-core-4.0.16-32_50.ppc
python-2.7.18-3.ppc
python-pycurl-7.43.0-1.ppc
python-tools-2.7.18-3.ppc
python3-six-1.13.0-1.noarch
python3-libcomps-0.1.11-100.ppc
python3-libdnf-0.39.1-32_50.ppc
python3-gpg-1.13.1-100.ppc
python3-dnf-plugin-migrate-4.0.16-32_50.ppc
python3-librepo-1.11.0-100.ppc
------------------------------
Jaqui Lynch
------------------------------