Welcome to the Pacman bug tracker. Please search the current bugs and feature requests before filing a new one! Use advanced search and select "Search in Comments".

* Please select the correct category and version.
* Write a descriptive summary, background info, and provide a reproducible test case whenever possible.

FS#72451 - pacman feature request, automatically delete *.db and its *.sig, when they are corrupted

Attached to Project: Pacman
Opened by Evan Greenup (evgrup) - Sunday, 17 October 2021, 07:12 GMT
Last edited by Andreas Radke (AndyRTR) - Monday, 18 October 2021, 19:19 GMT
Task Type Feature Request
Category Packages
Status Unconfirmed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 1
Private No



Sometimes due to network connection or other issues, the mirror database and its signatures may get corrupted.

It would be nice for `pacman` to automatically remove corrupted database and signatures and download new, when user input `pacman -Syu`.

Otherwise, user have to manually type `rm -R /var/lib/pacman/sync`.

It is a lot inconvenient for user.

Additional info:
* package version(s)
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:
This task depends upon