Skip to content

[Error] cannot enter newly created environment #1777

Open
@1ridic

Description

@1ridic

my command:

distrobox create --name u22-test --image ubuntu:22.04 --hostname $hostname

error log:

+ + apt-cachegrep show bash apt-utils bash-completion bc bzip2 curl Package:
 dialog diffutils findutils gnupg gnupg2 gpgsm hostname iproute2 iputils-ping keyutils language-pack-en less libcap2-bin libkrb5-3 libnss-mdns libnss-myhostname libvte-2.9*-common libvte-common locales lsof man-db manpages mtr ncurses-base openssh-client passwd pigz pinentry-curses procps rsync sudo tcpdump time traceroute tree tzdata unzip util-linux wget xauth xz-utils zip libgl1 libegl-mesa0 libegl1-mesa libgl1-mesa-glx libegl1 libglx-mesa0 libvulkan1 mesa-vulkan-drivers
+ sort -u
+ cut -d  -f2-
+ apt-get install -y bash diffutils findutils hostname libkrb5-3 ncurses-base passwd procps util-linux
Reading package lists...
Building dependency tree...
Reading state information...
bash is already the newest version (5.1-6ubuntu1.1).
diffutils is already the newest version (1:3.8-0ubuntu2).
findutils is already the newest version (4.8.0-1ubuntu3).
hostname is already the newest version (3.23ubuntu2).
libkrb5-3 is already the newest version (1.19.2-2ubuntu0.4).
ncurses-base is already the newest version (6.3-2ubuntu0.1).
passwd is already the newest version (1:4.8.1-2ubuntu2.2).
procps is already the newest version (2:3.3.17-6ubuntu2.1).
util-linux is already the newest version (2.37.2-4ubuntu3.4).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ [ -e /etc/locale.gen ]
+ [ ! -e /usr/share/zoneinfo/UTC ]
+ apt-get --reinstall install tzdata
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package tzdata
+ [ 100 -ne 0 ]
+ printf Error: An error occurred\n
Error: An error occurred
DEBU[0000] Called logs.PersistentPostRunE(podman --log-level debug logs u22-test)
DEBU[0000] Shutting down engines
INFO[0000] Received shutdown.Stop(), terminating!        PID=3286569

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions