View Issue Details

IDProjectCategoryView StatusLast Update
0017650CentOS-8dnfpublic2020-08-07 10:15
Reporterocfmatt Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version8.2.2004 
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)   
[root@repository ~]# yum upgrade
CentOS Base OS 8.2                                                                                                                                          256 MB/s | 2.2 MB     00:00
CentOS AppStream 8.2                                                                                                                                        292 MB/s | 3.1 MB     00:00
EPEL-8                                                                                                                                                      294 MB/s | 3.3 MB     00:00
Error:
 Problem 1: cannot install the best update candidate for package bind-libs-32:9.11.13-3.el8.x86_64
  - nothing provides bind-license = 32:9.11.13-5.el8_2 needed by bind-libs-32:9.11.13-5.el8_2.x86_64
 Problem 2: cannot install the best update candidate for package bind-libs-lite-32:9.11.13-3.el8.x86_64
  - nothing provides bind-license = 32:9.11.13-5.el8_2 needed by bind-libs-lite-32:9.11.13-5.el8_2.x86_64
 Problem 3: cannot install the best update candidate for package bind-utils-32:9.11.13-3.el8.x86_64
  - nothing provides python3-bind = 32:9.11.13-5.el8_2 needed by bind-utils-32:9.11.13-5.el8_2.x86_64
 Problem 4: cannot install both perl-libs-4:5.24.4-404.module_el8.1.0+229+cd132df8.x86_64 and perl-libs-4:5.26.3-416.el8.x86_64
  - package perl-Digest-MD5-2.55-397.module_el8.1.0+229+cd132df8.x86_64 requires libperl.so.5.24()(64bit), but none of the providers can be installed
  - package perl-Digest-MD5-2.55-397.module_el8.1.0+229+cd132df8.x86_64 requires perl(:MODULE_COMPAT_5.24.4), but none of the providers can be installed
  - cannot install the best update candidate for package perl-libs-4:5.26.3-416.el8.x86_64
  - cannot install the best update candidate for package perl-Digest-MD5-2.55-396.el8.x86_64
 Problem 5: package perl-interpreter-4:5.26.3-416.el8.x86_64 requires libperl.so.5.26()(64bit), but none of the providers can be installed
  - package perl-interpreter-4:5.26.3-416.el8.x86_64 requires perl-libs(x86-64) = 4:5.26.3-416.el8, but none of the providers can be installed
  - cannot install both perl-libs-4:5.24.4-404.module_el8.1.0+229+cd132df8.x86_64 and perl-libs-4:5.26.3-416.el8.x86_64
  - package perl-MIME-Base64-3.15-1001.module_el8.1.0+229+cd132df8.x86_64 requires libperl.so.5.24()(64bit), but none of the providers can be installed
  - package perl-MIME-Base64-3.15-1001.module_el8.1.0+229+cd132df8.x86_64 requires perl(:MODULE_COMPAT_5.24.4), but none of the providers can be installed
  - cannot install the best update candidate for package perl-interpreter-4:5.26.3-416.el8.x86_64
  - cannot install the best update candidate for package perl-MIME-Base64-3.15-396.el8.x86_64
 Problem 6: package perl-TermReadKey-2.37-7.el8.x86_64 requires libperl.so.5.26()(64bit), but none of the providers can be installed
  - cannot install both perl-libs-4:5.24.4-404.module_el8.1.0+229+cd132df8.x86_64 and perl-libs-4:5.26.3-416.el8.x86_64
  - package perl-Socket-4:2.027-4.module_el8.1.0+229+cd132df8.x86_64 requires libperl.so.5.24()(64bit), but none of the providers can be installed
  - package perl-Socket-4:2.027-4.module_el8.1.0+229+cd132df8.x86_64 requires perl(:MODULE_COMPAT_5.24.4), but none of the providers can be installed
  - cannot install the best update candidate for package perl-TermReadKey-2.37-7.el8.x86_64
  - cannot install the best update candidate for package perl-Socket-4:2.027-3.el8.x86_64
 Problem 7: package perl-Storable-1:3.11-3.el8.x86_64 requires libperl.so.5.26()(64bit), but none of the providers can be installed
  - cannot install both perl-libs-4:5.24.4-404.module_el8.1.0+229+cd132df8.x86_64 and perl-libs-4:5.26.3-416.el8.x86_64
  - package perl-Unicode-Normalize-1.25-1001.module_el8.1.0+229+cd132df8.x86_64 requires libperl.so.5.24()(64bit), but none of the providers can be installed
  - package perl-Unicode-Normalize-1.25-1001.module_el8.1.0+229+cd132df8.x86_64 requires perl(:MODULE_COMPAT_5.24.4), but none of the providers can be installed
  - cannot install the best update candidate for package perl-Unicode-Normalize-1.25-396.el8.x86_64
  - cannot install the best update candidate for package perl-Storable-1:3.11-3.el8.x86_64
 Problem 8: package perl-Scalar-List-Utils-3:1.49-2.el8.x86_64 requires libperl.so.5.26()(64bit), but none of the providers can be installed
  - cannot install both perl-libs-4:5.24.4-404.module_el8.1.0+229+cd132df8.x86_64 and perl-libs-4:5.26.3-416.el8.x86_64
  - package perl-threads-1:2.21-3.module_el8.1.0+229+cd132df8.x86_64 requires libperl.so.5.24()(64bit), but none of the providers can be installed
  - package perl-threads-1:2.21-3.module_el8.1.0+229+cd132df8.x86_64 requires perl(:MODULE_COMPAT_5.24.4), but none of the providers can be installed
  - cannot install the best update candidate for package perl-threads-1:2.21-2.el8.x86_64
  - cannot install the best update candidate for package perl-Scalar-List-Utils-3:1.49-2.el8.x86_64
 Problem 9: package perl-PathTools-3.74-1.el8.x86_64 requires libperl.so.5.26()(64bit), but none of the providers can be installed
  - cannot install both perl-libs-4:5.24.4-404.module_el8.1.0+229+cd132df8.x86_64 and perl-libs-4:5.26.3-416.el8.x86_64
  - package perl-threads-shared-1.58-3.module_el8.1.0+229+cd132df8.x86_64 requires libperl.so.5.24()(64bit), but none of the providers can be installed
  - package perl-threads-shared-1.58-3.module_el8.1.0+229+cd132df8.x86_64 requires perl(:MODULE_COMPAT_5.24.4), but none of the providers can be installed
  - cannot install the best update candidate for package perl-threads-shared-1.58-2.el8.x86_64
  - cannot install the best update candidate for package perl-PathTools-3.74-1.el8.x86_64
