[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Run .deb or .rpm packages

From: Hartmut Goebel
Subject: Re: Run .deb or .rpm packages
Date: Fri, 10 Dec 2021 10:30:36 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.2


Le 8 décembre 2021 14:46:24 GMT-05:00, "André A. 
Gomes"<>  a écrit :

--8<---------------cut here---------------start------------->8---
$ sudo dpkg -i foo-package.deb
dpkg: error: unable to access the dpkg database directory 
/gnu/store/902w5i1j38r33l6p871dyhng19zj1phk-dpkg-1.20.9/var/lib/dpkg: Read-only 
file system
--8<---------------cut here---------------end--------------->8---

Any ideas?  I don't know much about .deb or .rpm.

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 free software provided as a .deb only and at the moment does not have the time to create a package definition for it.

So, "dpkg" and "rpm" should at least work :-)

Regarding the error show above: One would need to add "--localstatedir=/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.

Hartmut Goebel

| Hartmut Goebel          |                |
|  | compilers which you thought are impossible |

reply via email to

[Prev in Thread] Current Thread [Next in Thread]