New Debian Repository - importing GnuPG key [SOLVED]
-
Hello, I have troubles following the wiki page Using APT Repository.
Here are the steps I took so far:
* updated /etc/apt/sources.list file with actual repository address
deb http://packages.netxms.org/debian/ wheezy main* initialized GnuPG (if I didnt do this - key would not install and apt-get update would throw key errors)
gpg --list-keys
gpg: directory `/root/.gnupg' created
gpg: new configuration file `/root/.gnupg/gpg.conf' created
gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run
gpg: keyring `/root/.gnupg/pubring.gpg' created
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg --list-keys - this time no response, suppose that means OK* download and install key
wget -q -O - http://packages.netxms.org/netxms.gpg | apt-key add -
even tried to just wget http://packages.netxms.org/netxms.gpg and apt-key add netxms.gpgThe problems are these:
-
gpg --list-keys still returns no information, I suppose it should say /root/.gnupg/netxms.gpg ?
-
apt-get update returns less key errors but also less informative...
Hit http://ftp.cz.debian.org wheezy Release.gpg
Hit http://ftp.cz.debian.org wheezy-updates Release.gpg
Hit http://ftp.cz.debian.org wheezy Release
Hit http://ftp.cz.debian.org wheezy-updates Release
Hit http://packages.netxms.org wheezy Release.gpg
Hit http://packages.netxms.org wheezy Release
Hit http://ftp.cz.debian.org wheezy/main Sources
Hit http://ftp.cz.debian.org wheezy/main amd64 Packages
Hit http://security.debian.org wheezy/updates Release.gpg
Hit http://ftp.cz.debian.org wheezy/main Translation-en
Hit http://ftp.cz.debian.org wheezy-updates/main Sources
Hit http://ftp.cz.debian.org wheezy-updates/main amd64 Packages/DiffIndex
Hit http://ftp.cz.debian.org wheezy-updates/main Translation-en/DiffIndex
Hit http://security.debian.org wheezy/updates Release
Hit http://packages.netxms.org wheezy/main amd64 Packages
Hit http://security.debian.org wheezy/updates/main Sources
Hit http://security.debian.org wheezy/updates/main amd64 Packages
Hit http://security.debian.org wheezy/updates/main Translation-en
Ign http://packages.netxms.org wheezy/main Translation-en_US
Ign http://packages.netxms.org wheezy/main Translation-en
Reading package lists... Done
W: There is no public key available for the following key IDs:
7638D0442B90D010
W: There is no public key available for the following key IDs:
7638D0442B90D010
W: There is no public key available for the following key IDs:
9D6D8F6BC857C906
Not really sure if this is connected with netxms.gpg key at all.
-
how do I check if the key is installed correctly ?
-
is apt-get install netxms=1.2.17 the correct command to update to 1.2.17 version or should I instruct to update all the packages specifically (netxms-agent netxms-server netxms-server-mysql netxms-base) ?
Not sure if there are versions for all packages or not. Our current version is 1.2.16.
With regards
Milan Sperl
-
-
Hello.
APT use it's own keyring in /etc/apt/trusted.gpg and /etc/apt/trusted.gpg.d/*.gpg
You can check that:gpg --no-default-keyring --keyring /etc/apt/trusted.gpg --list-keysKeys 7638D0442B90D010 and 9D6D8F6BC857C906 are Debian release keys, you need to install them:
apt-get install debian-keyring debian-archive-keyringwheezy/main contains only stable version (1.2.17 at the moment), so unless you change source to "wheezy/beta", you don't need to explicitly specify version.
-
-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login