/proc/ is not mounted, but required for successful operation of systemd-tmpfiles. Please mount /proc/. Alternatively, consider using the --root= or --image= switches.
Mario Marietto
marietto2008 at gmail.com
Fri Nov 1 01:43:17 UTC 2024
I've found the trick to fix that problem here :
https://superuser.com/questions/1803992/getting-this-error-failed-to-take-etc-passwd-lock-invalid-argument#comment2829160_1803992
let's see if it works :
[root at marietto /compat]==> ./start-noble-jail-bash
Starting jails: noble.
root at noble:/# sudo apt-get -f install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "",
LC_ALL = "",
LC_TIME = "it_IT.UTF-8",
LC_CTYPE = "it_IT.UTF-8",
LC_MONETARY = "it_IT.UTF-8",
LC_COLLATE = "C",
LC_ADDRESS = "it_IT.UTF-8",
LC_TELEPHONE = "it_IT.UTF-8",
LC_MESSAGES = "it_IT.UTF-8",
LC_NAME = "it_IT.UTF-8",
LC_MEASUREMENT = "it_IT.UTF-8",
LC_IDENTIFICATION = "it_IT.UTF-8",
LC_NUMERIC = "it_IT.UTF-8",
LC_PAPER = "it_IT.UTF-8",
LANG = "it_IT.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Setting up polkitd (124-2ubuntu1) ...
*Failed to take /etc/passwd lock: Invalid argument*
dpkg: error processing package polkitd (--configure):
installed polkitd package post-installation script subprocess returned
error exit status 1
dpkg: dependency problems prevent configuration of rtkit:
rtkit depends on polkitd | policykit-1; however:
Package polkitd is not configured yet.
Package policykit-1 is not installed.
dpkg: error processing package rtkit (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
polkitd
rtkit
E: Sub-process /usr/bin/dpkg returned an error code (1)
root at noble:/# sudo mv /var/lib/dpkg/info /var/lib/dpkg/info_silent
root at noble:/# sudo mkdir /var/lib/dpkg/info
root at noble:/# sudo apt-get update
Hit:1 http://archive.ubuntu.com/ubuntu noble InRelease
Hit:2 http://archive.ubuntu.com/ubuntu noble-updates InRelease
Hit:3 http://archive.ubuntu.com/ubuntu noble-backports InRelease
Hit:4 http://security.ubuntu.com/ubuntu noble-security InRelease
Reading package lists... Done
root at noble:/# sudo apt-get -f install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "",
LC_ALL = "",
LC_TIME = "it_IT.UTF-8",
LC_CTYPE = "it_IT.UTF-8",
LC_MONETARY = "it_IT.UTF-8",
LC_COLLATE = "C",
LC_ADDRESS = "it_IT.UTF-8",
LC_TELEPHONE = "it_IT.UTF-8",
LC_MESSAGES = "it_IT.UTF-8",
LC_NAME = "it_IT.UTF-8",
LC_MEASUREMENT = "it_IT.UTF-8",
LC_IDENTIFICATION = "it_IT.UTF-8",
LC_NUMERIC = "it_IT.UTF-8",
LC_PAPER = "it_IT.UTF-8",
LANG = "it_IT.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Setting up polkitd (124-2ubuntu1) ...
Setting up rtkit (0.13-5build1) ...
root at noble:/# sudo mv /var/lib/dpkg/info/* /var/lib/dpkg/info_silent
root at noble:/# sudo rm -rf /var/lib/dpkg/info
root at noble:/# sudo mv /var/lib/dpkg/info_silent /var/lib/dpkg/info
root at noble:/# sudo apt-get update
Hit:1 http://archive.ubuntu.com/ubuntu noble InRelease
Hit:2 http://security.ubuntu.com/ubuntu noble-security InRelease
Hit:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease
Hit:4 http://archive.ubuntu.com/ubuntu noble-backports InRelease
Reading package lists... Done
root at noble:/# sudo apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
On Thu, Oct 31, 2024 at 11:11 AM Liam Proven <lproven at gmail.com> wrote:
> On Wed, 23 Oct 2024 at 23:55, Mario Marietto <marietto2008 at gmail.com>
> wrote:
> >
> > I'm trying to install Ubuntu 24.04 inside the Linuxulator (Linux
> > emulation Layer) of FreeBSD.
>
> Er. I do not think this is how you use the Linuxulator.
>
> You can install another OS inside bhyve, but the emulator is for
> apps, not OSes.
>
> It should not work. If it did before that was an error.
>
>
>
> --
> Liam Proven ~ Profile: https://about.me/liamproven
> Email: lproven at cix.co.uk ~ gMail/gTalk/FB: lproven at gmail.com
> Twitter/LinkedIn: lproven ~ Skype: liamproven
> IoM: (+44) 7624 227612: UK: (+44) 7939-087884
> Czech [+ WhatsApp/Telegram/Signal]: (+420) 702-829-053
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
--
Mario.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20241101/b9bee833/attachment.html>
More information about the ubuntu-users
mailing list