I think you need to add a SigLevel to your pacman.conf, for example:

[custom]
Server = file:///home/vincent.torri/custompkg
SigLevel = Never


On Sat, May 1, 2021 at 11:25 PM Vincent Torri <vincent.to...@gmail.com> wrote:
>
> Hello,
>
> I have an error when trying to create a custom repository for my
> packages. Here are the steps :
>
> 1) I have created a package with makepkg-mingw :
> mingw-w64-x86_64-efl-regex-1.2.2-1-any.pkg.tar.zst
>
> 2) i have created the directory $HOME/custompkg
>
> 3) i have copied mingw-w64-x86_64-efl-regex-1.2.2-1-any.pkg.tar.zst in
> $HOME/custompkg
>
> 4) in /etc/pacman.conf, I have added at the end :
>
> [custom]
> Server = file:///home/vincent.torri/custompkg
>
> 5) I have added the package to the local  repo :
>
> repo-add custompkg/custom.db.tar.zst
> custompkg/mingw-w64-x86_64-efl-regex-1.2.2-1-any.pkg.tar.zst
>
> 6) then I try to install my package :
>
> pacman -S efl-regex
>
> The I have this error :
> error: custom: missing required signature
> error: database 'custom' is not valid (invalid or corrupted database
> (PGP signature))
>
> Does someone know  what I have missed ? Are all my steps above correct ?
>
> thank you
>
> Vincent Torri
>
>
> _______________________________________________
> Msys2-users mailing list
> Msys2-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/msys2-users


_______________________________________________
Msys2-users mailing list
Msys2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/msys2-users

Reply via email to