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

apt-key deprecated #41

Closed
KSzyDev opened this issue Feb 5, 2022 · 8 comments
Closed

apt-key deprecated #41

KSzyDev opened this issue Feb 5, 2022 · 8 comments
Assignees
Labels
bug Something isn't working cockpit Cockpit service issues

Comments

@KSzyDev
Copy link

KSzyDev commented Feb 5, 2022

retronas_error

Just tried to setup Cockpit through RetroNAS and ran into this error. I followed all the steps within the install guide multiple times, everything before that runs fine, but when it come to the key signing phase, I always get this error.

Is there something I can be doing wrong?

Thanks

@KSzyDev KSzyDev changed the title apt-key depeceated apt-key depreceated Feb 5, 2022
@KSzyDev KSzyDev changed the title apt-key depreceated apt-key deprecated Feb 5, 2022
@danmons
Copy link
Collaborator

danmons commented Feb 5, 2022

The deprecation warning is fine (I'll need to update this at some point, but that's not the error right now). The error there is your system can't talk to the key server to download the key in question (needed to verify and install the package).

I'll do some more testing on a fresh install and see if I can replicate it. In the meantime, please re-test in case it was an upstream outage with the keyserver.

@danmons
Copy link
Collaborator

danmons commented Feb 5, 2022

Tested now from a clean Debian 11 VM and the cockpit install worked.

Can you test that you can reach the keyserver in a web browser?:
https://keyserver.ubuntu.com/

@KSzyDev
Copy link
Author

KSzyDev commented Feb 5, 2022

I was able to view the keyserver in my web browser

@KSzyDev
Copy link
Author

KSzyDev commented Feb 5, 2022

I am going to try another fresh install of RaspOS Lite 64bit now and see if there is a change.

@KSzyDev
Copy link
Author

KSzyDev commented Feb 5, 2022

Still having the same issue with the keyserver, I even went as far as rebooting my router and modem to see if it would resolve, but nothing seemed to work for this error.

Thanks for your time.

@KSzyDev
Copy link
Author

KSzyDev commented Feb 5, 2022

Was able to figure out what went wrong. My /etc/resolv.conf had some different setting for the DNS than what my network uses. I changed them to CloudFlare DNS and was able to finally get cockpit installed.

@danmons
Copy link
Collaborator

danmons commented Feb 5, 2022

The key servers listen in non-http(s) ports which sometimes seem to cause problems for people behind strict firewalls. I'll migrate the key fetch to a standard file downloader, and then switch to the more modern way of handling APT keys.

@danmons
Copy link
Collaborator

danmons commented Feb 18, 2022

This should be sorted now. Key server method has been replaced by a deb package with the keys being installed locally, should prevent these warnings/failures.

If the issue persists, please open a new issue.

@danmons danmons closed this as completed Feb 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cockpit Cockpit service issues
Projects
None yet
Development

No branches or pull requests

3 participants