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#69060 - [pacman] 5.2.2-1: $(pacman -Sc) deletes *.files.sig from /var/lib/pacman/sync

Attached to Project: Pacman
Opened by Pascal Ernster (hardfalcon) - Monday, 21 December 2020, 20:18 GMT
Last edited by Doug Newgard (Scimmia) - Tuesday, 22 December 2020, 02:50 GMT
Task Type Bug Report
Category Packages: Core
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 0
Private No


$(pacman -Sc) deletes the *.files.sig files from /var/lib/pacman/sync.

Steps to reproduce:

1) Create a custom repo with signed database files and configure that repo with the line

SigLevel = Required DatabaseRequired

in /etc/pacman.conf.

2) run "pacman -Fy"

3) run "pacman -Sc --noconfirm"

4) run "pacman -Fy"

pacman show the following error message:
error: ${YourCustomRepoName}: missing required signature

and redownload both the files list and the corresponding signature again for your custom repo.

I have attached a patch that fixes the issue.
This task depends upon