trying to automate the installation of vim during the initial setup, the option to install VIMFULL was set along with the AUTO_Install_Index-Trigger/Flag.
Code: Select all
root@dietpi:~# sed -n '/^AUTO_Install/p;/VIM/p' /DietPi/dietpi.txt
AUTO_Install_Index=1
AUTO_DietpiSoftware_Install_VIMFULL=1
AUTO_DietpiSoftware_Install_VIMTINY=0
Code: Select all
root@dietpi:/DietPi/dietpi# vi dietpi-config
-bash: vi: command not found
root@dietpi:/DietPi/dietpi# vim dietpi-config
-bash: vim: command not found
root@dietpi:/DietPi/dietpi# apt-get install vim
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libgpm2 vim-common vim-runtime
Suggested packages:
gpm ctags vim-doc vim-scripts
The following NEW packages will be installed:
libgpm2 vim vim-common vim-runtime
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 6076 kB of archives.
After this operation, 28.4 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://mirrordirector.raspbian.org/raspbian/ jessie/main libgpm2 armhf 1.20.4-6.1 [35.1 kB]
Get:2 http://mirrordirector.raspbian.org/raspbian/ jessie/main vim-runtime all 2:7.4.488-7 [5047 kB]
Get:3 http://mirrordirector.raspbian.org/raspbian/ jessie/main vim-common armhf 2:7.4.488-7 [184 kB]
Get:4 http://mirrordirector.raspbian.org/raspbian/ jessie/main vim armhf 2:7.4.488-7 [809 kB]
Fetched 6076 kB in 6s (1001 kB/s)
Selecting previously unselected package libgpm2:armhf.
(Reading database ... 19525 files and directories currently installed.)
Preparing to unpack .../libgpm2_1.20.4-6.1_armhf.deb ...
Unpacking libgpm2:armhf (1.20.4-6.1) ...
Selecting previously unselected package vim-common.
Preparing to unpack .../vim-common_2%3a7.4.488-7_armhf.deb ...
Unpacking vim-common (2:7.4.488-7) ...
Selecting previously unselected package vim-runtime.
Preparing to unpack .../vim-runtime_2%3a7.4.488-7_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.488-7) ...
Selecting previously unselected package vim.
Preparing to unpack .../vim_2%3a7.4.488-7_armhf.deb ...
Unpacking vim (2:7.4.488-7) ...
Setting up libgpm2:armhf (1.20.4-6.1) ...
Setting up vim-common (2:7.4.488-7) ...
Setting up vim-runtime (2:7.4.488-7) ...
Processing /usr/share/vim/addons/doc
Setting up vim (2:7.4.488-7) ...
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: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode
update-alternatives: warning: forcing reinstallation of alternative /bin/nano because link group editor is broken
update-alternatives: warning: skip creation of /usr/share/man/man1/editor.1.gz because associated file /usr/share/man/man1/nano.1.gz (of link group editor) doesn't exist
Processing triggers for libc-bin (2.19-18+deb8u4) ...