On 12/12/23 21:11, andy pugh wrote:
On Tue, 12 Dec 2023 at 14:50, gene heskett <ghesk...@shentel.net> wrote:

I also did not want 2.9-rt, I wanted master.

Try just running the first 7 lines of the script.
(I had forgotten that it also tries to install linuxcnc too)

That seems to get the key, but possibly errs in where it is put?
--------------
cnc@rpi4:~/Downloads$ sudo ./linuxcnc-install.sh
Getting archive signing key
gpg: keybox '/tmp/.gnupgKSbozD/pubring.kbx' created
gpg: /tmp/.gnupgKSbozD/trustdb.gpg: trustdb created
gpg: key 3CB9FD148F374FEF: public key "EMC Archive Signing Key <emc-bo...@linuxcnc.org>" imported
gpg: Total number processed: 1
gpg:               imported: 1
deleting temp files

cnc@rpi4:~/Downloads$ sudo apt update
Hit:1 http://deb.debian.org/debian bookworm InRelease
Get:2 http://deb.debian.org/debian bookworm-updates InRelease [52.1 kB]
Get:3 http://deb.debian.org/debian bookworm-proposed-updates InRelease [59.5 kB] Get:4 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB] Get:5 http://deb.debian.org/debian bookworm-backports InRelease [56.5 kB] Get:6 http://linuxcnc.org bookworm InRelease [31.1 kB]
Get:7 https://www.linuxcnc.org bookworm InRelease [31.1 kB]
Get:8 http://deb.debian.org/debian bookworm-proposed-updates/main arm64 Packages.diff/Index [63.3 kB] Ign:8 http://deb.debian.org/debian bookworm-proposed-updates/main arm64 Packages.diff/Index Get:9 http://deb.debian.org/debian bookworm-proposed-updates/main Translation-en.diff/Index [63.3 kB] Ign:9 http://deb.debian.org/debian bookworm-proposed-updates/main Translation-en.diff/Index Get:10 http://deb.debian.org/debian bookworm-proposed-updates/main arm64 Packages [33.6 kB] Get:11 http://deb.debian.org/debian bookworm-proposed-updates/main Translation-en [21.4 kB]
Err:6 http://linuxcnc.org bookworm InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3CB9FD148F374FEF
Get:12 https://www.linuxcnc.org bookworm/2.9-rt amd64 Packages [4074 B]
Reading package lists... Done
W: GPG error: http://linuxcnc.org bookworm InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3CB9FD148F374FEF
E: The repository 'http://linuxcnc.org bookworm InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. W: Skipping acquire of configured file '2.9-rt/source/Sources' as repository 'https://w
---------------
the key its looking for is fetched, but apparently not added
the /etc/apt/keyrings subdir is empty, and the
./trusted.gpg.d:
total 84
-rw-r--r-- 1 root root 11861 Mar 28 2023 debian-archive-bookworm-automatic.asc -rw-r--r-- 1 root root 11873 Mar 28 2023 debian-archive-bookworm-security-automatic.asc
-rw-r--r-- 1 root root   461 Mar 28  2023 debian-archive-bookworm-stable.asc
-rw-r--r-- 1 root root 11861 Mar 28 2023 debian-archive-bullseye-automatic.asc -rw-r--r-- 1 root root 11873 Mar 28 2023 debian-archive-bullseye-security-automatic.asc
-rw-r--r-- 1 root root  3403 Mar 28  2023 debian-archive-bullseye-stable.asc
-rw-r--r-- 1 root root 11093 Mar 28 2023 debian-archive-buster-automatic.asc -rw-r--r-- 1 root root 11105 Mar 28 2023 debian-archive-buster-security-automatic.asc
-rw-r--r-- 1 root root  1704 Mar 28  2023 debian-archive-buster-stable.asc
is all debian.

I've run it twice, and have 2 .gnuhashnum dirs left it /tmp.

However the man page for apt-key says:
Use of apt-key is deprecated, except for the use of apt-key del in maintainer scripts to remove existing keys from the main keyring. If such usage of apt-key is desired the additional installation of the
       GNU Privacy Guard suite (packaged in gnupg) is required.

       apt-key(8) will last be available in Debian 11 and Ubuntu 22.04.
So I tried to install gnupg but:
root@rpi4:~# apt install gnupg
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
gnupg is already the newest version (2.2.40-1.1).
gnupg set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

And that seems to place the blame on the script.  But what do I know?
Thanks Andy.
Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis



_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to