Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#45513 - [rpmextract] Can't extract RPM if path to it contains a space
Attached to Project:
Arch Linux
Opened by Dāvis (davispuh) - Wednesday, 01 July 2015, 07:33 GMT
Last edited by Tobias Powalowski (tpowa) - Friday, 04 September 2015, 20:25 GMT
Opened by Dāvis (davispuh) - Wednesday, 01 July 2015, 07:33 GMT
Last edited by Tobias Powalowski (tpowa) - Friday, 04 September 2015, 20:25 GMT
|
DetailsDescription:
Can't extract RPM if path to it contains a space, eg. rpmextract.sh "path to/r.rpm" will fail with "no package supplied" Additional info: * package version: rpmextract 1.0-6 * config and/or log files etc. Steps to reproduce: 1. copy some RPM to path containing a space, eg. "path to/r.rpm" 2. execute rpmextract.sh "path to/r.rpm" need to quote, this patch fixes it --- a/rpmextract.sh +++ b/rpmextract.sh @@ -3,4 +3,4 @@ if [ "$1" = "" -o ! -e "$1" ]; then echo "no package supplied" 1>&2 exit 1 fi -rpm2cpio $1 | bsdtar -xf - +rpm2cpio "$1" | bsdtar -xf - |
This task depends upon
Closed by Tobias Powalowski (tpowa)
Friday, 04 September 2015, 20:25 GMT
Reason for closing: Fixed
Additional comments about closing: 1.0-7
Friday, 04 September 2015, 20:25 GMT
Reason for closing: Fixed
Additional comments about closing: 1.0-7
Comment by Doug Newgard (Scimmia) -
Wednesday, 01 July 2015, 14:12 GMT
Why not just use bsdtar? libarchive/bsdtar has supported rpm archives for long time now, I don't see the point of this script anymore.
Comment by Dāvis (davispuh) -
Wednesday, 01 July 2015, 17:12 GMT
Then would need to fix it in all packages that use this and there are dozens of such packages...
Comment by Doug Newgard (Scimmia) -
Wednesday, 01 July 2015, 23:02 GMT
The fix is as simple as removing it from the makedeps and removing the command.