Score:0

dbus package installation is failing in ubuntu(22.04) chroot environment

de flag

I am trying to create a customized ubuntu iso using the ubuntu(22.04) chroot virtual environment. In chroot environment, facing issues while installing dbus package. Error logs are attached below.

root@ubuntu:/# apt-get install -y dbus

Reading package lists... Done

Building dependency tree... Done

Reading state information... Done

dbus is already the newest version (1.12.20-2ubuntu4.1).

0 upgraded, 0 newly installed, 0 to remove and 83 not upgraded.

1 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 = (unset),

    LC_ALL = (unset),

    LC_COLLATE = "POSIX",

    LANG = "en_US.UTF-8"

are supported and installed on your system.

perl: warning: Falling back to the standard locale ("C").

E: Unlocking the slave of master fd 38 failed! - unlockpt (22: Invalid argument)

Setting up dbus (1.12.20-2ubuntu4.1) ...

Failed to generate UUID: Short read from /dev/urandom

dpkg: error processing package dbus (--configure):

installed dbus package post-installation script subprocess returned error exit status 1

Errors were encountered while processing:

dbus

needrestart is being skipped since dpkg has failed

E: Sub-process /usr/bin/dpkg returned an error code (1)

root@ubuntu:/#

Johan Palych avatar
us flag
sudo apt install systemd-container Customize ubuntu live image: https://gist.github.com/gdamjan/62ccd8a4878112e35456
de flag
issue fixed, thanks @JohanPalych
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.