Not to be fixed
Created: Sep 26, 2014
Updated: Apr 19, 2018
Resolved Date: Apr 17, 2018
Found In Version: 7.0
Severity: Severe
Applicable for: Wind River Linux 7
Component/s: Userspace
Problem Description
======================
rpm --addsign failed due to missing dependency package: gnupg.
Expected Behavior
======================
rpm --addsign works.
Observed Behavior
======================
rpm --addsign doesn't work.
Logs
======================
root@qemu1:~# rpm -qpi m4-1.4.16-r4.0.x86_64.rpm
Name : m4 Relocations: (not relocatable)
Version : 1.4.16 Vendor: (none)
Release : r4.0 Build Date: Wed Sep 24 10:51:43 2014
Install Date: (not installed) Build Host: pek-lpgtest4.wrs.com
Group : base Source RPM: m4-1.4.16-r4.0.src.rpm
Size : 219440 License: GPLv3
Signature : DSA/SHA1, Wed Sep 24 10:51:43 2014, Key ID 193ff45ba050fcf5
Packager : Wind River <info@windriver.com>
URL : unknown
Summary : Traditional Unix macro processor
Architecture: x86_64
Description :
GNU m4 is an implementation of the traditional Unix macro processor. It is
mostly SVR4 compatible although it has some extensions (for example,
handling more than 9 positional parameters to macros). GNU M4 also has
built-in functions for including files, running shell commands, doing
arithmetic, etc.
root@qemu1:~# rpm --delsign m4-1.4.16-r4.0.x86_64.rpm rpm
m4-1.4.16-r4.0.x86_64.rpm:
root@qemu1:~# rpm -qpi m4-1.4.16-r4.0.x86_64.rpm
Name : m4 Relocations: (not relocatable)
Version : 1.4.16 Vendor: (none)
Release : r4.0 Build Date: Wed Sep 24 10:51:43 2014
Install Date: (not installed) Build Host: pek-lpgtest4.wrs.com
Group : base Source RPM: m4-1.4.16-r4.0.src.rpm
Size : 219440 License: GPLv3
Signature : (none)
Packager : Wind River <info@windriver.com>
URL : unknown
Summary : Traditional Unix macro processor
Architecture: x86_64
Description :
GNU m4 is an implementation of the traditional Unix macro processor. It is
mostly SVR4 compatible although it has some extensions (for example,
handling more than 9 positional parameters to macros). GNU M4 also has
built-in functions for including files, running shell commands, doing
arithmetic, etc.
root@qemu1:~# rpm -v --addsign m4-1.4.16-r4.0.x86_64.rpm
Enter pass phrase:
error: Could not exec gpg: No such file or directory
Pass phrase check failed
Pass phrase check failed
Misc Info
======================
N/A
1) wrlinux/configure --enable-board=intel-x86-64 --enable-kernel=standard --enable-rootfs=glibc_std --enable-parallel-pkgbuilds=4 --enable-jobs=4
2) copy a random rpm to target fs, say test.rpm
3) rpm -qpi test.rpm
rpm --delsign test.rpm
rpm -v --addsign test.rpm