Dne 28. 02. 22 v 13:27 lejeczek napsal(a):
Hi guys.

What options such as '--dnf-cmd' do, can you tell?

E.g.,

  mock --dnf-cmddebuginfo-install PACKAGE

is equivalent (very simplified) to:

  chroot $chroot

  dnf debuginfo-install PACKAGE

dnf-cmd is command, not an option. So you cannot combine --rebuild and 
--dnf-cmd.


> At the same time - I hit something which might be common I'd imagine:


...

  - cannot install the best update candidate for package mpfr-3.1.6-1.el8.x86_64
  - cannot install both mpfr-4.1.0-8.el8.x86_64 and mpfr-3.1.6-1.el8.x86_64
  - cannot install both mpfr-3.1.6-1.el8.x86_64 and mpfr-4.1.0-8.el8.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use 
not only best candidate packages)

This is problem of repository and needs to be fixed there.

As a workaround you can modify your config and set

config_opts['dnf.conf'] = """
[main]

...

best=0

...

"""

But this will silently hides new version of packages from you and may result to builds which may have broken deps on current distribution.


Miroslav
_______________________________________________
buildsys mailing list -- buildsys@lists.fedoraproject.org
To unsubscribe send an email to buildsys-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/buildsys@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to