Description of problem: It is impossible to use manifests with files whose names are containing '#'. Such manifests/files are generated e.g. by recent 'apt' versions, see http://distro2.conectiva.com.br/pipermail/apt-rpm/2003-December/002125.html for complete report. Version-Release number of selected component (if applicable): rpm-4.2.1-0.30.1.1 How reproducible: 100% Steps to Reproduce: 1. echo -e '/tmp/foo#.i386.rpm\n'{,,,,} >/tmp/x.list [crude shortcut, manifest files seem to need >=5 lines...] 2. rpm -Uvh --test /tmp/x.list Actual results: error: open of /tmp/foo failed: No such file or directory Expected results: error: open of /tmp/foo#.i386.rpm failed: No such file or directory Or a way to express '#' in manifests
Yup, comment characters in manifests, not '^#' so that input can be free field. Do you really care? Why?
Created attachment 96738 [details] allows escaped characters in manifest Current apt-get generates such manifests (see URL in initial report). Patching apt is required for backward compatibility, but it would be nice to have an escape mechanism in rpm. This patch allows '\' escaped characters in manifests and handles '#' in a bash-like way (e.g. 'foo#bar' stays 'foo#bar', but 'foo #bar' becomes 'foo').
Created attachment 96739 [details] testsuite I do not know how to integrate it into rpm, but here is a small testsuite for the new functionality.
Is this still an issue on a more recent version of rpm? (Such as a 4.4.x version, as included in FC5 and FC6?) FC3 and FC4 are supported by Fedora Legacy for security fixes only, so can you please retest this in FC5 or FC6?
*** Bug 130306 has been marked as a duplicate of this bug. ***
User pnasrat's account has been closed
Reassigning to owner after bugzilla made a mess, sorry about the noise...
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
Time to get this zombie buried... a simpler alternative proposed upstream: https://github.com/rpm-software-management/rpm/pull/918
FEDORA-2019-72008fcd6d has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-72008fcd6d
rpm-4.15.1-1.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-72008fcd6d
rpm-4.15.1-1.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.