Hi, I restored the /etc/mock ``` $ rpm -q mock-core-configs mock-core-configs-40.1-1.fc39.noarch $ sudo dnf upgrade mock-core-configs $ rpm -q mock-core-configs mock-core-configs-40.2-1.fc39.noarch ``` I needed to copy the logging.ini manually, as I saw an error related to this file when running the mock. ``` $ sudo cp -p /etc/mock_20240226_bak/logging.ini /etc/mock/ ``` Then I see the following error. I am running the mock with the default /etc/mock files and without the `~/.config/mock.cfg`. ``` $ rpm -q mock mock-core-configs dnf5 mock-5.5-1.fc39.noarch mock-core-configs-40.2-1.fc39.noarch dnf5-5.1.13-1.fc39.x86_64 $ mock -r fedora-rawhide-x86_64 --shell INFO: mock.py version 5.5 starting (python version = 3.12.1, NVR = mock-5.5-1.fc39), args: /usr/libexec/mock/mock -r fedora-rawhide-x86_64 --shell Start(bootstrap): init plugins INFO: selinux enabled Finish(bootstrap): init plugins Start: init plugins INFO: selinux enabled Finish: init plugins INFO: Signal handler active Start: run Start(bootstrap): chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Using 'dnf' instead of 'dnf5' for bootstrap chroot INFO: Package manager dnf detected and used (fallback) Finish(bootstrap): chroot init Start: chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf5 detected and used (direct choice) Start: installing minimal buildroot with dnf5 execv(/usr/bin/dnf5) failed: No such file or directory ERROR: Command failed: # /usr/bin/systemd-nspawn -q -M a4b6850efcd84d949ac566faeddc46d5 -D /var/lib/mock/fedora-rawhide-x86_64-bootstrap/root -a --capability=cap_ipc_lock --bind=/tmp/mock-resolv.lno5ep7q:/etc/resolv.conf --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/var/lib/mock/fedora-rawhide-x86_64/root/installation-homedir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;<mock-chroot>\007"' '--setenv=PS1=<mock-chroot> \s-\v\$ ' --setenv=LANG=C.UTF-8 --setenv=LC_MESSAGES=C.UTF-8 --resolv-conf=off /usr/bin/dnf5 --installroot /var/lib/mock/fedora-rawhide-x86_64/root/ --releasever 41 install @buildsys-build --setopt=deltarpm=False --setopt=allow_vendor_change=yes --allowerasing --setopt=tsflags=nocontexts execv(/usr/bin/dnf5) failed: No such file or directory ``` I see that the `/usr/bin/dnf5` doesn't exist in the `/var/lib/mock/fedora-rawhide-x86_64-bootstrap`. Do you know how to fix it? ``` $ rpm -qf /usr/bin/dnf5 dnf5-5.1.13-1.fc39.x86_64 $ ls -l /usr/bin/dnf5 -rwxr-xr-x. 1 root root 1376632 Feb 20 01:00 /usr/bin/dnf5* $ ls -l /var/lib/mock/fedora-rawhide-x86_64-bootstrap/root/usr/bin/dnf* lrwxrwxrwx. 1 root root 5 Feb 8 01:00 /var/lib/mock/fedora-rawhide-x86_64-bootstrap/root/usr/bin/dnf -> dnf-3* -rwxr-xr-x. 1 root root 2092 Feb 8 01:00 /var/lib/mock/fedora-rawhide-x86_64-bootstrap/root/usr/bin/dnf-3* lrwxrwxrwx. 1 root root 5 Feb 8 01:00 /var/lib/mock/fedora-rawhide-x86_64-bootstrap/root/usr/bin/dnf4 -> dnf-3* $ ls -l /var/lib/mock/fedora-rawhide-x86_64-bootstrap/root/usr/bin/dnf5 ls: cannot access '/var/lib/mock/fedora-rawhide-x86_64-bootstrap/root/usr/bin/dnf5': No such file or directory $ ls /var/lib/mock/fedora-rawhide-x86_64/root/usr/ share/ ``` Thanks for your help! -- Jun | He - Him | Timezone: UTC+1 or 2, Czech Republic See <https://www.worldtimebuddy.com/czech-republic-prague-to-utc> for the timezone. -- _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-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/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue