[Spacewalk-list] Spacewalk 2.10 CentOS 8 stream and modular package issues

Paul Robert Marino prmarino1 at gmail.com
Tue Jun 8 14:11:47 UTC 2021


Im not sure but this looks like a typical package conflict. these things
happen you may be missing some update packages that are causing the update
of libperl to be blocked.
there are some yum tools for diagnosing this stuff.
BTW ive seen these kind of errors pop up before both with and without
spacewalk and with distros fully supported by spacewalk.
These kinds of errors are typical and are probably due to a broken RPM
database on this server being updated. usually they are caused by a yum
transaction that was aborted part way through by something like a crashed
puppet agent or an ssh session that got killed in the middle of an update.
The other probable cause is you might be syncing off an upstream mirror
thats out of date.


On Tue, Jun 8, 2021 at 9:43 AM BARRIERE Benoit <b.barriere at monaco-telecom.mc>
wrote:

> Thx Andreas,
>
>
>
> The yum list module is showing correctly all available module in appstream
> but not perl-lib package.
>
>
>
> If i migrate to Oracle Linux manager 10 (more easier for me now) with
> Oracle linux 8 client compatibility i am sure about the centos 8 stream wil
> also capatible.
>
>
>
>
>
>
>
>
>
>
>
>
>
> *De :* spacewalk-list-bounces at redhat.com <
> spacewalk-list-bounces at redhat.com> *De la part de* Andreas Dijkman
> *Envoyé :* mardi 8 juin 2021 13:56
> *À :* <spacewalk-list at redhat.com> <spacewalk-list at redhat.com>
> *Objet :* Re: [Spacewalk-list] Spacewalk 2.10 CentOS 8 stream and modular
> package issues
>
>
>
> It looks like your Spacewalk 2.10 setup has invalid module data. Module
> data from vanilla Spacewalk 2.10 has challenges and isn’t working
> properly.
>
>
>
> If you run the command yum module list and there isn’t any modules listed,
> only a few and some message like ‘Fallback Module data used, then module
> data isn’t available for the AppStream-channel.
>
>
>
> You can try Uyuni or maybe Spacewalk 2.11 (nightly/unstable/beta) if
> that’s still available or the Oracle-version of Spacewalk.
>
>
>
> Or just bite the bullet and use Red Hat Satellite 6 (Foreman).
>
>
> Kind regards,
>
> Andreas Dijkman
>
>
>
> On 8 Jun 2021, at 12:00, BARRIERE Benoit <b.barriere at monaco-telecom.mc>
> wrote:
>
>
>
> 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 at 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 at 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
> *À :* 'steve at alderfamily.org' <steve at alderfamily.org>;
> spacewalk-list at redhat.com
> *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 :* spacewalk-list-bounces at redhat.com <
> spacewalk-list-bounces at redhat.com> *De la part de* lists at alderfamily.org
> *Envoyé :* mercredi 14 avril 2021 22:26
> *À :* spacewalk-list at redhat.com
> *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:* spacewalk-list-bounces at redhat.com <
> spacewalk-list-bounces at redhat.com> *On Behalf Of *BARRIERE Benoit
> *Sent:* Wednesday, April 14, 2021 12:21
> *To:* spacewalk-list at redhat.com
> *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
> Spacewalk-list at redhat.com
> https://listman.redhat.com/mailman/listinfo/spacewalk-list
>
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://listman.redhat.com/mailman/listinfo/spacewalk-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20210608/5f764fe9/attachment.htm>


More information about the Spacewalk-list mailing list