On 6/2/21 7:55 PM, stratus--- via pacman-dev wrote:
# pacman --arch=i686 -Syu This is clearly not a sensible command, but trying it just to see what happened when using the --arch option out resulted in database corruption, then it was impossible to upgrade and pacman would not function: error: GPGME error: No data error: failed to synchronize all databases (unexpected error) until I did: # rm /var/lib/pacman/sync/* # pacman-key --init # pacman-key --populate archlinux artix> # pacman -Syy I tried it again and it did the same thing, and thought you might be interested.
This works fine for me, I got lots of 404 errors for the resulting *.db downloads and nothing else occurred. Some people reported on some mirrors that 404 pages were getting erroneously saved to .part files before going to the next mirror. But I would not expect this to affect databases since we don't try to resume downloading a database... I'm not sure how else you could get junk info in the database files. Your report is missing necessary debug information: what are the contents of an example .db and .db.sig which report this error? Also: what's the entire error, rather than 2 snipped out lines? -- Eli Schwartz Bug Wrangler and Trusted User