Bug 1469699 - mock postinstall scriptlet requires 'yum-utils' but does not Requires: it
Summary: mock postinstall scriptlet requires 'yum-utils' but does not Requires: it
Keywords:
Status: CLOSED DUPLICATE of bug 1462310
Alias: None
Product: Fedora
Classification: Fedora
Component: mock
Version: 26
Hardware: aarch64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Clark Williams
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-11 16:20 UTC by Stephen Gallagher
Modified: 2017-08-06 22:02 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-08-06 22:02:31 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Stephen Gallagher 2017-07-11 16:20:39 UTC
Description of problem:
The mock postinstall scriptlet requires 'yum-utils' but does not Requires: it


Version-Release number of selected component (if applicable):
mock-1.4.2-1.fc26

How reproducible:
Every time

Steps to Reproduce:
1. Install a minimal install of Fedora (contains no python2 or yum-utils package)
2. `dnf install mock`

Actual results:
Post-install scriptlet fails (see below) and the configuration files are not properly generated.

Expected results:
Mock installs correctly.

Additional info:

  Running scriptlet: mock-1.4.2-1.fc26.noarch                                                      20/21 
/var/tmp/rpm-tmp.vovVtd: line 15: python: command not found
Warning: file /etc/mock/fedora-26-.cfg does not exists.
         unable to update /etc/mock/default.cfg

or after installing python (but not yum-utils):

  Running scriptlet: mock-1.4.2-1.fc26.noarch                                                      20/21 
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named rpmUtils.arch
Warning: file /etc/mock/fedora-26-.cfg does not exists.
         unable to update /etc/mock/default.cfg

Comment 1 Miroslav Suchý 2017-08-06 22:02:31 UTC

*** This bug has been marked as a duplicate of bug 1462310 ***


Note You need to log in before you can comment on or make changes to this bug.