Public bug reported:

Trying to install vim from selections fail on Precise:

>From a fresh install our scripts perform

echo vim install | dpkg --set-selections

and then

apt-get dselect-upgrade

which produces

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed
  vim-runtime
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/6,277 kB of archives.
After this operation, 22.8 MB of additional disk space will be used.
Do you want to continue [Y/n]? 
Selecting previously unselected package vim-runtime.
(Reading database ... 56537 files and directories currently installed.)
Unpacking vim-runtime (from .../vim-runtime_2%3a7.3.429-2ubuntu2.1_all.deb) ...
Adding 'diversion of /usr/share/vim/vim73/doc/help.txt to 
/usr/share/vim/vim73/doc/help.txt.vim-tiny by vim-runtime'
Adding 'diversion of /usr/share/vim/vim73/doc/tags to 
/usr/share/vim/vim73/doc/tags.vim-tiny by vim-runtime'
Processing triggers for man-db ...
Setting up vim-runtime (2:7.3.429-2ubuntu2.1) ...
Processing /usr/share/vim/addons/doc

and I get no vim.

If then do

echo vim-nox install | dpkg --set-selections

and

apt-get dselect-upgrade

I get the humorous result

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed
  liblua5.1-0 libperl5.14 libreadline5 libruby1.8 tcl8.5 vim vim-nox
0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
Need to get 5,320 kB of archives.
After this operation, 15.1 MB of additional disk space will be used.
Do you want to continue [Y/n]? 
Get:1 http://linux-sua.it.su.se/precise/ubuntu/ precise/main liblua5.1-0 amd64 
5.1.4-12ubuntu1 [172 kB]
Get:2 http://linux-sua.it.su.se/precise/ubuntu/ precise/main libreadline5 amd64 
5.2-11 [128 kB]
Get:3 http://linux-sua.it.su.se/precise/ubuntu/ precise/main libperl5.14 amd64 
5.14.2-6ubuntu2 [1,224 B]
Get:4 http://linux-sua.it.su.se/precise/ubuntu/ precise/main libruby1.8 amd64 
1.8.7.352-2ubuntu1 [1,793 kB]
Get:5 http://linux-sua.it.su.se/precise/ubuntu/ precise/main tcl8.5 amd64 
8.5.11-1ubuntu1 [1,098 kB]
Get:6 http://linux-sua.it.su.se/precise/ubuntu/ precise-updates/main vim amd64 
2:7.3.429-2ubuntu2.1 [1,048 kB]
Get:7 http://linux-sua.it.su.se/precise/ubuntu/ precise-updates/universe 
vim-nox amd64 2:7.3.429-2ubuntu2.1 [1,079 kB]
Fetched 5,320 kB in 0s (6,080 kB/s)
Selecting previously unselected package liblua5.1-0.
(Reading database ... 58101 files and directories currently installed.)
Unpacking liblua5.1-0 (from .../liblua5.1-0_5.1.4-12ubuntu1_amd64.deb) ...
Selecting previously unselected package libreadline5.
Unpacking libreadline5 (from .../libreadline5_5.2-11_amd64.deb) ...
Selecting previously unselected package libperl5.14.
Unpacking libperl5.14 (from .../libperl5.14_5.14.2-6ubuntu2_amd64.deb) ...
Selecting previously unselected package libruby1.8.
Unpacking libruby1.8 (from .../libruby1.8_1.8.7.352-2ubuntu1_amd64.deb) ...
Selecting previously unselected package tcl8.5.
Unpacking tcl8.5 (from .../tcl8.5_8.5.11-1ubuntu1_amd64.deb) ...
Unpacking vim (from .../vim_2%3a7.3.429-2ubuntu2.1_amd64.deb) ...
Unpacking vim-nox (from .../vim-nox_2%3a7.3.429-2ubuntu2.1_amd64.deb) ...
Processing triggers for man-db ...
Setting up liblua5.1-0 (5.1.4-12ubuntu1) ...
Setting up libreadline5 (5.2-11) ...
Setting up libperl5.14 (5.14.2-6ubuntu2) ...
Setting up libruby1.8 (1.8.7.352-2ubuntu1) ...
Setting up tcl8.5 (8.5.11-1ubuntu1) ...
update-alternatives: using /usr/bin/tclsh8.5 to provide /usr/bin/tclsh (tclsh) 
in auto mode.
Setting up vim (2:7.3.429-2ubuntu2.1) ...
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.
Setting up vim-nox (2:7.3.429-2ubuntu2.1) ...
update-alternatives: using /usr/bin/vim.nox to provide /usr/bin/vim (vim) in 
auto mode.
update-alternatives: using /usr/bin/vim.nox to provide /usr/bin/vimdiff 
(vimdiff) in auto mode.
update-alternatives: using /usr/bin/vim.nox to provide /usr/bin/rvim (rvim) in 
auto mode.
update-alternatives: using /usr/bin/vim.nox to provide /usr/bin/rview (rview) 
in auto mode.
update-alternatives: using /usr/bin/vim.nox to provide /usr/bin/vi (vi) in auto 
mode.
update-alternatives: using /usr/bin/vim.nox to provide /usr/bin/view (view) in 
auto mode.
update-alternatives: using /usr/bin/vim.nox to provide /usr/bin/ex (ex) in auto 
mode.
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place

Notice how vim now gets installed.

Asking for purge of vim-nox

echo vim-nox purge | dpkg --set-selections
apt-get dselect-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED
  vim-nox*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 2,133 kB disk space will be freed.
Do you want to continue [Y/n]? 
(Reading database ... 59069 files and directories currently installed.)
Removing vim-nox ...
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: 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/vimdiff 
(vimdiff) in auto mode.
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in 
auto mode.

goes well

and so does it for vim

echo vim purge | dpkg --set-selections
apt-get dselect-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED
  vim*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 2,061 kB disk space will be freed.
Do you want to continue [Y/n]? 
(Reading database ... 59063 files and directories currently installed.)
Removing vim ...
update-alternatives: using /usr/bin/vim.tiny to provide /usr/bin/vi (vi) in 
auto mode.
update-alternatives: using /usr/bin/vim.tiny to provide /usr/bin/view (view) in 
auto mode.
update-alternatives: using /usr/bin/vim.tiny to provide /usr/bin/ex (ex) in 
auto mode.
update-alternatives: using /usr/bin/vim.tiny to provide /usr/bin/rview (rview) 
in auto mode.

lsb_release -rd
Description:    Ubuntu 12.04 LTS
Release:        12.04

** Affects: vim (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1000189

Title:
  vim won't install from selections

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vim/+bug/1000189/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to