Closed manabuishii closed 4 years ago
I can not install vim inside lpmx container.
I run lpmx on Ubuntu 18.04. create ubuntu:16.04 container
Host information.
wfuser@vultr:~/lpmx20190904$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.2 LTS Release: 18.04 Codename: bionic
This is a log what I did.
wfuser@vultr:~/lpmx20190904$ ./lpmx docker download ubuntu:16.04 Downloading file with type: application/vnd.docker.image.rootfs.diff.tar.gzip, size: 43923852 Downloading... 31832/43923852 [0/100 complete]Downloading file with type: application/vnd.docker.image.rootfs.diff.tar.gzip, size: 527 Downloading file with type: application/vnd.docker.image.rootfs.diff.tar.gzip, size: 847 Downloading... 0/847 [0/100 complete]Downloading file with type: application/vnd.docker.image.rootfs.diff.tar.gzip, size: 170 Downloading setting.yml from https://raw.githubusercontent.com/JasonYangShadow/LPMXSettingRepository/master/ubuntu/setting.yml INFO[0003] DONE wfuser@vultr:~/lpmx20190904$ ./lpmx docker create ubuntu:16.04 root@vultr:/# apt-get update Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB] Get:2 http://archive.ubuntu.com/ubuntu xenial InRelease [247 kB] Get:3 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB] Get:4 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [936 kB] Get:5 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB] Get:6 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages [1558 kB] Get:7 http://archive.ubuntu.com/ubuntu xenial/restricted amd64 Packages [14.1 kB] Get:8 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages [9827 kB] Get:9 http://archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages [176 kB] Get:10 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [1316 kB] Get:11 http://security.ubuntu.com/ubuntu xenial-security/restricted amd64 Packages [12.7 kB] Get:12 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [580 kB] Get:13 http://archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages [13.1 kB] Get:14 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [984 kB] Get:15 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages [6119 B] Get:16 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages [19.1 kB] Get:17 http://archive.ubuntu.com/ubuntu xenial-backports/main amd64 Packages [7942 B] Get:18 http://archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages [8807 B] Fetched 16.0 MB in 5s (2951 kB/s) Reading package lists... Done root@vultr:/# vim bash: vim: command not found root@vultr:/# apt-get install vim Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: file libexpat1 libgpm2 libmagic1 libmpdec2 libpython3.5 libpython3.5-minimal libpython3.5-stdlib libsqlite3-0 libssl1.0.0 mime-support vim-common vim-runtime Suggested packages: gpm ctags vim-doc vim-scripts vim-gnome-py2 | vim-gtk-py2 | vim-gtk3-py2 | vim-athena-py2 | vim-nox-py2 The following NEW packages will be installed: file libexpat1 libgpm2 libmagic1 libmpdec2 libpython3.5 libpython3.5-minimal libpython3.5-stdlib libsqlite3-0 libssl1.0.0 mime-support vim vim-common vim-runtime 0 upgraded, 14 newly installed, 0 to remove and 1 not upgraded. Need to get 12.3 MB of archives. After this operation, 58.4 MB of additional disk space will be used. Do you want to continue? [Y/n] Get:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 libgpm2 amd64 1.20.4-6.1 [16.5 kB] Get:2 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libmagic1 amd64 1:5.25-2ubuntu1.2 [216 kB] Get:3 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 file amd64 1:5.25-2ubuntu1.2 [21.2 kB] Get:4 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libexpat1 amd64 2.1.0-7ubuntu0.16.04.4 [71.4 kB] Get:5 http://archive.ubuntu.com/ubuntu xenial/main amd64 libmpdec2 amd64 2.4.2-1 [82.6 kB] Get:6 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libssl1.0.0 amd64 1.0.2g-1ubuntu4.15 [1084 kB] Get:7 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpython3.5-minimal amd64 3.5.2-2ubuntu0~16.04.5 [524 kB] Get:8 http://archive.ubuntu.com/ubuntu xenial/main amd64 mime-support all 3.59ubuntu1 [31.0 kB] Get:9 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libsqlite3-0 amd64 3.11.0-1ubuntu1.2 [397 kB] Get:10 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpython3.5-stdlib amd64 3.5.2-2ubuntu0~16.04.5 [2134 kB] Get:11 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 vim-common amd64 2:7.4.1689-3ubuntu1.3 [103 kB] Get:12 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpython3.5 amd64 3.5.2-2ubuntu0~16.04.5 [1360 kB] Get:13 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 vim-runtime all 2:7.4.1689-3ubuntu1.3 [5179 kB] Get:14 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 vim amd64 2:7.4.1689-3ubuntu1.3 [1036 kB] Fetched 12.3 MB in 3min 33s (57.3 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libgpm2:amd64. (Reading database ... 4777 files and directories currently installed.) Preparing to unpack .../libgpm2_1.20.4-6.1_amd64.deb ... Unpacking libgpm2:amd64 (1.20.4-6.1) ... Selecting previously unselected package libmagic1:amd64. Preparing to unpack .../libmagic1_1%3a5.25-2ubuntu1.2_amd64.deb ... Unpacking libmagic1:amd64 (1:5.25-2ubuntu1.2) ... Selecting previously unselected package file. Preparing to unpack .../file_1%3a5.25-2ubuntu1.2_amd64.deb ... Unpacking file (1:5.25-2ubuntu1.2) ... Selecting previously unselected package libexpat1:amd64. Preparing to unpack .../libexpat1_2.1.0-7ubuntu0.16.04.4_amd64.deb ... Unpacking libexpat1:amd64 (2.1.0-7ubuntu0.16.04.4) ... Selecting previously unselected package libmpdec2:amd64. Preparing to unpack .../libmpdec2_2.4.2-1_amd64.deb ... Unpacking libmpdec2:amd64 (2.4.2-1) ... Selecting previously unselected package libssl1.0.0:amd64. Preparing to unpack .../libssl1.0.0_1.0.2g-1ubuntu4.15_amd64.deb ... Unpacking libssl1.0.0:amd64 (1.0.2g-1ubuntu4.15) ... Selecting previously unselected package libpython3.5-minimal:amd64. Preparing to unpack .../libpython3.5-minimal_3.5.2-2ubuntu0~16.04.5_amd64.deb ... Unpacking libpython3.5-minimal:amd64 (3.5.2-2ubuntu0~16.04.5) ... Selecting previously unselected package mime-support. Preparing to unpack .../mime-support_3.59ubuntu1_all.deb ... Unpacking mime-support (3.59ubuntu1) ... Selecting previously unselected package libsqlite3-0:amd64. Preparing to unpack .../libsqlite3-0_3.11.0-1ubuntu1.2_amd64.deb ... Unpacking libsqlite3-0:amd64 (3.11.0-1ubuntu1.2) ... Selecting previously unselected package libpython3.5-stdlib:amd64. Preparing to unpack .../libpython3.5-stdlib_3.5.2-2ubuntu0~16.04.5_amd64.deb ... Unpacking libpython3.5-stdlib:amd64 (3.5.2-2ubuntu0~16.04.5) ... Selecting previously unselected package vim-common. Preparing to unpack .../vim-common_2%3a7.4.1689-3ubuntu1.3_amd64.deb ... Unpacking vim-common (2:7.4.1689-3ubuntu1.3) ... Selecting previously unselected package libpython3.5:amd64. Preparing to unpack .../libpython3.5_3.5.2-2ubuntu0~16.04.5_amd64.deb ... Unpacking libpython3.5:amd64 (3.5.2-2ubuntu0~16.04.5) ... Selecting previously unselected package vim-runtime. Preparing to unpack .../vim-runtime_2%3a7.4.1689-3ubuntu1.3_all.deb ... Adding 'diversion of /usr/share/vim/vim74/doc/help.txt to /usr/share/vim/vim74/doc/help.txt.vim-tiny by vim-runtime' Adding 'diversion of /usr/share/vim/vim74/doc/tags to /usr/share/vim/vim74/doc/tags.vim-tiny by vim-runtime' Unpacking vim-runtime (2:7.4.1689-3ubuntu1.3) ... Selecting previously unselected package vim. Preparing to unpack .../vim_2%3a7.4.1689-3ubuntu1.3_amd64.deb ... Unpacking vim (2:7.4.1689-3ubuntu1.3) ... Processing triggers for libc-bin (2.23-0ubuntu11) ... Setting up libgpm2:amd64 (1.20.4-6.1) ... Setting up libmagic1:amd64 (1:5.25-2ubuntu1.2) ... Setting up file (1:5.25-2ubuntu1.2) ... Setting up libexpat1:amd64 (2.1.0-7ubuntu0.16.04.4) ... Setting up libmpdec2:amd64 (2.4.2-1) ... Setting up libssl1.0.0:amd64 (1.0.2g-1ubuntu4.15) ... debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.) debconf: falling back to frontend: Teletype Setting up libpython3.5-minimal:amd64 (3.5.2-2ubuntu0~16.04.5) ... Setting up mime-support (3.59ubuntu1) ... Setting up libsqlite3-0:amd64 (3.11.0-1ubuntu1.2) ... Setting up libpython3.5-stdlib:amd64 (3.5.2-2ubuntu0~16.04.5) ... Setting up vim-common (2:7.4.1689-3ubuntu1.3) ... Setting up libpython3.5:amd64 (3.5.2-2ubuntu0~16.04.5) ... Setting up vim-runtime (2:7.4.1689-3ubuntu1.3) ... Setting up vim (2:7.4.1689-3ubuntu1.3) ... update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode update-alternatives: warning: skip creation of /usr/share/man/fr/man1/vi.1.gz because associated file /usr/share/man/fr/man1/vim.1.gz (of link group vi) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/it/man1/vi.1.gz because associated file /usr/share/man/it/man1/vim.1.gz (of link group vi) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/pl/man1/vi.1.gz because associated file /usr/share/man/pl/man1/vim.1.gz (of link group vi) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/ru/man1/vi.1.gz because associated file /usr/share/man/ru/man1/vim.1.gz (of link group vi) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/ja/man1/vi.1.gz because associated file /usr/share/man/ja/man1/vim.1.gz (of link group vi) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/man1/vi.1.gz because associated file /usr/share/man/man1/vim.1.gz (of link group vi) doesn't exist update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode update-alternatives: warning: skip creation of /usr/share/man/fr/man1/view.1.gz because associated file /usr/share/man/fr/man1/vim.1.gz (of link group view) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/it/man1/view.1.gz because associated file /usr/share/man/it/man1/vim.1.gz (of link group view) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/pl/man1/view.1.gz because associated file /usr/share/man/pl/man1/vim.1.gz (of link group view) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/ru/man1/view.1.gz because associated file /usr/share/man/ru/man1/vim.1.gz (of link group view) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/ja/man1/view.1.gz because associated file /usr/share/man/ja/man1/vim.1.gz (of link group view) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/man1/view.1.gz because associated file /usr/share/man/man1/vim.1.gz (of link group view) doesn't exist update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode update-alternatives: warning: skip creation of /usr/share/man/fr/man1/ex.1.gz because associated file /usr/share/man/fr/man1/vim.1.gz (of link group ex) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/it/man1/ex.1.gz because associated file /usr/share/man/it/man1/vim.1.gz (of link group ex) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/pl/man1/ex.1.gz because associated file /usr/share/man/pl/man1/vim.1.gz (of link group ex) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/ru/man1/ex.1.gz because associated file /usr/share/man/ru/man1/vim.1.gz (of link group ex) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/ja/man1/ex.1.gz because associated file /usr/share/man/ja/man1/vim.1.gz (of link group ex) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/man1/ex.1.gz because associated file /usr/share/man/man1/vim.1.gz (of link group ex) doesn't exist update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode update-alternatives: warning: skip creation of /usr/share/man/fr/man1/editor.1.gz because associated file /usr/share/man/fr/man1/vim.1.gz (of link group editor) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/it/man1/editor.1.gz because associated file /usr/share/man/it/man1/vim.1.gz (of link group editor) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/pl/man1/editor.1.gz because associated file /usr/share/man/pl/man1/vim.1.gz (of link group editor) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/ru/man1/editor.1.gz because associated file /usr/share/man/ru/man1/vim.1.gz (of link group editor) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/ja/man1/editor.1.gz because associated file /usr/share/man/ja/man1/vim.1.gz (of link group editor) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/man1/editor.1.gz because associated file /usr/share/man/man1/vim.1.gz (of link group editor) doesn't exist Processing triggers for libc-bin (2.23-0ubuntu11) ... root@vultr:/# vim bash: vim: command not found root@vultr:/# vi bash: vi: command not found root@vultr:/# exit exit FATA[0783] **exit status 127** cmd wait error starting bash shell encounters error
Thank you so much for trying LPMX, and so sorry for this bug. I have already noted it down and will update you later. Besides, if you have any problems in using LPMX(whatever issues or advice), please share it with me.
Really sorry for the late reply, the bug is fixed a long time ago. Please have a try and contact me freely.
I can not install vim inside lpmx container.
I run lpmx on Ubuntu 18.04. create ubuntu:16.04 container
Host information.
This is a log what I did.