Error installing packages with pacman: issues retrieving snapd database and mirror configuration
0
votes
0
answers
253
views
Whenever I try to download anything, for instance,
yay -S visual-studio-code-bin
, it returns the following error
warning: database file for 'snapd' does not exist (use '-Sy' to download)
error: failed to prepare transaction (could not find database)
-> Failed to install layer, rolling up to next layer.error:error installing repo packages
warning: database file for 'snapd' does not exist (use '-Sy' to download)
error: failed to prepare transaction (could not find database)
-> error installing repo packages
error installing repo packages"
Then I try to install snapd
:
$ sudo pacman -Sy
:: Synchronizing package databases...
core 116.7 KiB 120 KiB/s 00:01 [###########################################################################] 100%
extra 7.5 MiB 1353 KiB/s 00:06 [###########################################################################] 100%
snapd.db failed to download
error: failed retrieving file 'snapd.db' from dl-cdn.alpin : Could not resolve host: dl-cdn.alpin
warning: fatal error from dl-cdn.alpin, skipping for the remainder of this transaction
error: failed to synchronize all databases (failed to retrieve some files)
The issue seems to be with dl-cdn.alpin
, and chatgpt suggests a network issue, which isn't the problem, neither is DNS or any sort of firewall. It also suggests a change in mirror, but I don't really know how to do that.
What am I doing wrong? Last time I posted this problem I articulated it poorly and didn't give enough information, I apologize for that. If there are any other clarifications I will try to answer asap.
Asked by Blakely Schreiber
(1 rep)
Oct 24, 2024, 06:17 AM
Last activity: Oct 24, 2024, 06:26 AM
Last activity: Oct 24, 2024, 06:26 AM