Bug 1842633 - exim-4.93-3.el7.x86_64.rpm breaks dependency resolution when installed on fresh system
Summary: exim-4.93-3.el7.x86_64.rpm breaks dependency resolution when installed on fre...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: exim
Version: epel7
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Jaroslav Škarvada
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-06-01 18:07 UTC by abozhenko
Modified: 2020-06-18 01:22 UTC (History)
5 users (show)

Fixed In Version: exim-4.94-1.fc31 exim-4.94-1.fc32 exim-4.94-1.el7 exim-4.94-1.el8
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-06-11 18:59:09 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description abozhenko 2020-06-01 18:07:48 UTC
Description of problem:
When exim is included to the list of packages to be installed on fresh system instillation(in kickstart) it fails because '/bin/sh' dependency can not be satisfied.

Version-Release number of selected component (if applicable):
exim-4.93-3.el7.x86_64.rpm


How reproducible: Always.


Steps to Reproduce:
To reproduce the bug, just try to install exim in a clean rpm database on machine running Centos 7:
1. rpmdb --initdb --root /reproducer
2. yum --config /etc/yum.conf --installroot=/reproducer install  https://dl.fedoraproject.org/pub/epel/7Server/x86_64/Packages/e/exim-4.93-3.el7.x86_64.rpm 

Actual results:
Installation fails with the following error message:
Running transaction check
ERROR with transaction check vs depsolve:
/bin/sh is needed by exim-4.93-3.el7.x86_64
 You could try running: rpm -Va --nofiles --nodigest


Expected results:
Installation succeeds. Latest exim rpm that was working in this scenario was https://archives.fedoraproject.org/pub/archive/epel/7/x86_64/Packages/e/exim-4.92.3-1.el7.x86_64.rpm


Additional info:
This is happening because spec file for recent exim rpms started to use %pretrans scriptlet.

If this section of the spec file is commented out, then it starts to work:
%pretrans
## Workaround for rhbz#1791878
if [ -d %{_docdir}/exim/doc/cve-2019-13917 ]; then
  rm -f %{_docdir}/exim/doc/cve-2019-13917/*
  rmdir %{_docdir}/exim/doc/cve-2019-13917
fi

According to this:
https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/#pretrans
pretrans must not use sh.

Latest version of spec file that doesn't use 'pretrans' can be found at:
https://archives.fedoraproject.org/pub/archive/epel/7/SRPMS/Packages/e/exim-4.92.3-1.el7.src.rpm

Comment 1 Fedora Update System 2020-06-01 19:49:27 UTC
FEDORA-EPEL-2020-80bdd76315 has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-80bdd76315

Comment 2 Fedora Update System 2020-06-01 19:54:12 UTC
FEDORA-EPEL-2020-78c1e70e3a has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-78c1e70e3a

Comment 3 Fedora Update System 2020-06-01 20:01:42 UTC
FEDORA-2020-22aaabb700 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-22aaabb700

Comment 4 Fedora Update System 2020-06-01 20:02:09 UTC
FEDORA-2020-fe844f1dd8 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-fe844f1dd8

Comment 5 Fedora Update System 2020-06-02 03:56:39 UTC
FEDORA-EPEL-2020-80bdd76315 has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-80bdd76315

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2020-06-02 04:00:46 UTC
FEDORA-2020-fe844f1dd8 has been pushed to the Fedora 31 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-fe844f1dd8`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-fe844f1dd8

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2020-06-02 04:51:20 UTC
FEDORA-EPEL-2020-78c1e70e3a has been pushed to the Fedora EPEL 7 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-78c1e70e3a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2020-06-02 05:03:49 UTC
FEDORA-2020-22aaabb700 has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-22aaabb700`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-22aaabb700

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2020-06-11 18:59:09 UTC
exim-4.94-1.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2020-06-11 22:56:27 UTC
exim-4.94-1.fc32 has been pushed to the Fedora 32 stable repository. If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2020-06-18 00:33:45 UTC
FEDORA-EPEL-2020-78c1e70e3a has been pushed to the Fedora EPEL 7 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 12 Fedora Update System 2020-06-18 01:22:20 UTC
FEDORA-EPEL-2020-80bdd76315 has been pushed to the Fedora EPEL 8 stable repository.
If problem still persists, please make note of it in this bug report.


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