| Summary: | rpm: unrecognized option | ||
|---|---|---|---|
| Product: | Busybox | Reporter: | Swampcritter <maworsham> |
| Component: | Standard Compliance | Assignee: | unassigned |
| Status: | RESOLVED WONTFIX | ||
| Severity: | normal | CC: | busybox-cvs |
| Priority: | P5 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
| Attachments: | chef-stacktrace.out error file | ||
|
Description
Swampcritter
2020-05-22 16:40:37 UTC
BusyBox rpm only supports a limited subset of functionality. It doesn't have the '--import' option. In fact, it doesn't have any long options which is why it complains that '-' is an unknown option. If your chef's recipe calls for '--import' you'll have to give them the proper ingredients: a full version of rpm. In upstream package, rpm --import PUBKEY is an alias for rpmkeys --import PUBKEY busybox's rpm applet is only intended to be used as "unpacker" of .rpm files (example: running an emergency shell and installing a package form a .rpm file on a system which was broken by failed update or erroneous removal of a critical package). It knows nothing about keys, a database of installed packages, etc. |