You are not logged in.

#1 2018-11-22 12:38:51

MS1
Member
Registered: 2018-02-02
Posts: 84

where are .sig files stored [Solved]

My /var/cache/pacman/pkg used to contain .sig files I thought, but now it just has .pkg.tar.xz files.  Where does pacman store the .sig files for each package it gets from the repo?

Last edited by MS1 (2018-12-02 12:06:59)

Offline

#2 2018-11-22 14:21:11

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,783
Website

Re: where are .sig files stored [Solved]

I don't think the sig files are stored locally. Looking at the code (note: I am not a C programmer, so my interpretation may not be correct), I think they are downloaded to memory during the transaction, then removed afterwards. I think this has always been the case, as my cache dir (which I have used since 2011, and never cleaned) only has four .sig files (out of 26212 files), and I'm pretty sure these were special cases (where I downloaded the sig files manually or something).


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2018-11-22 14:44:51

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,461

Re: where are .sig files stored [Solved]

They are stored in the database itself.

Offline

#4 2018-11-25 02:15:15

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: where are .sig files stored [Solved]

Signatures can exist on disk, if you created them yourself and signed the package as well. Or if you use pacman -U http://example.com/foo-1-1-any.pkg.tar.xz then pacman will first download the package to the cache, then download the signature to the cache, then check both and maybe install the package.

It's purely in the case of pacman -S where pacman will extract the sigfile directly from the database.


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#5 2018-12-02 12:06:42

MS1
Member
Registered: 2018-02-02
Posts: 84

Re: where are .sig files stored [Solved]

Scimmia wrote:

They are stored in the database itself.

Thank you for the replies/marked.

Offline

Board footer

Powered by FluxBB