[Bug 12936] New: rpm: unrecognized option

bugzilla at busybox.net bugzilla at busybox.net
Fri May 22 16:40:37 UTC 2020


https://bugs.busybox.net/show_bug.cgi?id=12936

            Bug ID: 12936
           Summary: rpm: unrecognized option
           Product: Busybox
           Version: unspecified
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Standard Compliance
          Assignee: unassigned at busybox.net
          Reporter: maworsham at gmail.com
                CC: busybox-cvs at busybox.net
  Target Milestone: ---

Created attachment 8466
  --> https://bugs.busybox.net/attachment.cgi?id=8466&action=edit
chef-stacktrace.out error file

We are using Chef Habitat to install several RPM packages (DataDog 'Agent' is
currently the big one we are trying to deploy) on Linux AWS EC2 instances and
have noticed in the chef-stacktrace.out error file that references BusyBox. We
are trying to narrow down where the problem is located - is it a BusyBox, Chef
Habitat, Chef Server or Chef Infra client issue?

I also submitted the bug/issue here:
https://github.com/mirror/busybox/issues/25


Reference:
https://github.com/DataDog/chef-datadog/blob/master/recipes/repository.rb

Mixlib::ShellOut::ShellCommandFailed: execute[rpm-import datadog key e09422b3]
(datadog::repository line 85) had an error:
Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but
received '1'
---- Begin output of rpm --import
/hab/svc/wabtec_base_tools/data/cache/cache/DATADOG_RPM_KEY_E09422B3.public
----
STDOUT:
STDERR: rpm: unrecognized option: -
BusyBox v1.29.2 (2019-01-15 01:45:56 UTC) multi-call binary.

Usage: rpm -i PACKAGE.rpm; rpm -qp[ildc] PACKAGE.rpm

Manipulate RPM packages

Commands:
-i Install package
-qp Query package
-qpi Show information
-qpl List contents
-qpd List documents
-qpc List config files
---- End output of rpm --import
/hab/svc/wabtec_base_tools/data/cache/cache/DATADOG_RPM_KEY_E09422B3.public
----
Ran rpm --import
/hab/svc/wabtec_base_tools/data/cache/cache/DATADOG_RPM_KEY_E09422B3.public
returned 1

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list