You are not logged in.

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

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

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: 8,404
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 X299 TOMAHAWK ARCTIC // Processor: Intel Core i7-7820X 3.6GHz // GFX: nVidia GeForce GTX 970 // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 5x 1TB HDD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

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

Scimmia
Bug Wrangler
Registered: 2012-09-01
Posts: 7,085

Re: where are .sig files stored [Solved]

They are stored in the database itself.

Offline

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

eschwartz
Trusted User/Bug Wrangler
Registered: 2014-08-08
Posts: 2,533

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: 18

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