Comment 14 for bug 79320

Revision history for this message
Rog (roger-mindsocket) wrote :

I had the same problem. When I ran apt-get install -f, it highlighted the problem:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libexiv2-0.10 libmysqlclient15-dev linux-headers-2.6.17-11-generic postgresql-client-8.2 postgresql-client-common liboobs-1-2 libmeanwhile1
  linux-headers-2.6.17-11 libavahi-core4
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
5 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up vim-tiny (7.0-164+1ubuntu3) ...
update-alternatives: unable to make /usr/share/man/ru.KOI8-R/man1/ex.1.gz.dpkg-tmp a symlink to /etc/alternatives/ex.ru.KOI8-R.1.gz: No such file or directory
dpkg: error processing vim-tiny (--configure):
 subprocess post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of ubuntu-minimal:
 ubuntu-minimal depends on vim-tiny; however:
  Package vim-tiny is not configured yet.
dpkg: error processing ubuntu-minimal (--configure):
 dependency problems - leaving unconfigured
Setting up nano (2.0.2-1) ...
update-alternatives: unable to make /usr/share/man/ru.UTF-8/man1/editor.1.gz.dpkg-tmp a symlink to /etc/alternatives/editor.ru.UTF-8.1.gz: No such file or directory
dpkg: error processing nano (--configure):
 subprocess post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of ubuntu-standard:
 ubuntu-standard depends on nano; however:
  Package nano is not configured yet.
dpkg: error processing ubuntu-standard (--configure):
 dependency problems - leaving unconfigured
Setting up vim (7.0-164+1ubuntu3) ...
update-alternatives: unable to make /usr/share/man/ru.UTF-8/man1/editor.1.gz.dpkg-tmp a symlink to /etc/alternatives/editor.ru.UTF-8.1.gz: No such file or directory
dpkg: error processing vim (--configure):
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 vim-tiny
 ubuntu-minimal
 nano
 ubuntu-standard
 vim
E: Sub-process /usr/bin/dpkg returned an error code (1)

After this, I ran:
sudo touch /etc/alternatives/editor.ru.UTF-8.1.gz /etc/alternatives/ex.ru.KOI8-R.1.gz

Then the apt-get install -f worked, although I'm not sure if the update-manager had some more plans for the rest of the install or not. update-manager -d doesn't show the upgrade as being available anymore, so I assume it's ok. apt-get dist-upgrade shows no more to be done.

Hope that helps.