Reposync CentOS 8 and perl problem

Issues related to applications and software problems and general support
Post Reply
dominiquearpin
Posts: 2
Joined: 2019/11/12 14:06:54

Reposync CentOS 8 and perl problem

Post by dominiquearpin » 2019/11/12 14:41:36

Hi,

I try without success to reposync the CentOS 8 repo.

Here my configuration (I'm using a CentOS 7 to sync the packages - yum-utils-1.1.31-52.el7.noarch):
/bin/reposync -g -l -n -m --download-metadata -d -r BaseOS -p /source/CentOS/8.0/x86_64
/bin/reposync -g -l -n -m --download-metadata -d -r AppStream -p /source/CentOS/8.0/x86_64
/bin/reposync -g -l -n -m --download-metadata -d -r PowerTools -p /source/CentOS/8.0/x86_64

Server: basic installation with Gui Server (with CentOS 8 iso)

When a try to upgrade using my localrepo:
dnf update

Error with perl:
AppStream 60 MB/s | 5.0 MB 00:00
BaseOS 61 MB/s | 2.4 MB 00:00
Error:
Problem 1: cannot install both perl-libs-4:5.24.4-398.module_el8.0.0+50+c3b345cd.x86_64 and perl-libs-4:5.26.3-416.el8.x86_64
- package perl-CPAN-Meta-2.150010-396.module_el8.0.0+50+c3b345cd.noarch requires perl(:MODULE_COMPAT_5.24.4), but none of the providers can be installed

Regards,

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Reposync CentOS 8 and perl problem

Post by TrevorH » 2019/11/12 15:49:28

If you can switch to the public mirrors and run the same command and not get the error then I'd guess that reposync doesn't understand modules. Try rsync instead. But those messages could also be "normal" and mean that you're trying to install some perl package that's only in one perl AppStream and not in the other (there are both perl 5.24 and 5.26 AppStreams but you can only use one of them).
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

dominiquearpin
Posts: 2
Joined: 2019/11/12 14:06:54

Re: Reposync CentOS 8 and perl problem

Post by dominiquearpin » 2019/11/14 13:33:25

Thanks, with rsync everything look good. :)

Post Reply