Quantcast
Viewing all articles
Browse latest Browse all 2849

Testing And Unstable • Re: [SID - Unstable] apt getting an errsig with the microsoft repo

$ read -d '' -ra KRS < <(printf -- '--keyring %s\n' /usr/share/keyrings/*.gpg /etc/apt/trusted.gpg.d/*.gpg | grep -v -- "-removed-keys")

no output
This command populates the KRS array. To see its content:

Code:

$> declare -p KRS
not sure how i have lost /var/lib/apt/lists/packages.microsoft.com_repos_edge_dists_stable_InRelease
We can use /var/tmp/schow-pkg-1000milomak1000/20240615-160000-000000000/ (I don't know the actual directory name yet, please replace it with the actual name)

Code:

$> gpg --no-default-keyring --keyring /etc/apt/trusted.gpg.d/microsoft-edge.gpg --verify /var/tmp/schow-pkg-1000milomak1000/20240615-160000-000000000/lib/apt/lists/packages.microsoft.com_repos_edge_dists_stable_InRelease

Code:

$> read -d '' -ra KRS < <(printf -- '--keyring %s\n' /usr/share/keyrings/*.gpg /etc/apt/trusted.gpg.d/*.gpg | grep -v -- "-removed-keys")$> gpg --no-default-keyring "${KRS[@]}" --verify /var/tmp/schow-pkg-1000milomak1000/20240615-160000-000000000/lib/apt/lists/packages.microsoft.com_repos_edge_dists_stable_InRelease
If there is no error, please try

Code:

$> read -d '' -ra KRS < <(printf -- '--keyring %s\n' /var/tmp/schow-pkg-1000milomak1000/.trusted.gpg.d/*.gpg  /var/tmp/schow-pkg-1000milomak1000/.trusted.gpg.d/.dearmored.asc.d/*.gpg)$> gpg --no-default-keyring "${KRS[@]}" --verify /var/tmp/schow-pkg-1000milomak1000/20240615-160000-000000000/lib/apt/lists/packages.microsoft.com_repos_edge_dists_stable_InRelease
(this adds the asc keys in /etc/apt/trusted.gpg.d/, converted to gpg in .trusted.gpg.d/.dearmored.asc.d/)

Statistics: Posted by fabien — 2024-06-22 09:15



Viewing all articles
Browse latest Browse all 2849

Trending Articles