Bug 1687843

Summary: cannot create repositories with rpm deltas
Product: Red Hat Enterprise Linux 8 Reporter: Karel Srot <ksrot>
Component: createrepo_cAssignee: amatej
Status: CLOSED ERRATA QA Contact: Eva Mrakova <emrakova>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 8.2CC: ajschult784, amatej, carlwgeorge, darrin, emrakova, pkratoch
Target Milestone: rcKeywords: Triaged
Target Release: 8.0Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: createrepo_c-0.15.1-1.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-28 15:39:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Karel Srot 2019-03-12 13:28:45 UTC
Description of problem:

createrepo_c cannot generate drpm repos on rhel8 as it requires /usr/bin/makedeltarpm from deltarpm package, however this package is not available in RHEL-8 and has been replaced with drpm (which is only a library).

$ createrepo --database --deltas --oldpackagedirs=/var/www/html/deltarpm-test-old/ /var/www/html/deltarpm-test-new/
Directory walk started
Directory walk done - 1 packages
Temporary output repo path: /var/www/html/deltarpm-test-new/.repodata/
Preparing sqlite DBs
Pool started (with 5 workers)
Pool finished
C_CREATEREPOLIB: Warning: Cannot generate delta /var/www/html/deltarpm-test-old/deltarpm-test-pkg-1.0-1.noarch.rpm -> /var/www/html/deltarpm-test-new/deltarpm-test-pkg-2.0-1.noarch.rpm : Failed to execute child process ?/usr/bin/makedeltarpm? (No such file or directory)

Either createrepo_c should be tought how to work with drpm, or it should not support creating deltas or we should pull deltarpm back.


Version-Release number of selected component (if applicable):
createrepo_c-0.11.0-1.el8.x86_64

Comment 2 Michal Domonkos 2019-03-18 12:32:19 UTC
*** Bug 1689205 has been marked as a duplicate of this bug. ***

Comment 3 amatej 2019-07-19 06:43:58 UTC
I created a PR: https://github.com/rpm-software-management/createrepo_c/pull/172 that switches from deltarpm to drpm.

Comment 8 errata-xmlrpc 2020-04-28 15:39:34 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:1620