From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 17 Apr 2023 22:59:45 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1poVwu-006kGI-HB for lore@lore.pengutronix.de; Mon, 17 Apr 2023 22:59:45 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1poVwu-0006jW-Pz; Mon, 17 Apr 2023 22:59:44 +0200 Received: from server.mars-solutions.it ([88.198.47.168]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1poVwQ-0006jJ-KX for ptxdist@pengutronix.de; Mon, 17 Apr 2023 22:59:16 +0200 Received: from OF-SRVCHZHDB016 (ip-037-209-044-182.um11.pools.vodafone-ip.de [37.209.44.182]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by server.mars-solutions.it (Postfix) with ESMTPSA id C092B7620583; Mon, 17 Apr 2023 22:59:13 +0200 (CEST) Message-ID: <84dfdc59f16242e3e6fa495cc2a28d3fff5409f5.camel@cn-eng.de> From: Andreas Pretzsch To: ptxdist@pengutronix.de Date: Mon, 17 Apr 2023 22:59:13 +0200 Organization: carpe noctem engineering Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.5-0ubuntu0.18.10.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.ext.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-101.9 required=4.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE,USER_IN_WELCOMELIST,USER_IN_WHITELIST autolearn=ham autolearn_force=no version=3.4.2 Subject: [ptxdist] Documentation: Pre-Built Toolchain installation on Ubuntu: minor glitches or outdated X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false Following the documentation about installation of an OSELAS.Toolchain from Pengutronix Debian Archive [1] on a (mostly) fresh Ubuntu 22.04 derived installation, I ran into some details. Don't know about stock Debian resp. apt-get instead of apt behaviour, but I assume the same applies. According to docs, added "/etc/apt/sources.list.d/pengutronix.list" as: deb https://debian.pengutronix.de/debian/ jammy main contrib non-free Result: # apt update [...] Get:11 https://debian.pengutronix.de/debian jammy InRelease [4.042 B] Err:11 https://debian.pengutronix.de/debian jammy InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 69E81E916B7A3E09 NO_PUBKEY 94F58BAD054406A9 Reading package lists... Done W: GPG error: https://debian.pengutronix.de/debian jammy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 69E81E916B7A3E09 NO_PUBKEY 94F58BAD054406A9 E: The repository 'https://debian.pengutronix.de/debian jammy InRelease' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. # apt install pengutronix-archive-keyring Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package pengutronix-archive-keyring Plausible, as list was not installed above, due to missing key. So I manually fetched and installed (dpkg -i) the keyring: https://debian.pengutronix.de/debian/pool/main/p/pengutronix-archive-keyring/pengutronix-archive-keyring_2023.01.09_all.deb Now, package list is downloaded and used, but with some annoyance about missing arch in repo: # apt update [...] Get:8 https://debian.pengutronix.de/debian jammy/main amd64 Packages [14,9 kB] [...] Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date. N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://debian.pengutronix.de/debian jammy InRelease' doesn't support architecture 'i386' N: Skipping acquire of configured file 'contrib/binary-i386/Packages' as repository 'https://debian.pengutronix.de/debian jammy InRelease' doesn't support architecture 'i386' N: Skipping acquire of configured file 'non-free/binary-i386/Packages' as repository 'https://debian.pengutronix.de/debian jammy InRelease' doesn't support architecture 'i386' Limited "/etc/apt/sources.list.d/pengutronix.list" accordingly, by adding "[arch=amd64]", so we now have: deb [arch=amd64] https://debian.pengutronix.de/debian/ jammy main contrib non-free Final result is a working setup, without any annoying warnings. Unfortunately, I'm busy setting up a customer VM, so I'll just throw in these pointers, instead of trying to find a suitable updated wording for the docs, sorry. Best regards, Andreas [1] https://www.ptxdist.org/doc/environment.html#add-the-pengutronix-debian-archive -- carpe noctem engineering Ingenieurbuero fuer Hard- & Software-Entwicklung Andreas Pretzsch Dipl.-Ing. (FH) Andreas Pretzsch Tel. +49-(0)711-3908735-7 Tuebinger Strasse 63 Fax: +49-(0)711-3908735-9 70178 Stuttgart, Germany email: apr@cn-eng.de