Re: Problem with repo for Debian 11

Nikolaos Milas via Mondo-devel <[email protected]> Fri, 30 Dec 2022 21:30:29 +0200
Newsgroups gmane.linux.mondo.devel
Organization National Observatory of Athens
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============4479935113425689333==
Content-Type: multipart/alternative;
 boundary="------------jrLo4LcZF6aafjwcqXA3BksS"
Content-Language: en-US

This is a multi-part message in MIME format.
--------------jrLo4LcZF6aafjwcqXA3BksS
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

Thank you all for your feedback. It worked as follows:

    deb [trusted=yes] http://ftp.mondorescue.org//debian 11 contrib
    deb-src [trusted=yes] http://ftp.mondorescue.org//debian 11 contrib

I also renamed the file to mondorescue.list.

And then:

    apt update

If I don't use [trusted=yes], it fails with the following error:

    W: GPG error: http://ftp.mondorescue.org//debian 11 Release: The
    following signatures couldn't be verified because the public key is
    not available: NO_PUBKEY 6BA8C2D220EBFB0E E: The repository
    'http://ftp.mondorescue.org//debian 11 Release' is not signed. N:
    Updating from such a repository can't be done securely, and is
    therefore disabled by default.

It even fails if I use:

    wget -O /usr/local/share/keyrings/mondo-archive-keyring.gpg
    http://ftp.mondorescue.org/debian/11/pb.pubkey

    and then:

    deb [signed-by=/usr/local/share/keyrings/mondo-archive-keyring.gpg]http://ftp.mondorescue.org//debian  11 contrib
    deb-src [signed-by=/usr/local/share/keyrings/mondo-archive-keyring.gpg]http://ftp.mondorescue.org//debian  11 contrib

I don't know if I'm doing something wrong with that or the repo is 
intentionally left unsigned.

Cheers,
Nick

On 30/12/2022 8:44 μ.μ., Rich Goodwin via Mondo-devel wrote:
>
> I also believe your filename needs to end with '.list' not '.sources'.
>
> On 12/30/2022 11:28 AM, Rich Goodwin via Mondo-devel wrote:
>>
>> I had to change ftp:// to http:// on both deb and deb-src lines.  
>> Also had to add [ trusted=yes ].
>>
--------------jrLo4LcZF6aafjwcqXA3BksS
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p><font face="monospace">Thank you all for your feedback. It worked
        as follows:</font></p>
    <blockquote>
      <pre><font face="monospace">deb [trusted=yes] <a class="moz-txt-link-freetext" href="http://ftp.mondorescue.org//debian">http://ftp.mondorescue.org//debian</a> 11 contrib
deb-src [trusted=yes] <a class="moz-txt-link-freetext" href="http://ftp.mondorescue.org//debian">http://ftp.mondorescue.org//debian</a> 11 contrib</font></pre>
    </blockquote>
    <p><font face="monospace">I also renamed the file to
        mondorescue.list. <br>
      </font></p>
    <p><font face="monospace">And then: <br>
      </font></p>
    <blockquote>
      <p><font face="monospace">apt update</font></p>
    </blockquote>
    <p><font face="monospace">If I don't use [trusted=yes], it fails
        with the following error: <br>
      </font></p>
    <blockquote>
      <pre><font face="monospace">W: GPG error: <a class="moz-txt-link-freetext" href="http://ftp.mondorescue.org//debian">http://ftp.mondorescue.org//debian</a> 11 Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6BA8C2D220EBFB0E
E: The repository '<a class="moz-txt-link-freetext" href="http://ftp.mondorescue.org//debian">http://ftp.mondorescue.org//debian</a> 11 Release' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
</font></pre>
    </blockquote>
    <p>It even fails if I use: <br>
    </p>
    <blockquote>
      <pre><font face="monospace">wget -O /usr/local/share/keyrings/mondo-archive-keyring.gpg <a class="moz-txt-link-freetext" href="http://ftp.mondorescue.org/debian/11/pb.pubkey">http://ftp.mondorescue.org/debian/11/pb.pubkey</a></font></pre>
      <p>and then: <br>
      </p>
      <pre>deb [signed-by=/usr/local/share/keyrings/mondo-archive-keyring.gpg] <a class="moz-txt-link-freetext" href="http://ftp.mondorescue.org//debian">http://ftp.mondorescue.org//debian</a> 11 contrib
deb-src [signed-by=/usr/local/share/keyrings/mondo-archive-keyring.gpg] <a class="moz-txt-link-freetext" href="http://ftp.mondorescue.org//debian">http://ftp.mondorescue.org//debian</a> 11 contrib
</pre>
    </blockquote>
    <p><font face="monospace">I don't know if I'm doing something wrong
        with that or the repo is intentionally left unsigned.  <br>
      </font></p>
    <p><font face="monospace">Cheers,<br>
        Nick<br>
      </font></p>
    <div class="moz-cite-prefix"><font face="monospace">On 30/12/2022
        8:44 μ.μ., Rich Goodwin via Mondo-devel wrote:<br>
      </font></div>
    <blockquote type="cite"
      cite="mid:[email protected]">
      <p><font face="monospace">I also believe your filename needs to
          end with '.list' not '.sources'. <br>
        </font> </p>
      <div class="moz-cite-prefix"><font face="monospace">On 12/30/2022
          11:28 AM, Rich Goodwin via Mondo-devel wrote:<br>
        </font> </div>
      <blockquote type="cite"
        cite="mid:[email protected]">
        <p><font face="monospace">I had to change ftp:// to http:// on
            both deb and deb-src lines.  Also had to add [ trusted=yes
            ].</font></p>
      </blockquote>
    </blockquote>
  </body>
</html>

--------------jrLo4LcZF6aafjwcqXA3BksS--


--===============4479935113425689333==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============4479935113425689333==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Mondo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mondo-devel

--===============4479935113425689333==--