Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About apt-key related issues in Tencent Cloud server debian 12 system #2217

Open
Xiwin opened this issue Feb 4, 2024 · 0 comments
Open

About apt-key related issues in Tencent Cloud server debian 12 system #2217

Xiwin opened this issue Feb 4, 2024 · 0 comments

Comments

@Xiwin
Copy link

Xiwin commented Feb 4, 2024

uname -a

Linux VM-0-9-debian 6.1.0-13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.55-1 (2023-09-29) x86_64 GNU/Linux

apt version is 2.6.1

In the RPM/DEB script install code line 251::

$SUDO apt-key add /tmp/zt-gpg-key

A GPG is added here using apt-key, but the following prompts appear in a subsequent installation:

The key(s) in the keyring /etc/apt/trusted.gpg.d/zerotier-debian-package-key.gpg are ignored as the file is not readable by user '_apt' executing apt-key.

After being diagnosed,/etc/apt/trusts.gpg.d/zerotier-debian-package-key.gpg certificate authority error,

-rw-r----- 1 root root  2254 Feb  4 12:45 zerotier-debian-package-key.gpg

The following are the fixed permissions

-rw-r--r-- 1 root root  2254 Feb  4 12:47 zerotier-debian-package-key.gpg

I don't know why, but it was easy, you know

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant