Description of problem: I tried to rebuild some packages in mock on rawhide and it failed due to missing package dnf-plugins-core Version-Release number of selected component (if applicable): sh# rpm -q dnf dnf-plugins-core mock dnf-2.6.3-2.fc28.noarch dnf-plugins-core-2.1.3-2.fc27.noarch mock-1.4.3-1.fc27.noarch How reproducible: Deterministic Steps to Reproduce: 1. docker run -ti --rm --privileged docker.io/fedora:rawhide bash //rest run within rawhide container 2. dnf install --nogpgcheck --best -y mock 3. curl -O https://kojipkgs.fedoraproject.org//packages/lftp/4.8.0/3.fc27/src/lftp-4.8.0-3.fc27.src.rpm 4. mock --old-chroot --resultdir . --rebuild ./lftp-4.8.0-3.fc27.src.rpm Actual results: ... Complete! Finish: dnf install Start: creating root cache Finish: creating root cache Finish: chroot init INFO: Installed packages: Start: build phase for lftp-4.8.0-3.fc27.src.rpm Start: build setup for lftp-4.8.0-3.fc27.src.rpm Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/lftp-4.8.0-3.fc28.src.rpm No such command: builddep. Please use /usr/bin/dnf --help It could be a DNF plugin command, try: "dnf install 'dnf-command(builddep)'" ERROR: Exception(./lftp-4.8.0-3.fc27.src.rpm) Config(fedora-rawhide-x86_64) 2 minutes 0 seconds INFO: Results and/or logs in: . INFO: Cleaning up build root ('cleanup_on_failure=True') Start: clean chroot Finish: clean chroot ERROR: builddep command missing. Please install package dnf-plugins-core. Expected results: src.rpm pacakge rebuilt without any problem.
It is the same problem as in https://bugzilla.redhat.com/show_bug.cgi?id=1483342 It works well with following packages: dnf-2.6.3-3.fc28.noarch dnf-plugins-core-2.1.3-2.fc27.noarch mock-1.4.3-1.fc27.noarch
*** This bug has been marked as a duplicate of bug 1483342 ***