Hello Spacewalk guys,

I have found an issue when i try to update an centos 8 stream client. I suspect 
modular metadatas are not inserted correctly when i use reposync command and 
conflicts occur when i update.

[root@worker1 yum.repos.d]# yum update
This system is receiving updates from Spacewalk server.
CentOS Stream Base (x86_64)                                                     
                                                                                
               52 MB/s | 8.2 MB     00:00
CentOS Stream PowerTools (x86_64)                                               
                                                                                
               38 MB/s | 3.1 MB     00:00
CentOS Stream Extras (x86_64)                                                   
                                                                                
              307 kB/s |  13 kB     00:00
EPEL 8 for CentOS Stream (x86_64)                                               
                                                                                
               71 MB/s |  14 MB     00:00
CentOS Stream AppStream (x86_64)                                                
                                                                                
               78 MB/s |  15 MB     00:00
Copr repo for spacewalk-2.10-client owned by @spacewalkproject                  
                                                                                
               60 kB/s |  28 kB     00:00
Error:
Problem 1: package perl-Time-HiRes-4:1.9758-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.30.1-451.module_el8.3.0+406+78614513.x86_64 and 
perl-libs-4:5.26.3-419.el8.x86_64
  - cannot install the best update candidate for package 
perl-libs-4:5.26.3-419.el8.x86_64
  - cannot install the best update candidate for package 
perl-Time-HiRes-4:1.9758-2.el8.x86_64
Problem 2: package perl-Net-SSLeay-1.88-1.module_el8.4.0+517+be1595ff.x86_64 
requires libperl.so.5.26()(64bit), but none of the providers can be installed
  - cannot install both 
perl-libs-4:5.30.1-451.module_el8.3.0+406+78614513.x86_64 and 
perl-libs-4:5.26.3-419.el8.x86_64
  - package perl-CPAN-Meta-2.150010-397.module_el8.3.0+406+78614513.noarch 
requires perl(:MODULE_COMPAT_5.30.1), but none of the providers can be installed
  - cannot install the best update candidate for package 
perl-Net-SSLeay-1.88-1.module_el8.4.0+517+be1595ff.x86_64
  - cannot install the best update candidate for package 
perl-CPAN-Meta-2.150010-396.el8.noarch
  - package perl-libs-4:5.30.1-452.module_el8.4.0+646+45e06e4a.x86_64 is 
filtered out by modular filtering
Problem 3: package net-snmp-agent-libs-1:5.8-20.el8.x86_64 requires 
libperl.so.5.26()(64bit), but none of the providers can be installed
[...]

For example with perl-libs package installed in my client :
 [root@worker1 yum.repos.d]# rpm -qa | grep perl-libs
perl-libs-5.26.3-419.el8.x86_64

So spacewalk client try to install 2 perl-libs packages.

So In base i have 
perl-libs-5.26.3-419.el8:4.x86_64<https://vla-spacewalk-p01.prod.lan/rhn/software/packages/Details.do?pid=393197>
 package and in appstream 3 packages of perl-libs :
perl-libs-5.24.4-404.module_el8.1.0+229+cd132df8:4.x86_64<https://vla-spacewalk-p01.prod.lan/rhn/software/packages/Details.do?pid=58576>
perl-libs-5.30.1-451.module_el8.3.0+406+78614513:4.x86_64<https://vla-spacewalk-p01.prod.lan/rhn/software/packages/Details.do?pid=376135>
perl-libs-5.30.1-452.module_el8.4.0+646+45e06e4a:4.x86_64<https://vla-spacewalk-p01.prod.lan/rhn/software/packages/Details.do?pid=395004>

so have any idea to fix this strange behavious ?

thanks in advance for your help

De : BARRIERE Benoit
Envoyé : lundi 19 avril 2021 11:21
À : '[email protected]' <[email protected]>; [email protected]
Objet : RE: [Spacewalk-list] CentOS 8 stream support for spacewalk 2.10

Thanks a lot for yours informations.

I have implemented this setup and and worked correctly. Hope spacewalk could 
work for next centos 9.

Regards,





De : 
[email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>> 
De la part de [email protected]<mailto:[email protected]>
Envoyé : mercredi 14 avril 2021 22:26
À : [email protected]<mailto:[email protected]>
Objet : Re: [Spacewalk-list] CentOS 8 stream support for spacewalk 2.10

I have the Stream channels already on my Spacewalk 2.10 servers.  No problems 
or conflicts with the other EL8 channels (CentOS or RHEL) at all.  I would 
suggest you use spacecmd to create your channels and repos for you.  It is 
easier than the common-channels method in my opinion.

Here are the commands I used to create my channels and repos (inside the 
spacecmd shell).  Hope this helps.  Going to miss Spacewalk - I have been using 
it for 10+ years now.  Looking at Oracle's fork.  Satellite 6 doesn't work for 
me.

softwarechannel_create -n 'CentOS Stream Base (x86_64)' -l 
centos-stream-base-x86_64 -s 'CentOS Stream Base (x86_64)' -a x86_64 -c 'sha1' 
-u 'file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial' -i '8483C65D' -f '99DB 
70FA E1D7 CE22 7FB6  4882 05B5 55B3 8483 C65D'
softwarechannel_create -n 'CentOS Stream AppStream (x86_64)' -l 
centos-stream-appstream-x86_64 -s 'CentOS Stream AppStream (x86_64)' -p 
'centos-stream-base-x86_64' -a x86_64 -c 'sha1' -u 
'file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial' -i '8483C65D' -f '99DB 
70FA E1D7 CE22 7FB6  4882 05B5 55B3 8483 C65D'
softwarechannel_create -n 'CentOS Stream PowerTools (x86_64)' -l 
centos-stream-powertools-x86_64 -s 'CentOS Stream PowerTools (x86_64)' -p 
'centos-stream-base-x86_64' -a x86_64 -c 'sha1' -u 
'file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial' -i '8483C65D' -f '99DB 
70FA E1D7 CE22 7FB6  4882 05B5 55B3 8483 C65D'
softwarechannel_create -n 'CentOS Stream Extras (x86_64)' -l 
centos-stream-extras-x86_64 -s 'CentOS Stream Extras (x86_64)' -p 
'centos-stream-base-x86_64' -a x86_64 -c 'sha1' -u 
'file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial' -i '8483C65D' -f '99DB 
70FA E1D7 CE22 7FB6  4882 05B5 55B3 8483 C65D'
softwarechannel_create -n 'EPEL 8 for CentOS Stream (x86_64)' -l 
epel8-stream8-x86_64 -s 'EPEL 8 for CentOS Stream (x86_64)' -p 
'centos-stream-base-x86_64' -a x86_64 -c 'sha1' -u 
'file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8' -i '2F86D6A1' -f '94E2 79EB 8D8F 
25B2 1810  ADF1 21EA 45AB 2F86 D6A1'
softwarechannel_create -n 'EPEL 8 Playground for CentOS Stream (x86_64)' -l 
epel8-playground-stream88-x86_64 -s 'EPEL 8 Playground for CentOS Stream 
(x86_64)' -p 'centos-stream-base-x86_64' -a x86_64 -c 'sha1' -u 
'file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8' -i '2F86D6A1' -f '94E2 79EB 8D8F 
25B2 1810  ADF1 21EA 45AB 2F86 D6A1'

repo_create -n centos-stream-base-x86_64 -u 
http://mirror.centos.org/centos/8-stream/BaseOS/x86_64/os/
repo_create -n centos-stream-appstream-x86_64 -u 
http://mirror.centos.org/centos/8-stream/AppStream/x86_64/os/
repo_create -n centos-stream-powertools-x86_64 -u 
http://mirror.centos.org/centos/8-stream/PowerTools/x86_64/os/
repo_create -n centos-stream-extras-x86_64 -u 
http://mirror.centos.org/centos/8-stream/extras/x86_64/os/

softwarechannel_addrepo centos-stream-base-x86_64 centos-stream-base-x86_64
softwarechannel_addrepo centos-stream-appstream-x86_64 
centos-stream-appstream-x86_64
softwarechannel_addrepo centos-stream-powertools-x86_64 
centos-stream-powertools-x86_64
softwarechannel_addrepo centos-stream-extras-x86_64 centos-stream-extras-x86_64
softwarechannel_addrepo epel8-stream8-x86_64 epel-8-x86_64
softwarechannel_addrepo epel8-playground-stream8-x86_64 epel-8-playground-x86_64


From: 
[email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>> 
On Behalf Of BARRIERE Benoit
Sent: Wednesday, April 14, 2021 12:21
To: [email protected]<mailto:[email protected]>
Subject: [Spacewalk-list] CentOS 8 stream support for spacewalk 2.10

Hello,

We have already a spacewalk 2.10 for patch management. We have activated Centos 
7 and 8 channels for those clients.
Now we would like to use our for spacewalk 2.10 and CentOS 8 stream. So my 
question is :

Does spacewalk 2.10 support this new distro (centos 8 stream) and can cohabit 
with CentOS 8 ?

I hope that spacewalk know to detect this OS and entitle it to the good channel.

Also does anyone have the file spacewalk-common-channels.ini for CentOS 8 
stream ?

Thank for your support

benoit

________________________________
Des informations nominatives sont exploitées par Monaco Telecom SAM dans le 
cadre de la fourniture de la messagerie professionnelle. Conformément à la Loi 
1.165, modifiée, vous disposez d'un droit d'accès, de rectification et de 
suppression en écrivant à Monaco Telecom SAM, au 4-6 Avenue Albert II - 98000 
Monaco.

Personal data are processed for messaging services purpose by Monaco Telecom 
SAM. In compliance with the applicable legislation (Law n° 1.165, as amended) 
relating to the protection of personal information, you may access, update and 
remove your data, by writing to Monaco Telecom SAM - 4-6 Avenue Albert II - 
98000 Monaco.
________________________________
Afin de préserver l'environnement, merci de n'imprimer ce courrier que si 
nécessaire.
Please remember to protect the environment. Print only if necessary.
_______________________________________________
Spacewalk-list mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to