<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://dev1galaxy.org/extern.php?action=feed&amp;tid=5058&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / unknown error during apt-key execution]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=5058</link>
		<description><![CDATA[The most recent posts in unknown error during apt-key execution.]]></description>
		<lastBuildDate>Mon, 06 Jun 2022 20:20:23 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: unknown error during apt-key execution]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=36168#p36168</link>
			<description><![CDATA[<p>Hi again, i solved the problem: i&#039;ve installed pgpgpg and now apt accepts the devuan-archive keys.</p>]]></description>
			<author><![CDATA[dummy@example.com (Panda1100)]]></author>
			<pubDate>Mon, 06 Jun 2022 20:20:23 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=36168#p36168</guid>
		</item>
		<item>
			<title><![CDATA[Re: unknown error during apt-key execution]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=36134#p36134</link>
			<description><![CDATA[<div class="quotebox"><cite>AlexKemp wrote:</cite><blockquote><div><p>My problem is that, as best as I can tell, I should have the same problem as you (since I have NOT changed my GPG &amp; sources.list setup) but do not.</p></div></blockquote></div><p>Thanks to <em>xinomilo</em> giving the <a href="https://files.devuan.org/devuan_chimaera/Release_notes.txt" rel="nofollow">Chimaera Release Notes link</a> I now know why not:</p><ol class="decimal"><li><p>Starting from Devuan 2.0 ASCII, users should exclusively use <span class="bbc">deb.devuan.org</span> in their sources.list file</p></li><li><p>The package mirrors at <span class="bbc">deb.devuan.org</span> are signed with the following GPG key (UID: Amprolla3 on Nemesis; see below)</p></li><li><p>The key is included in the devuan-keyring package. In order to use <span class="bbc">deb.devuan.org</span>, you must have devuan-keyring_2017.10.03 or higher</p></li></ol><div class="codebox"><pre><code>$ apt-key list
(…)
/etc/apt/trusted.gpg.d/devuan-keyring-2017-archive.gpg
------------------------------------------------------
pub   rsa4096 2017-09-04 [SC] [expires: 2022-09-03]
      E032 601B 7CA1 0BC3 EA53  FA81 BB23 C00C 61FC 752C
uid           [ unknown] Devuan Repository (Amprolla3 on Nemesis) &lt;repository@devuan.org&gt;
sub   rsa4096 2017-09-04 [E] [expires: 2022-09-03]</code></pre></div><p>The simplest way to install that key is via <em>APT</em> (do understand that apt&#039;s current behaviour is unsafe &amp; deprecated, as set out in my earlier post):</p><p>As detailed in the <a href="https://beta.devuan.org/os/keyring.html" rel="nofollow">Devuan Keyring page</a>:</p><p>Installing:</p><div class="codebox"><pre><code># apt-get install devuan-keyring</code></pre></div><p>Listing installed files:</p><div class="codebox"><pre><code>$ dpkg -L devuan-keyring
/.
/etc
/etc/apt
/etc/apt/trusted.gpg.d
/etc/apt/trusted.gpg.d/devuan-keyring-2016-archive.gpg
/etc/apt/trusted.gpg.d/devuan-keyring-2016-cdimage.gpg
/etc/apt/trusted.gpg.d/devuan-keyring-2017-archive.gpg
/usr
/usr/share
/usr/share/doc
/usr/share/doc/devuan-keyring
/usr/share/doc/devuan-keyring/README.md.gz
/usr/share/doc/devuan-keyring/changelog.gz
/usr/share/doc/devuan-keyring/copyright
/usr/share/keyrings
/usr/share/keyrings/devuan-archive-keyring.gpg
/usr/share/keyrings/devuan-keyring.gpg</code></pre></div><p>And, to finally finish this rather long post, the (unsafe) large list of key-files stored within <em>trusted.gpg.d</em> looks like this:</p><div class="codebox"><pre><code>$ la /etc/apt/trusted.gpg.d
total 80
-rw-r--r-- 1 root root 8700 Mar 16  2021 debian-archive-bullseye-automatic.gpg
-rw-r--r-- 1 root root 8709 Mar 16  2021 debian-archive-bullseye-security-automatic.gpg
-rw-r--r-- 1 root root 2453 Mar 16  2021 debian-archive-bullseye-stable.gpg
-rw-r--r-- 1 root root 8132 Apr 23  2019 debian-archive-buster-automatic.gpg
-rw-r--r-- 1 root root 8141 Apr 23  2019 debian-archive-buster-security-automatic.gpg
-rw-r--r-- 1 root root 2332 Apr 23  2019 debian-archive-buster-stable.gpg
-rw-r--r-- 1 root root 7443 Apr 23  2019 debian-archive-stretch-automatic.gpg
-rw-r--r-- 1 root root 7452 Apr 23  2019 debian-archive-stretch-security-automatic.gpg
-rw-r--r-- 1 root root 2263 Apr 23  2019 debian-archive-stretch-stable.gpg
-rw-r--r-- 1 root root 3637 Oct  3  2017 devuan-keyring-2016-archive.gpg
-rw-r--r-- 1 root root 2233 Oct  3  2017 devuan-keyring-2016-cdimage.gpg
-rw-r--r-- 1 root root 3638 Oct  3  2017 devuan-keyring-2017-archive.gpg</code></pre></div><p>It is suggested that that listing is made atomic in the fashion suggested in the earlier post.</p>]]></description>
			<author><![CDATA[dummy@example.com (alexkemp)]]></author>
			<pubDate>Fri, 03 Jun 2022 13:37:15 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=36134#p36134</guid>
		</item>
		<item>
			<title><![CDATA[Re: unknown error during apt-key execution]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=36126#p36126</link>
			<description><![CDATA[<p>devuan keyrings should work by default in devuan installations .&#160; </p><p>ls -la /etc/apt/trusted.gpg.d ? </p><p>what&#039;s the devuan-keyring version? (apt policy devuan-keyring)<br />read the release notes : <a href="https://files.devuan.org/devuan_chimaera/Release_notes.txt" rel="nofollow">https://files.devuan.org/devuan_chimaer … _notes.txt</a></p><p>btw, could also be a mirror problem. maybe retry with it.deb.devuan.org or another specific mirror.</p>]]></description>
			<author><![CDATA[dummy@example.com (xinomilo)]]></author>
			<pubDate>Fri, 03 Jun 2022 11:39:52 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=36126#p36126</guid>
		</item>
		<item>
			<title><![CDATA[Re: unknown error during apt-key execution]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=36114#p36114</link>
			<description><![CDATA[<p>Hi <em>Panda</em>, welcome to Devuan.</p><p>This is my daily update script:</p><div class="codebox"><pre><code>$ cat ~/.update
sudo apt update &amp;&amp; sudo apt install -f &amp;&amp; sudo apt upgrade &amp;&amp; sudo /etc/cron.daily/mlocate</code></pre></div><p>The above gets used with zero errors.</p><p>My sources list:</p><div class="codebox"><pre><code>$ cat /etc/apt/sources.list
deb http://deb.devuan.org/merged chimaera main non-free contrib
deb http://deb.devuan.org/merged chimaera-security main non-free contrib
deb http://deb.devuan.org/merged chimaera-updates main non-free contrib
deb http://deb.devuan.org/devuan chimaera-proposed-updates main non-free contrib
deb http://deb.devuan.org/merged chimaera-backports main non-free contrib</code></pre></div><p>My preferences:</p><div class="codebox"><pre class="vscroll"><code>$ apt-cache policy
Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 https://josm.openstreetmap.de/apt alldist/universe amd64 Packages
     release n=alldist,c=universe,b=amd64
     origin josm.openstreetmap.de
 100 http://deb.devuan.org/merged chimaera-backports/contrib amd64 Packages
     release v=4.0,o=Devuan Backports,a=stable-backports,n=chimaera-backports,l=Devuan Backports,c=contrib,b=amd64
     origin deb.devuan.org
 100 http://deb.devuan.org/merged chimaera-backports/non-free amd64 Packages
     release v=4.0,o=Devuan Backports,a=stable-backports,n=chimaera-backports,l=Devuan Backports,c=non-free,b=amd64
     origin deb.devuan.org
 100 http://deb.devuan.org/merged chimaera-backports/main amd64 Packages
     release v=4.0,o=Devuan Backports,a=stable-backports,n=chimaera-backports,l=Devuan Backports,c=main,b=amd64
     origin deb.devuan.org
 500 http://deb.devuan.org/devuan chimaera-proposed-updates/main amd64 Packages
     release v=4.0.0,o=Devuan,a=chimaera-proposed-updates,n=chimaera-proposed-updates,l=Devuan,c=main,b=amd64
     origin deb.devuan.org
 500 http://deb.devuan.org/merged chimaera-updates/main amd64 Packages
     release v=4.0.0,o=Devuan,a=stable-updates,n=chimaera-updates,l=Devuan,c=main,b=amd64
     origin deb.devuan.org
 500 http://deb.devuan.org/merged chimaera-security/main amd64 Packages
     release v=4.0,o=Devuan,a=stable-security,n=chimaera-security,l=Devuan-Security,c=main,b=amd64
     origin deb.devuan.org
 500 http://deb.devuan.org/merged chimaera/contrib amd64 Packages
     release v=4.0,o=Devuan,a=stable,n=chimaera,l=Devuan,c=contrib,b=amd64
     origin deb.devuan.org
 500 http://deb.devuan.org/merged chimaera/non-free amd64 Packages
     release v=4.0,o=Devuan,a=stable,n=chimaera,l=Devuan,c=non-free,b=amd64
     origin deb.devuan.org
 500 http://deb.devuan.org/merged chimaera/main amd64 Packages
     release v=4.0,o=Devuan,a=stable,n=chimaera,l=Devuan,c=main,b=amd64
     origin deb.devuan.org
Pinned packages:</code></pre></div><p>Now, <span class="bbc">apt-key</span> is <em>deprecated</em>, and <a href="https://askubuntu.com/questions/1286545/what-commands-exactly-should-replace-the-deprecated-apt-key" rel="nofollow">this Ask Ubuntu question</a> makes an excellent job of both explaining why, and how to fix the problem.</p><p>In brief:<br />apt-key suggests that using /etc/apt/trusted.gpg is deprecated: <em>&quot;apt-key is deprecated. Manage keyring files in trusted.gpg.d instead&quot;</em>. That does not fix the basic problem, which is that (as currently setup) apt will trust ALL keys found in that directory. Better to:-</p><ol class="decimal"><li><p>Create your own directory (eg /usr/local/share/keyrings/)</p></li><li><p>Move all GPG keys into that directory</p></li><li><p>Reference each specific key within the relevant /etc/apt/sources.list line.</p></li></ol><p>My problem is that, as best as I can tell, I should have the same problem as you (since I have NOT changed my GPG &amp; sources.list setup) but do not. Probably my preferences setup is saving me from the messages that you are receiving. However, I have zero idea as to where my Chimaera key-file is stored (only a large list of older keys)!</p>]]></description>
			<author><![CDATA[dummy@example.com (alexkemp)]]></author>
			<pubDate>Thu, 02 Jun 2022 23:49:16 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=36114#p36114</guid>
		</item>
		<item>
			<title><![CDATA[unknown error during apt-key execution]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=36113#p36113</link>
			<description><![CDATA[<p>Hi everyone, my problem is: </p><p>WARNING: apt does not have a stable CLI interface. Use with caution in scripts.</p><p>Scaricamento di:1 <a href="http://deb.devuan.org/merged" rel="nofollow">http://deb.devuan.org/merged</a> chimaera InRelease [33,9 kB]<br />Scaricamento di:2 <a href="http://deb.devuan.org/merged" rel="nofollow">http://deb.devuan.org/merged</a> chimaera-updates InRelease [26,5 kB]<br />Scaricamento di:3 <a href="http://deb.devuan.org/merged" rel="nofollow">http://deb.devuan.org/merged</a> chimaera-security InRelease [26,3 kB]<br />Errore:1 <a href="http://deb.devuan.org/merged" rel="nofollow">http://deb.devuan.org/merged</a> chimaera InRelease<br />&#160; Errore sconosciuto durante l&#039;esecuzione di apt-key<br />Errore:2 <a href="http://deb.devuan.org/merged" rel="nofollow">http://deb.devuan.org/merged</a> chimaera-updates InRelease<br />&#160; Errore sconosciuto durante l&#039;esecuzione di apt-key<br />Errore:3 <a href="http://deb.devuan.org/merged" rel="nofollow">http://deb.devuan.org/merged</a> chimaera-security InRelease<br />&#160; Errore sconosciuto durante l&#039;esecuzione di apt-key<br />Lettura elenco dei pacchetti...<br />W: Errore GPG: <a href="http://deb.devuan.org/merged" rel="nofollow">http://deb.devuan.org/merged</a> chimaera InRelease: Errore sconosciuto durante l&#039;esecuzione di apt-key<br />E: Il repository &quot;http://deb.devuan.org/merged chimaera InRelease&quot; non è firmato.<br />W: Errore GPG: <a href="http://deb.devuan.org/merged" rel="nofollow">http://deb.devuan.org/merged</a> chimaera-updates InRelease: Errore sconosciuto durante l&#039;esecuzione di apt-key<br />E: Il repository &quot;http://deb.devuan.org/merged chimaera-updates InRelease&quot; non è firmato.<br />W: Errore GPG: <a href="http://deb.devuan.org/merged" rel="nofollow">http://deb.devuan.org/merged</a> chimaera-security InRelease: Errore sconosciuto durante l&#039;esecuzione di apt-key<br />E: Il repository &quot;http://deb.devuan.org/merged chimaera-security InRelease&quot; non è firmato.</p><p>I have the arhive keyrings in both trusted.gpg.d and /usr/share/keyrings but still i get this problem.</p>]]></description>
			<author><![CDATA[dummy@example.com (Panda1100)]]></author>
			<pubDate>Thu, 02 Jun 2022 20:55:19 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=36113#p36113</guid>
		</item>
	</channel>
</rss>
