Bug 1052181 - mock %post scriptlet error during installation
Summary: mock %post scriptlet error during installation
Keywords:
Status: CLOSED DUPLICATE of bug 1090073
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: mock
Version: epel7
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Clark Williams
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-13 13:02 UTC by Mattias Ryrlén
Modified: 2014-04-22 16:42 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-04-22 16:42:51 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
epel-7-x86_64.cfg (1.25 KB, text/plain)
2014-02-03 19:09 UTC, Orion Poplawski
no flags Details

Description Mattias Ryrlén 2014-01-13 13:02:12 UTC
Description of problem:
Installing mock-1.1.35-1.el7.noarch for el7, during yum installation i get the following:

Version-Release number of selected component (if applicable):
mock-1.1.35-1.el7.noarch

How reproducible:
Always

Steps to Reproduce:
1. Install RHEL7 Beta
2. Create /etc/yum.repos.d/epel7.repo with following baseurl: baseurl=http://mirror.nsc.liu.se/fedora-epel/beta/7/x86_64/
3. yum install mock

Actual results:
  Installing : mock-1.1.35-1.el7.noarch                                                                            3/3
warning: %post(mock-1.1.35-1.el7.noarch) scriptlet failed, exit status 254
Non-fatal POSTIN scriptlet failure in rpm package mock-1.1.35-1.el7.noarch

Expected results:
Installed without scriptlet errors.


Additional info:
Error because /etc/mock/epel-7-x86_64.cfg doesn't exists.

Full yum log:
[root@localhost yum.repos.d]# yum install mock
Loaded plugins: product-id, subscription-manager
This system is receiving updates from Red Hat Subscription Management.
rhel-7-public-beta-rpms                                                                         | 3.4 kB  00:00:00
Resolving Dependencies
--> Running transaction check
---> Package mock.noarch 0:1.1.35-1.el7 will be installed
--> Processing Dependency: python-decoratortools for package: mock-1.1.35-1.el7.noarch
--> Processing Dependency: pigz for package: mock-1.1.35-1.el7.noarch
--> Running transaction check
---> Package pigz.x86_64 0:2.2.5-2.el7 will be installed
---> Package python-decoratortools.noarch 0:1.8-6.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=======================================================================================================================
 Package                              Arch                  Version                     Repository                Size
=======================================================================================================================
Installing:
 mock                                 noarch                1.1.35-1.el7                epel-beta                213 k
Installing for dependencies:
 pigz                                 x86_64                2.2.5-2.el7                 epel-beta                 46 k
 python-decoratortools                noarch                1.8-6.el7                   epel-beta                 29 k

Transaction Summary
=======================================================================================================================
Install  1 Package (+2 Dependent packages)

Total download size: 287 k
Installed size: 814 k
Is this ok [y/d/N]: y
Downloading packages:
(1/3): pigz-2.2.5-2.el7.x86_64.rpm                                                              |  46 kB  00:00:00
(2/3): python-decoratortools-1.8-6.el7.noarch.rpm                                               |  29 kB  00:00:00
(3/3): mock-1.1.35-1.el7.noarch.rpm                                                             | 213 kB  00:00:00
-----------------------------------------------------------------------------------------------------------------------
Total                                                                                  836 kB/s | 287 kB     00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : python-decoratortools-1.8-6.el7.noarch                                                              1/3
  Installing : pigz-2.2.5-2.el7.x86_64                                                                             2/3
  Installing : mock-1.1.35-1.el7.noarch                                                                            3/3
warning: %post(mock-1.1.35-1.el7.noarch) scriptlet failed, exit status 254
Non-fatal POSTIN scriptlet failure in rpm package mock-1.1.35-1.el7.noarch
  Verifying  : pigz-2.2.5-2.el7.x86_64                                                                             1/3
  Verifying  : python-decoratortools-1.8-6.el7.noarch                                                              2/3
  Verifying  : mock-1.1.35-1.el7.noarch                                                                            3/3

Installed:
  mock.noarch 0:1.1.35-1.el7

Dependency Installed:
  pigz.x86_64 0:2.2.5-2.el7                          python-decoratortools.noarch 0:1.8-6.el7

Complete!

Comment 1 Orion Poplawski 2014-02-03 19:09:02 UTC
Created attachment 858788 [details]
epel-7-x86_64.cfg

This seems to be working for me at the moment during the beta period.

Comment 2 Michael Cronenworth 2014-04-22 16:42:51 UTC

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


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