Code: Select all
config_opts['yum.conf'] += """
[main]
best=0
"""
Code: Select all
config_opts['yum.conf'] += """
[local]
name=local
enabled=1
baseurl=file:///srv/rpms/
includepkgs=libsolv*
gpgcheck=0
"""
Today, I upgraded to mock-2.0-2 and mock-core-configs-32.1-1 from epel-testing. It required one adjustment to my mock.conf to work: s/yum.conf/dnf.conf/g
And then the old problem with uninstallable perl-generators appeared once again. I rebuilt the newest libsolv-0.7.11-2 from Fedora Rawhide and put it into my local repo, but to no avail. For now, I've reverted to the old trick with best=0.
Does anybody know, what has changed in mock and/or mock-core-configs that dnf in mock again tries to install excluded packages seeing them as best candidates (even with the newest libsolv)?
Namely, it tries to install perl-generators from the module perl and fails.
Code: Select all
$ dnf -d0 list perl-generators
perl-generators.noarch 1.10-9.el8 @AppStream
$ dnf module info perl | grep perl-generators
: perl-generators-0:1.10-10.module_el8.1.0+229+cd132df8.noarch
: perl-generators-0:1.10-10.module_el8.1.0+229+cd132df8.src