Re: F30: dnf, yum, mock

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

 



On 22/02/2020 18:14, Todd Zullinger wrote:
John Pilkington wrote:
Fedora 30 had several dnf-related updates today.  Since then, mock fails
with KeyError: 'yum.conf'

In the mockbuild directory, /var/lib/mock/Fedora.../root/etc/yum.conf is a
link to yum/yum.conf, which is a 0 byte file.

In the corresponding file for epel-7 builds, last used before the updates,
yum/yum.conf is 3.2 kB

In the F30 host /etc/yum.conf is now 816 bytes

Perhaps I should try to revert.

It might be worth running a --scrub=all on the affected
chroots as well as checking whether you have local overrides
to the mock config files (in /etc/mock or ~/.config/mock*).

There was a recent thread on fedora-buildsys about a similar
issue someone had with the mock 2.0 update.

Thanks for the suggestions :-)

/etc/mock/default.cfg was 0 bytes and there was a recent
/etc/mock/default.cfg.rpmnew

With the rpmnew version copied into place

mock --scrub=all -r fedora-30-x86_64-rpmfusion_free

still gave the KeyError.  Omitting the -r did the scrub.

After that the build with the original command line, which did not include the -r, still gave the KeyError. I have tried with and without the -r, with and without a preceding /etc/mock/ and with and without a following .cfg All have failed, but differently; error in configuration or cannot find config file...
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux