Re: Could not execute mockbuild for epel7

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 5 Jan 2018 11:11:26 -0500
Neal Gompa <ngompa13@xxxxxxxxx> wrote:

> On Fri, Jan 5, 2018 at 10:56 AM, Paul Howarth <paul@xxxxxxxxxxxx>
> wrote:
> > On 2018-01-02 14:07, Sérgio Basto wrote:  
> >>
> >> On Tue, 2018-01-02 at 06:25 -0700, Brad Bell wrote:  
> >>>
> >>> No such file or directory: '/usr/bin/yum-builddep'  
> >>
> >>
> >> rpm -qf /usr/bin/yum-builddep
> >> yum-utils-1.1.31-512.fc26.noarch
> >>
> >> seems you need yum-utils or in /etc/mock/site-defaults.cfg use :
> >>
> >> config_opts['package_manager'] = 'dnf'  
> >
> >
> > As an aside, in Fedora 27 /usr/bin/yum-builddep is provided by
> > dnf-utils and is of course based on dnf, so you get dnf resolving
> > build dependencies even if you have config_opts['package_manager']
> > = 'yum'. 
> 
> It's not supposed to use yum-builddep when you set yum in Fedora 27,
> it's supposed to use yum-builddep-deprecated.
> 
> I fixed that a while back:
> https://github.com/rpm-software-management/mock/commit/39e795a096315b653184ec0d43f3ebf3c22f2bea
> 
> But, yum-utils has to be installed for that to work.

And you can't install that because it conflicts with dnf-utils.

Error: Transaction check error:
  file /usr/bin/debuginfo-install from install of
yum-utils-1.1.31-513.fc27.noarch conflicts with file from package
dnf-utils-2.1.5-1.fc27.noarch file /usr/bin/find-repos-of-install from
install of yum-utils-1.1.31-513.fc27.noarch conflicts with file from
package dnf-utils-2.1.5-1.fc27.noarch file /usr/bin/package-cleanup
from install of yum-utils-1.1.31-513.fc27.noarch conflicts with file
from package dnf-utils-2.1.5-1.fc27.noarch file /usr/bin/repo-graph
from install of yum-utils-1.1.31-513.fc27.noarch conflicts with file
from package dnf-utils-2.1.5-1.fc27.noarch file /usr/bin/repoclosure
from install of yum-utils-1.1.31-513.fc27.noarch conflicts with file
from package dnf-utils-2.1.5-1.fc27.noarch file /usr/bin/repomanage
from install of yum-utils-1.1.31-513.fc27.noarch conflicts with file
from package dnf-utils-2.1.5-1.fc27.noarch file /usr/bin/repoquery from
install of yum-utils-1.1.31-513.fc27.noarch conflicts with file from
package dnf-utils-2.1.5-1.fc27.noarch file /usr/bin/reposync from
install of yum-utils-1.1.31-513.fc27.noarch conflicts with file from
package dnf-utils-2.1.5-1.fc27.noarch file /usr/bin/repotrack from
install of yum-utils-1.1.31-513.fc27.noarch conflicts with file from
package dnf-utils-2.1.5-1.fc27.noarch file /usr/bin/yum-builddep from
install of yum-utils-1.1.31-513.fc27.noarch conflicts with file from
package dnf-utils-2.1.5-1.fc27.noarch file /usr/bin/yum-config-manager
from install of yum-utils-1.1.31-513.fc27.noarch conflicts with file
from package dnf-utils-2.1.5-1.fc27.noarch file /usr/bin/yum-debug-dump
from install of yum-utils-1.1.31-513.fc27.noarch conflicts with file
from package dnf-utils-2.1.5-1.fc27.noarch
file /usr/bin/yum-debug-restore from install of
yum-utils-1.1.31-513.fc27.noarch conflicts with file from package
dnf-utils-2.1.5-1.fc27.noarch file /usr/bin/yumdownloader from install
of yum-utils-1.1.31-513.fc27.noarch conflicts with file from package
dnf-utils-2.1.5-1.fc27.noarch

I don't really want to uninstall dnf-utils.

Paul.
_______________________________________________
packaging mailing list -- packaging@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to packaging-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux