View Issue Details

IDProjectCategoryView StatusLast Update
0006634Rocky-Linux-9rocky-releasepublic2024-05-14 20:12
Reportersantosh karthik prasad vajghala Assigned ToSkip Grube  
PriorityhighSeveritymajorReproducibilityalways
Status assignedResolutionopen 
PlatformLinuxOSRocky LinuxOS Version9.3
Summary0006634: dnf/yum fails on Rocky Linux 9.3 after new RL 9.4 is released
DescriptionRL 9.3 is now moved to archive "vault" repository. I changed the repo configuration files to use "baseurl" instead of "mirrorlist" and updated the "baseurl" to point "https://dl.rockylinux.org/vault/rocky/9.3"

Post that, i see many errors regarding missing packages. But i think that may be because of transition b/w pub to vault was not complete.

But now, i see issues related to broken packages. I did not see this before. When i try to install packages / groups such as "Development Tools" i see issues like below:

#9 50.02 Error:
#9 50.02 Problem 1: cannot install the best candidate for the job
#9 50.02 - nothing provides systemd-libs(aarch-64) = 252-18.el9.0.1.rocky needed by systemd-devel-252-18.el9.0.1.rocky.aarch64 from appstream
#9 50.02 - nothing provides systemd-pam = 252-18.el9.0.1.rocky needed by systemd-devel-252-18.el9.0.1.rocky.aarch64 from appstream
#9 50.02 Problem 2: cannot install the best candidate for the job
#9 50.02 - nothing provides openssl-libs(aarch-64) = 1:3.0.7-25.el9_3 needed by openssl-devel-1:3.0.7-25.el9_3.aarch64 from appstream
#9 50.02 Problem 3: cannot install the best candidate for the job
#9 50.02 - nothing provides glibc = 2.34-83.el9.12 needed by glibc-devel-2.34-83.el9.12.aarch64 from appstream
#9 50.02 Problem 4: cannot install the best candidate for the job
#9 50.02 - nothing provides python3 = 3.9.18-1.el9_3.1 needed by python3-devel-3.9.18-1.el9_3.1.aarch64 from appstream
#9 50.02 - nothing provides python3-libs(aarch-64) = 3.9.18-1.el9_3.1 needed by python3-devel-3.9.18-1.el9_3.1.aarch64 from appstream
#9 50.02 Problem 5: cannot install the best candidate for the job
#9 50.02 - nothing provides expat(aarch-64) = 2.5.0-1.el9_3.1 needed by expat-devel-2.5.0-1.el9_3.1.aarch64 from appstream
#9 50.02 (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)


I can bypass this issue by adding "--skip-broken" flag to dnf command but it will not help me for later packages which have those dependencies.
Tagsupstream, vault, yum

Activities

Skip Grube

Skip Grube

2024-05-14 14:18

manager   ~0007096

I think it's likely you forgot to set your baseos repository back to vault, or messed up the URL somehow - all of those missing dependencies are from 9.3's baseos. I would check in /etc/yum.repos.d/ file(s) again.

Having said that, it should be noted all vaulted packages/repositories are no longer supported *at all* , and are there for historical reference. They will not receive any kind of updates (security or otherwise), and it is highly recommended to be on the latest supported release (9.4, in this case).

Thanks,
-Skip
santosh karthik prasad vajghala

santosh karthik prasad vajghala

2024-05-14 15:21

reporter   ~0007097

I don't think so. I re-checked all the repo files and all are updated to the vault url: https://dl.rockylinux.org/vault/rocky/9.3/

And i also checked my log file where there are instances of package download from "baseos" passing. So its not like package-download from "baseos" are failing.

Example command that is working when baseos is used:
dnf --disablerepo=* --enablerepo=baseos --releasever 9.3 install -y dnf-plugins-core
Louis Abel

Louis Abel

2024-05-14 20:12

administrator   ~0007098

Using mock, I cannot reproduce this issue.

% dnf install epel-release -y
% crb enable
% dnf install mock -y
% mock -r /tmp/rl93vault.cfg --init
% mock -r /tmp/rl93vault.cfg --install @development
(Check attached)

As Skip has said, 9.3 and the rest of the vault is not supported. See here for more information: https://wiki.rockylinux.org/rocky/repo/#vault
rl93vault.txt (2,684 bytes)   
config_opts['root'] = 'rl-9.3-aarch64'
config_opts['target_arch'] = 'aarch64'
config_opts['legal_host_arches'] = ('aarch64',)
config_opts['releasever'] = '9.3'
config_opts['description'] = 'Rocky Linux 9.3'
config_opts['use_bootstrap_image'] = False
config_opts['rpmbuild_command'] = '/usr/bin/rpmbuild'
config_opts['package_manager'] = 'dnf'
config_opts['dist'] = 'el9'

# Applicable Macros
config_opts['macros']['%_rpmfilename'] = '%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm'
config_opts['macros']['%_host'] = 'aarch64-redhat-linux-gnu'
config_opts['macros']['%_host_cpu'] = 'aarch64'
config_opts['macros']['%_vendor'] = "redhat"
config_opts['macros']['%_vendor_host'] = "redhat"
# These are typically set from rocky-release and may not have an effect
config_opts['macros']['%__bootstrap'] = '~bootstrap'
config_opts['macros']['%distribution'] = 'Rocky Linux 9.3'
config_opts['macros']['%dist'] = '%{!?distprefix0:%{?distprefix}}%{expand:%{lua:for i=0,9999 do print("%{?distprefix" .. i .."}") end}}.el9%{?with_bootstrap:~bootstrap}'
config_opts['macros']['%rhel'] = '9'

# To set specialty macros, such as %vendor, please run 'rocky-mock-macros-setup'

config_opts['chroot_setup_cmd'] = 'install bash glibc-minimal-langpack gnupg2 rpm-build shadow-utils system-release redhat-rpm-config'
config_opts['dnf.conf'] = """
[main]
keepcache=1
debuglevel=2
reposdir=/dev/null
logfile=/var/log/yum.log
retries=20
obsoletes=1
gpgcheck=0
assumeyes=1
syslog_ident=mock
syslog_device=
metadata_expire=0
mdpolicy=group:primary
best=1
install_weak_deps=0
protected_packages=
module_platform_id=platform:el9
user_agent={{ user_agent }}

[baseos]
name=Rocky Linux $releasever - BaseOS
baseurl=http://dl.rockylinux.org/vault/rocky/$releasever/BaseOS/$basearch/os/
gpgcheck=1
enabled=1
metadata_expire=6h
gpgkey=https://git.rockylinux.org/staging/src/rocky-release/-/raw/r9/SOURCES/RPM-GPG-KEY-Rocky-9

[appstream]
name=Rocky Linux $releasever - AppStream
baseurl=http://dl.rockylinux.org/vault/rocky/$releasever/AppStream/$basearch/os/
gpgcheck=1
enabled=1
metadata_expire=6h
gpgkey=https://git.rockylinux.org/staging/src/rocky-release/-/raw/r9/SOURCES/RPM-GPG-KEY-Rocky-9

[crb]
name=Rocky Linux $releasever - CRB
baseurl=http://dl.rockylinux.org/vault/rocky/$releasever/CRB/$basearch/os/
gpgcheck=1
enabled=1
metadata_expire=6h
gpgkey=https://git.rockylinux.org/staging/src/rocky-release/-/raw/r9/SOURCES/RPM-GPG-KEY-Rocky-9

[extras]
name=Rocky Linux $releasever - Extras
baseurl=http://dl.rockylinux.org/vault/rocky/$releasever/extras/$basearch/os/
gpgcheck=1
enabled=1
metadata_expire=6h
gpgkey=https://git.rockylinux.org/staging/src/rocky-release/-/raw/r9/SOURCES/RPM-GPG-KEY-Rocky-9

"""
rl93vault.txt (2,684 bytes)   
root.init.log (430,656 bytes)

Issue History

Date Modified Username Field Change
2024-05-14 08:47 santosh karthik prasad vajghala New Issue
2024-05-14 08:47 santosh karthik prasad vajghala Tag Attached: upstream
2024-05-14 08:47 santosh karthik prasad vajghala Tag Attached: vault
2024-05-14 08:47 santosh karthik prasad vajghala Tag Attached: yum
2024-05-14 14:06 Skip Grube Assigned To => Skip Grube
2024-05-14 14:06 Skip Grube Status new => assigned
2024-05-14 14:18 Skip Grube Note Added: 0007096
2024-05-14 15:21 santosh karthik prasad vajghala Note Added: 0007097
2024-05-14 20:12 Louis Abel Note Added: 0007098
2024-05-14 20:12 Louis Abel File Added: rl93vault.txt
2024-05-14 20:12 Louis Abel File Added: root.init.log