(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)
appstream-yum-upgrade.log (5,933 bytes)   
appstream-yum-upgrade-rsync.log (9,115 bytes)   
[root@repository ~]# yum upgrade
CentOS Base OS 8.2                                                                                                                                          267 MB/s | 2.2 MB     00:00
CentOS AppStream 8.2                                                                                                                                        245 MB/s | 5.8 MB     00:00
EPEL-8                                                                                                                                                      299 MB/s | 3.3 MB     00:00
Dependencies resolved.
============================================================================================================================================================================================
 Package                                        Architecture                  Version                                                            Repository                            Size
============================================================================================================================================================================================
Installing:
 kernel                                         x86_64                        4.18.0-193.14.2.el8_2                                              centos-8.2                           2.8 M
 kernel-core                                    x86_64                        4.18.0-193.14.2.el8_2                                              centos-8.2                            28 M
 kernel-modules                                 x86_64                        4.18.0-193.14.2.el8_2                                              centos-8.2                            23 M
Upgrading:
 bind-export-libs                               x86_64                        32:9.11.13-5.el8_2                                                 centos-8.2                           1.1 M
 bind-libs                                      x86_64                        32:9.11.13-5.el8_2                                                 appstream-8.2                        171 k
 bind-libs-lite                                 x86_64                        32:9.11.13-5.el8_2                                                 appstream-8.2                        1.2 M
 bind-license                                   noarch                        32:9.11.13-5.el8_2                                                 appstream-8.2                        100 k
 bind-utils                                     x86_64                        32:9.11.13-5.el8_2                                                 appstream-8.2                        443 k
 bpftool                                        x86_64                        4.18.0-193.14.2.el8_2                                              centos-8.2                           3.4 M
 coreutils                                      x86_64                        8.30-7.el8_2.1                                                     centos-8.2                           1.2 M
 coreutils-common                               x86_64                        8.30-7.el8_2.1                                                     centos-8.2                           2.0 M
 gnutls                                         x86_64                        3.6.8-11.el8_2                                                     centos-8.2                           915 k
 grub2-common                                   noarch                        1:2.02-87.el8_2                                                    centos-8.2                           882 k
 grub2-efi-x64                                  x86_64                        1:2.02-87.el8_2                                                    centos-8.2                           405 k
 grub2-pc                                       x86_64                        1:2.02-87.el8_2                                                    centos-8.2                            37 k
 grub2-pc-modules                               noarch                        1:2.02-87.el8_2                                                    centos-8.2                           863 k
 grub2-tools                                    x86_64                        1:2.02-87.el8_2                                                    centos-8.2                           2.0 M
 grub2-tools-extra                              x86_64                        1:2.02-87.el8_2                                                    centos-8.2                           1.1 M
 grub2-tools-minimal                            x86_64                        1:2.02-87.el8_2                                                    centos-8.2                           202 k
 initscripts                                    x86_64                        10.00.6-1.el8_2.1                                                  centos-8.2                           338 k
 kernel-tools                                   x86_64                        4.18.0-193.14.2.el8_2                                              centos-8.2                           3.0 M
 kernel-tools-libs                              x86_64                        4.18.0-193.14.2.el8_2                                              centos-8.2                           2.8 M
 libnghttp2                                     x86_64                        1.33.0-3.el8_2.1                                                   centos-8.2                            77 k
 microcode_ctl                                  x86_64                        4:20191115-4.20200609.1.el8_2                                      centos-8.2                           2.7 M
 python3-bind                                   noarch                        32:9.11.13-5.el8_2                                                 appstream-8.2                        148 k
 python3-perf                                   x86_64                        4.18.0-193.14.2.el8_2                                              centos-8.2                           2.9 M
 python3-syspurpose                             x86_64                        1.26.17-1.el8_2                                                    centos-8.2                           286 k
 python3-unbound                                x86_64                        1.7.3-11.el8_2                                                     appstream-8.2                        118 k
 qemu-guest-agent                               x86_64                        15:2.12.0-99.module_el8.2.0+385+c644c6e8.2                         appstream-8.2                        217 k
 selinux-policy                                 noarch                        3.14.3-41.el8_2.4                                                  centos-8.2                           614 k
 selinux-policy-targeted                        noarch                        3.14.3-41.el8_2.4                                                  centos-8.2                            15 M
 shim-x64                                       x86_64                        15-15.el8_2                                                        centos-8.2                           666 k
 sos                                            noarch                        3.8-6.el8_2                                                        centos-8.2                           522 k
 systemd                                        x86_64                        239-30.el8_2                                                       centos-8.2                           3.5 M
 systemd-libs                                   x86_64                        239-30.el8_2                                                       centos-8.2                           1.1 M
 systemd-pam                                    x86_64                        239-30.el8_2                                                       centos-8.2                           449 k
 systemd-udev                                   x86_64                        239-30.el8_2                                                       centos-8.2                           1.3 M
 tzdata                                         noarch                        2020a-1.el8                                                        centos-8.2                           469 k
 unbound-libs                                   x86_64                        1.7.3-11.el8_2                                                     appstream-8.2                        499 k
Installing dependencies:
 grub2-tools-efi                                x86_64                        1:2.02-87.el8_2                                                    centos-8.2                           467 k

Transaction Summary
============================================================================================================================================================================================
Install   4 Packages
Upgrade  36 Packages

Total size: 107 M
Total download size: 18 M
Is this ok [y/N]:

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