PDA

View Full Version : Creating a channel from a public repo with a GPG key



achinayoung_waubonsee
19-Sep-2017, 16:36
We created a channel to download the latest PHP 5.6 packages for SLES12-SP2 from https://download.opensuse.org/repositories/devel:/languages:/php/SLE_12_SP2. The GPG key for this repo is https://download.opensuse.org/repositories/devel:/languages:/php/SLE_12_SP2/repodata/repomd.xml.key, as specified in https://download.opensuse.org/repositories/devel:/languages:/php/SLE_12_SP2/devel:languages:php.repo. We specified this when we created the channel:
269

However, when I try to install packages from this channel, I get the following:

# zypper in php5
...
Retrieving: php5-5.6.31-374.1.x86_64.rpm .................................[done]
php5-5.6.31-374.1.x86_64.rpm:
Header V3 DSA/SHA1 Signature, key ID cbca8bb5: NOKEY
V3 DSA/SHA1 Signature, key ID cbca8bb5: NOKEY

php5-5.6.31-374.1.x86_64 (OPENSUSE-PHP5-12-SP2-Pool for x86_64 - wcc.edu Web Servers): Signature verification failed [4-Signatures public key is not available]
Abort, retry, ignore? [a/r/i] (a):

Am I missing something in the channel config so the GPG key is automatically downloaded for this channel? We are running SUMA 3.1.1.

malcolmlewis
19-Sep-2017, 18:13
We created a channel to download the latest PHP 5.6 packages for SLES12-SP2 from https://download.opensuse.org/repositories/devel:/languages:/php/SLE_12_SP2. The GPG key for this repo is https://download.opensuse.org/repositories/devel:/languages:/php/SLE_12_SP2/repodata/repomd.xml.key, as specified in https://download.opensuse.org/repositories/devel:/languages:/php/SLE_12_SP2/devel:languages:php.repo. We specified this when we created the channel:
269

However, when I try to install packages from this channel, I get the following:

# zypper in php5
...
Retrieving: php5-5.6.31-374.1.x86_64.rpm .................................[done]
php5-5.6.31-374.1.x86_64.rpm:
Header V3 DSA/SHA1 Signature, key ID cbca8bb5: NOKEY
V3 DSA/SHA1 Signature, key ID cbca8bb5: NOKEY

php5-5.6.31-374.1.x86_64 (OPENSUSE-PHP5-12-SP2-Pool for x86_64 - wcc.edu Web Servers): Signature verification failed [4-Signatures public key is not available]
Abort, retry, ignore? [a/r/i] (a):

Am I missing something in the channel config so the GPG key is automatically downloaded for this channel? We are running SUMA 3.1.1.
Hi
On the SuMA server do a manual sync, it might ask to trust the key....


spacewalk-repo-sync --channel <your_custom_channel_label>

achinayoung_waubonsee
19-Sep-2017, 18:59
Hi
On the SuMA server do a manual sync, it might ask to trust the key....


spacewalk-repo-sync --channel <your_custom_channel_label>


Thanks. Nothing in the output about trusting the key:

# spacewalk-repo-sync --channel www-opensuse-php5-12-sp2-pool-x86_64
12:54:35 ======================================
12:54:35 | Channel: www-opensuse-php5-12-sp2-pool-x86_64
12:54:35 ======================================
12:54:35 Sync of channel started.
12:54:37 Repo URL: https://download.opensuse.org/repositories/devel:/languages:/php/SLE_12_SP2
12:54:37 Packages in repo: 125
12:54:37 Packages passed filter rules: 63
12:54:37 No new packages to sync.
12:54:37 Repo https://download.opensuse.org/repositories/devel:/languages:/php/SLE_12_SP2 has 0 patches.
12:54:37 Sync completed.
12:54:37 Total time: 0:00:02