mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2026-01-11 21:10:25 +01:00
[Pacman] error: libinih: signature from "Maxime Gauduin <alucryd@gmail.com>" is marginal trust #355
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sahruldotid on GitHub (May 1, 2022).
System Info
Linux Lenovo-Legion-5 5.15.0-27-generic #28-Ubuntu SMP Thu Apr 14 04:55:28 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
:0
[sudo] password for syahrul:
1
PRETTY_NAME="Ubuntu 22.04 LTS"
NAME="Ubuntu"
VERSION_CODENAME=jammy
UBUNTU_CODENAME=jammy
Filesystem Size Used Avail Use% Mounted on
/dev/nvme0n1p2 469G 26G 419G 6% /
QEMU emulator version 6.2.0 (Debian 1:6.2+dfsg-2ubuntu6)
Copyright (c) 2003-2021 Fabrice Bellard and the QEMU Project developers
libvirtd (libvirt) 8.0.0
total used free shared buff/cache available
Mem: 14Gi 2,9Gi 6,3Gi 151Mi 5,8Gi 11Gi
Swap: 2,0Gi 0B 2,0Gi
16
16
crw-rw----+ 1 root kvm 10, 232 Mei 1 09:14 /dev/kvm
total 8,0K
drwxrwxrwt 2 root root 4,0K Mei 1 09:14 .
drwxrwxrwt 24 root root 4,0K Mei 1 10:32 ..
srwxrwxrwx 1 syahrul syahrul 0 Mei 1 09:14 X0
root 2713 0.9 0.5 2491876 83184 ? Ssl 09:14 0:44 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
syahrul 17843 0.0 0.0 17872 2336 pts/1 S+ 10:32 0:00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn --exclude-dir=.idea --exclude-dir=.tox dockerd
kvm:x:109:
docker:x:999:syahrul
libvirt:x:140:syahrul
libvirt-qemu:x:64055:libvirt-qemu
libvirt-dnsmasq:x:141:
Command :
➜ Docker-OSX git:(master) ✗ docker build -t docker-osx --build-arg SHORTNAME=big-sur .
Issue
:: File /var/cache/pacman/pkg/libinih-55-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] error: libinih: signature from "Maxime Gauduin alucryd@gmail.com" is marginal trust
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.
The command '/bin/bash -c if ; then sudo pacman -Syu linux libguestfs --noconfirm ; fi' returned a non-zero code: 1
Tried Solution
Some online resources says that i need to update my archlinux-kerying package first. So i decided to edit Dockerfile so that it can install kerying. Here's the script
Result [FAILED]
Edit [Solved]
By disabling checking signature in pacman conf, we can install package without any error