Merge pull request #45771 from ClickHouse/troubleshoot-rpm

Add troubleshooting for wrong RPM repos signature
This commit is contained in:
Dan Roscigno 2023-01-30 07:28:46 -05:00 committed by GitHub
commit f91f2a3e24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,6 +56,19 @@ sudo apt-get clean
sudo apt-get autoclean sudo apt-get autoclean
``` ```
### You Can't Get Packages With Yum Because Of Wrong Signature
Possible issue: the cache is wrong, maybe it's broken after updated GPG key in 2022-09.
The solution is to clean out the cache and lib directory for yum:
```
sudo find /var/lib/yum/repos/ /var/cache/yum/ -name 'clickhouse-*' -type d -exec rm -rf {} +
sudo rm -f /etc/yum.repos.d/clickhouse.repo
```
After that follow the [install guide](../getting-started/install.md#from-rpm-packages)
## Connecting to the Server {#troubleshooting-accepts-no-connections} ## Connecting to the Server {#troubleshooting-accepts-no-connections}
Possible issues: Possible issues: