View Issue Details

IDProjectCategoryView StatusLast Update
0017650CentOS-8dnfpublic2020-08-07 10:15
Reporterocfmatt 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version8.2.2004 
Target VersionFixed in Version 
Summary0017650: DNF reposync does not pull stream modular packages
DescriptionReposync against AppStream is not pulling all packages causing unmet dependencies when running yum upgrade or upgrading specific packages with disabled modules. If the public upstream repos are used for yum upgrade this does not occur. Passing various flags to reposync to enable all modules, hotfix, security and enhancement related packages does not resolve it. Rsync of AppStream is a successful workaround but not preferable.

This looks to be a repeat of https://bugzilla.redhat.com/show_bug.cgi?id=1714788 unless I have my reposync commandline wrong.
Steps To Reproduce1. yum install yum-utils

2. dnf reposync --download-metadata -p /repos/www/x86_64/centos/8.2 -a x86_64 --repo AppStream

3. Update AppStream baseurl to locally synced repository path

4. Run yum upgrade (See appstream-yum-upgrade.log)

Workaround

1. rsync -avSHP --delete rsync://anorien.csc.warwick.ac.uk/CentOS/8.2.2004/AppStream/x86_64/os/ "/repos/www/x86_64/centos/8.2/appstream"

2. Run yum upgrade (See appstream-yum-upgrade-rsync.log)
Additional Information[root@repository ~]# rpm -qa | grep yum
yum-utils-4.0.12-3.el8.noarch
yum-4.2.17-6.el8.noarch

[root@repository ~]# rpm -qa | grep dnf
dnf-data-4.2.17-6.el8.noarch
python3-dnf-4.2.17-6.el8.noarch
python3-dnf-plugin-spacewalk-2.8.5-11.module_el8.1.0+211+ad6c0bc7.noarch
python3-libdnf-0.39.1-5.el8.x86_64
dnf-4.2.17-6.el8.noarch
dnf-plugins-core-4.0.12-3.el8.noarch
dnf-plugin-spacewalk-2.8.5-11.module_el8.1.0+211+ad6c0bc7.noarch
libdnf-0.39.1-5.el8.x86_64
python3-dnf-plugins-core-4.0.12-3.el8.noarch
TagsNo tags attached.

Activities

ocfmatt

ocfmatt

2020-08-07 10:15

reporter  

appstream-yum-upgrade.log (5,933 bytes)
appstream-yum-upgrade-rsync.log (9,115 bytes)

Issue History

Date Modified Username Field Change
2020-08-07 10:15 ocfmatt New Issue
2020-08-07 10:15 ocfmatt File Added: appstream-yum-upgrade.log
2020-08-07 10:15 ocfmatt File Added: appstream-yum-upgrade-rsync.log