Bug 581632

Summary: createrepo -C fails to notice remove-only changes
Product: [Fedora] Fedora Reporter: Ville Skyttä <ville.skytta>
Component: createrepoAssignee: Luke Macken <lmacken>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 14CC: james.antill, lmacken, pfrields
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: createrepo-0.9.9-4.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-28 21:22:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ville Skyttä 2010-04-12 20:24:26 UTC
When a package is removed from a repository and there are no other changes to it and createrepo is run with -C on it, createrepo fails to notice the removal and does nothing.

I suppose dir timestamp tracking is needed to fix this.  Haven't thought about it much at all but on first thought this might not be entirely trivial as write operations to the repodata (and .repodata, see also bug 581628) dirs should not trigger a re-run.

If not fixable, the limitation should be documented.

Comment 1 seth vidal 2010-04-12 20:29:22 UTC
createrepo --update should pick up removed pkgs.

Comment 2 Bug Zapper 2010-07-30 11:19:14 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 14 development cycle.
Changing version to '14'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 3 seth vidal 2011-07-28 21:22:50 UTC
Agreed it should be documented and now has been upstream.

thanks

Comment 4 Fedora Update System 2011-07-29 20:07:07 UTC
createrepo-0.9.9-4.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/createrepo-0.9.9-4.fc15

Comment 5 Fedora Update System 2011-08-02 02:06:31 UTC
createrepo-0.9.9-4.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.