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 Allan McRae (Allan) - Tuesday, 27 December 2022, 02:18 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

$(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

Closed by  Allan McRae (Allan)
Tuesday, 27 December 2022, 02:18 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#66472 

Loading...