Bug #3408

Software Center fails to install packages from NethForge

Added by Davide Principi about 5 years ago. Updated about 5 years ago.

Status:CLOSEDStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-base
Target version:v6.8
Security class: Resolution:
Affected version:v6.8-final NEEDINFO:No

Description

On NethServer 6.8, freshly installed from ISO Final RPM, packages from NethForge cannot be installed.

The Software Center page shows the well-known message+button:

Resolving RPM dependencies
The install/update may have failed due to metadata caching issues. Please clean the cache by clicking the button below and retry the install/update operation.
[CLEAR YUM CACHE]

By running YUM from the shell the user is prompted in the following way:

warning: rpmts_HdrFromFdno: Header V4 RSA/SHA1 Signature, key ID 2bdaabff: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-NETHFORGE-6
Importing GPG key 0x2BDAABFF:
Userid : NethForge
Package: nethserver-nethforge-release-6.6-3.ns6.noarch (@extras)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-NETHFORGE-6
Is this ok [y/N]: ^C

Thanks to @jgjimenezs for pointing it out!

Associated revisions

Revision cc981e5f
Added by Davide Principi about 5 years ago

pkgaction: enable YUM assumeyes option. Refs #3408

Should fix the GPG key import prompt problem.

History

#1 Updated by Davide Principi about 5 years ago

  • Category set to nethserver-base
  • Status changed from TRIAGED to ON_DEV
  • Assignee set to Davide Principi
  • % Done changed from 20 to 30

I'd fix the Software Center to automatically import the available GPG keys. The underlying implementation is based on assumeyes YUM option.

#2 Updated by Davide Principi about 5 years ago

  • Status changed from ON_DEV to MODIFIED
  • Assignee deleted (Davide Principi)
  • % Done changed from 30 to 60

MODIFIED

#3 Updated by Davide Principi about 5 years ago

  • Status changed from MODIFIED to ON_QA
  • % Done changed from 60 to 70

In nethserver-testing:
nethserver-base-2.11.0-1.1.gcc981e5.ns6.noarch.rpm

#4 Updated by Giacomo Sanchietti about 5 years ago

  • Assignee set to Giacomo Sanchietti

#5 Updated by Giacomo Sanchietti about 5 years ago

  • Status changed from ON_QA to VERIFIED
  • Assignee deleted (Giacomo Sanchietti)
  • % Done changed from 70 to 90

Before upgrade, gpg installed keys are:

gpg-pubkey-f25b5f70-4e3025c9
gpg-pubkey-c105b9de-4e0fd3a3

After upgrade, gpg installed keys are:

gpg-pubkey-c105b9de-4e0fd3a3
gpg-pubkey-f25b5f70-4e3025c9
gpg-pubkey-2bdaabff-538ef408

[root@test ~]# rpm -qi gpg-pubkey-2bdaabff-538ef408
Name        : gpg-pubkey                   Relocations: (not relocatable)
Version     : 2bdaabff                          Vendor: (none)
Release     : 538ef408                      Build Date: Mon 06 Jun 2016 10:52:16 AM CEST
Install Date: Mon 06 Jun 2016 10:52:16 AM CEST      Build Host: localhost
Group       : Public Keys                   Source RPM: (none)
Size        : 0                                License: pubkey
Signature   : (none)
Summary     : gpg(NethForge <nethserver@googlegroups.com>)
Description :

#6 Updated by Davide Principi about 5 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100

In nethserver-updates:
nethserver-base-2.11.1-1.ns6.noarch.rpm

Also available in: Atom PDF