After installing the latest Manjaro I tried to update the system. The system fails to update with OpenSSL error.
sudo pacman -Syyu
:: Synchronizing package databases...
core 166,6 KiB 793 KiB/s 00:00 [####################################] 100%
extra 1860,5 KiB 4,82 MiB/s 00:00 [####################################] 100%
community 7,0 MiB 7,31 MiB/s 00:01 [####################################] 100%
multilib 174,5 KiB 456 KiB/s 00:00 [####################################] 100%
error: failed retrieving file 'extra.db' from mirrors.manjaro.org : OpenSSL SSL_read: error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac, errno 0
error: failed retrieving file 'community.db' from mirrors.manjaro.org : OpenSSL SSL_read: error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac, errno 0
error: failed retrieving file 'community.db' from manjaro.astra.in.ua : OpenSSL SSL_read: error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac, errno 0
error: failed retrieving file 'community.db' from manjaro.moson.eu : OpenSSL SSL_read: error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac, errno 0
error: failed retrieving file 'community.db' from mirrors.netix.net : OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 0
:: Starting full system upgrade...
error: could not parse package description file 'python-sword-1.9.0-5/desc' from db 'community'
error: could not read db 'community' (Damaged tar archive)
error: could not parse package description file 'python-sword-1.9.0-5/desc' from db 'community'
error: could not read db 'community' (Damaged tar archive)
Could you please suggest how I can resolve the issue?
If it were me, I’d follow the advice in this topic. You could start out with a pacman-mirrors (see doc) and rerun pacman. If you still get the errors about the community.db follow the topic.
:: Synchronizing package databases...
core 166,6 KiB 463 KiB/s 00:00 [####################################] 100%
extra 1860,5 KiB 1457 KiB/s 00:01 [####################################] 100%
community 7,0 MiB 3,33 MiB/s 00:02 [####################################] 100%
multilib 174,5 KiB 451 KiB/s 00:00 [####################################] 100%
error: failed retrieving file 'extra.db' from mirrors.netix.net : OpenSSL SSL_read: error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac, errno 0
error: failed retrieving file 'community.db' from mirrors.netix.net : OpenSSL SSL_read: error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac, errno 0
:: Starting full system upgrade...
error: could not read db 'community' (Damaged tar archive)
error: could not read db 'community' (Damaged tar archive)
error: could not read db 'community' (Damaged tar archive)
error: could not read db 'community' (Damaged tar archive)
...
$ file /var/lib/pacman/sync/*.db
/var/lib/pacman/sync/community.db: gzip compressed data, last modified: Sun Jun 12 14:37:47 2022, from Unix, original size modulo 2^32 44226048
/var/lib/pacman/sync/core.db: gzip compressed data, last modified: Fri Jun 10 14:35:18 2022, from Unix, original size modulo 2^32 1172992
/var/lib/pacman/sync/extra.db: gzip compressed data, last modified: Sun Jun 12 13:18:42 2022, from Unix, original size modulo 2^32 14167040
/var/lib/pacman/sync/multilib.db: gzip compressed data, last modified: Fri Jun 10 17:31:38 2022, from Unix, original size modulo 2^32 1252864