On Sat, 7 Oct 2023 at 10:50, stan via devel <devel@lists.fedoraproject.org>
wrote:

> On Fri, 06 Oct 2023 16:05:25 -0000
> "Michael Dawson" <midaw...@redhat.com> wrote:
>
> > I'm trying to build
> > https://gitlab.com/redhat/centos-stream/rpms/nodejs using centpkg but
> > am running into errors.
> >
> > I'm using Fedora 37 and get this error when I run centpkg mockbuild
> > --with=bundled in the directory where I've cloned the
> > https://gitlab.com/redhat/centos-stream/rpms/nodejs respository and
> > switched to the stream-nodejs-18-rhel-8.10.0 branch.
> >
> > I'm getting this error:
> >
> > Total
> >                                                    3.7 MB/s |  50 MB
> >    00:13 Running transaction check Transaction check succeeded.
> > Running transaction test
> > Error: Transaction test error:
> >   file /usr/sbin/alternatives from install of
> > chkconfig-1.19.2-1.el8.x86_64 conflicts with file from package
> > alternatives-1.24-1.fc38.x86_64
>                       ^^^^
>
>
Good catch. You should not mix and match el and fedora packages or
repositories like that.

Michael if you are using Fedora 37 as you say lower down, you have 3
different releases trying to put packages on the system:
EL8, Fedora 37 and Fedora 38. You can possibly match Fedora 37 and Fedora
38, but EL8 is like bringing in EL29 packages into the mix.. years of
changing file locations and such.

I generally use toolbox these days for this sort of development:
1. Install the Linux you want to use daily. Get it the way you want it for
that day driving work.
2. `dnf install toolbox`
3. some variation of `toolbox create --image
quay.io/toolbx-images/centos-toolbox centos-stream-9`
4. `toolbox enter centos-stream-9`
5. Do the package installs of centpkg
6. Do the builds




> This sounds like a package conflict error.  Two packages are trying to
> manage the same file.  I find no bugzillas for chkconfig or
> alternatives. I infer from that that packages within the same fedora
> version don't have this conflict.  Thus, I suggest that you use an f38
> instance, so that this package conflict doesn't occur.  No guarantees,
> though, maybe no one else has hit this error.  If it still doesn't work,
> you should open a bugzilla against one of the packages with the
> information you have provided in this email.
> _______________________________________________
> devel mailing list -- devel@lists.fedoraproject.org
> To unsubscribe send an email to devel-le...@lists.fedoraproject.org
> Fedora Code of Conduct:
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
> https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
> Do not reply to spam, report it:
> https://pagure.io/fedora-infrastructure/new_issue
>


-- 
Stephen Smoogen, Red Hat Automotive
Let us be kind to one another, for most of us are fighting a hard battle.
-- Ian MacClaren
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to