Bug 1093918 - post script errors - rhn is not alway installed
Summary: post script errors - rhn is not alway installed
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: epel-release
Version: epel7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michael Stahnke
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-03 09:32 UTC by Florian La Roche
Modified: 2014-06-18 23:20 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-18 23:20:30 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Florian La Roche 2014-05-03 09:32:32 UTC
Description of problem:
rpm -Uvh http://10.251.252.20/download/epel/beta/7/x86_64/epel-release-7-0.1.noarch.rpm
Retrieving http://10.251.252.20/download/epel/beta/7/x86_64/epel-release-7-0.1.noarch.rpm
warning: /var/tmp/rpm-tmp.9nEiGs: Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY
Preparing...                          ################################# [100%]
Updating / installing...
   1:epel-release-7-0.1               ################################# [100%]
/var/tmp/rpm-tmp.NYqonp: line 1: /etc/sysconfig/rhn/sources: No such file or directory
/var/tmp/rpm-tmp.NYqonp: line 3: /etc/sysconfig/rhn/sources: No such file or directory
warning: %post(epel-release-7-0.1.noarch) scriptlet failed, exit status 1


rpm -q --scripts epel-release
postinstall scriptlet (using /bin/sh):
echo "# epel repo -- added by epel-release " \
    >> /etc/sysconfig/rhn/sources
echo "yum epel http://download.fedoraproject.org/pub/epel/7/\$ARCH" \
    >> /etc/sysconfig/rhn/sources
postuninstall scriptlet (using /bin/sh):
sed -i '/^yum\ epel/d' /etc/sysconfig/rhn/sources
sed -i '/^\#\ epel\ repo\ /d' /etc/sysconfig/rhn/sources



Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Trevor Hemsley 2014-06-18 14:33:19 UTC
This appears to be a regression of https://bugzilla.redhat.com/show_bug.cgi?id=627611 which was for el6

Comment 2 Kevin Fenzi 2014-06-18 23:20:30 UTC
Fixed. Should be in tomorrow's compose.


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