From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cDshOO2/tWFWfAEAgWs5BA (envelope-from ) for ; Sun, 12 Dec 2021 10:25:01 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 2w6xM+2/tWF0FgAAbx9fmQ (envelope-from ) for ; Sun, 12 Dec 2021 09:25:01 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7722D33E48 for ; Sun, 12 Dec 2021 10:25:01 +0100 (CET) Received: from localhost ([::1]:41894 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mwL6K-0003K8-IU for larch@yhetil.org; Sun, 12 Dec 2021 04:25:00 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55268) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mwL64-0003JE-JY for help-guix@gnu.org; Sun, 12 Dec 2021 04:24:45 -0500 Received: from flashner.co.il ([178.62.234.194]:39110) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mwL62-0003VI-PT for help-guix@gnu.org; Sun, 12 Dec 2021 04:24:44 -0500 Received: from localhost (unknown [94.230.83.253]) by flashner.co.il (Postfix) with ESMTPSA id 78F8540277; Sun, 12 Dec 2021 09:24:41 +0000 (UTC) Date: Sun, 12 Dec 2021 11:24:09 +0200 From: Efraim Flashner To: Hartmut Goebel Subject: Re: Run .deb or .rpm packages Message-ID: Mail-Followup-To: Hartmut Goebel , Julien Lepiller , help-guix@gnu.org, =?utf-8?B?QW5kcsOpIEEu?= Gomes , Gary Johnson References: <87tufjp10l.fsf@gmail.com> <87fsr382nb.fsf@disroot.org> <87ilvyq3qn.fsf@gmail.com> <3124813D-244F-4060-AA72-8778D3B612E2@lepiller.eu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="sI7rqJOXxRy6PMp6" Content-Disposition: inline In-Reply-To: X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Received-SPF: pass client-ip=178.62.234.194; envelope-from=efraim@flashner.co.il; helo=flashner.co.il X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?B?QW5kcsOpIEEu?= Gomes , help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1639301101; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=U1wyCv1iwYteNnJk5Tz+9c28vGj8BF4ajnQNqfRz8C4=; b=cM8XjHq0Q6m6XC4ldkb83AmPk9eQ2N8/m3Ho+G0/uhPbsbmKmjOEAZshQtgsxnygpudMD2 F4VAb9c5d3t8PiXTGybKcx/iZOwlYRrBjjg+MHIRfP9HErZd/37dofRRonOuPcSJMWe0YH hjNIi7m3nGKyXTMbSktkPVEILI+bD0pP/RSkz2jr+A7Ee8H/D2OJ7YZeL41HjtF8qv5uS1 KorGUNK0fPtASkXQOmbzGtFctWFPpwQKbF8v+co0IcvWh7bAR4lC3aOz39ISb7oMWrtSOv hK8idfb7+/xPILcIES68ALRfW8OrM1cko+8sqBp8b+v94UV6R03Vw5dHFfdBOw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639301101; a=rsa-sha256; cv=none; b=AAzto6nhmQLis4glu/Eor7cJzwnOJ6FJ6E8j7bH7Mnk62Bjlgx5m8KtYlj2Yv5Gfs/DYOa PTNSxr68REgMqjIynHQh5zlIhEbE4Bx+GvMM0rSrhd+oy7C0PpoaeN/umnzShz1B4VKfW6 rpZzotJmBqLJaoNyHHsvIoAWJSEyU71otGe4fDWvJ1qKKPU4IYYhMrukoOYtuTaqDLcKLT 6HvzXrwchsIkqmqyAbUX6C3/dB3qcTRwYteSAkDaGvS7OZVY2odwWCv8lqTBvHF+CTbgDZ cOceqH9Y3vKyhkKnpDCtYDSFAkpxUbPyt8utAKAiLsnxRIkAoYrifwY4LH6WXw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.56 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 7722D33E48 X-Spam-Score: -4.56 X-Migadu-Scanner: scn1.migadu.com X-TUID: T5t/ZVG808l5 --sI7rqJOXxRy6PMp6 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Dec 10, 2021 at 10:30:36AM +0100, Hartmut Goebel wrote: > Hi, >=20 > Le 8 d=C3=A9cembre 2021 14:46:24 GMT-05:00, "Andr=C3=A9 A. Gomes" a =C3=A9crit=C2=A0: >=20 > > --8<---------------cut here---------------start------------->8--- > > $ sudo dpkg -i foo-package.deb > > dpkg: error: unable to access the dpkg database directory /gnu/store/90= 2w5i1j38r33l6p871dyhng19zj1phk-dpkg-1.20.9/var/lib/dpkg: Read-only file sys= tem > > --8<---------------cut here---------------end--------------->8--- > >=20 > > Any ideas? I don't know much about .deb or .rpm. >=20 > Beside Julien's objections: There might be legitimate use of installing .= deb > or .rpm packages and they might even work. E.g. i one wants to install fr= ee > software provided as a .deb only and at the moment does not have the time= to > create a package definition for it. >=20 > So, "dpkg" and "rpm" should at least work :-) >=20 > Regarding the error show above: One would need to add "--localstatedir=3D= /var" > to the config flags (not sure whether this would build, then, since most > probably "make install" will try to create "/var/lib/dpkg" which will fail > in the build container. >=20 When I packaged dpkg I deliberately didn't "fix" the localstatedir or any other flags since Guix doesn't support installing packages from .deb archives. Similar to the rpm package it is primarily used for the other parts of the package. Vagrant has said in the past though that Guix's dpkg can be used to install packages on Debian based systems. --=20 Efraim Flashner =D7=A8=D7=A0=D7=A9=D7=9C=D7=A4 = =D7=9D=D7=99=D7=A8=D7=A4=D7=90 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --sI7rqJOXxRy6PMp6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmG1v7kACgkQQarn3Mo9 g1EBGRAAro8PXxVj+Gmat1c5YyBgKFm73752x9dOwEYxHn/BweuVi50BnWEx9/DV fNJ4J22Vv/XiYSugPDz+zMU3FQyQYqOgPb1V5bii/4mS4WC5sJKYPSgfBQfbVfjI cn4Sxi2H+JhwPlIXLaGzQuDqS5pxQ/8qXX56kLdWcDA7C17/vg3RCxeXnu1OsDDB N7NAYQSOmvHeU+X9CfOez0QbSF9E96yF8Z8yd0OL2Sv+M/OP3ggXEY1f3ctIGtVH z7q0Ta4CjiX+meVtNWbTdgMtx/SrSBHeVDJfClgIraaEYJSnrC2ua14yp1xl5lpI 61M5+X/CCA8p++n4AL1coovyQyC3G/+r4WcCVPCT4NEW8eEWk1FxYcMiRIsD+fGy 2cPcDcI7RQDXhJ18CjouB13w8gXjBYNkevF+0rbUVFGKzcSRg7dQ32CI8K7gdmKz Sdh+QpxpJOSpogEG24hciUj/NPVLbSxVuU4I6UE6aQnc2YVz54HR9C7wCz+03mtI vp8T7sYlZjgYyxSk2fglpMLrva+F8x26WEAU4aWZ5c7MwfJr6AQuU+jwxywZPOQ3 dI+EZajmQnNTuTKanTCWRuWNQepWn3x8wPIL/Ilho1pE0LgknNcrk+TZuWA2VYSi gp62T9RxWR4/SuqovEk3/dlpGQw9r235Cpqc4bE8rWI+TQSAc90= =1a8u -----END PGP SIGNATURE----- --sI7rqJOXxRy6PMp6--