Code: Select all
root@vps114830:~$ apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
vim-common
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
Need to get 0 B/163 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
/bin/sh: 1: /usr/sbin/dpkg-preconfigure: not found
/bin/sh: 1: /usr/sbin/dpkg-preconfigure: not found
/bin/sh: 1: /usr/sbin/dpkg-preconfigure: not found
(Reading database ... 72261 files and directories currently installed.)
Preparing to replace vim-common 2:7.3.547-7+deb7u1 (using .../vim-common_2%3a7.3.547-7+deb7u2_amd64.deb) ...
Unpacking replacement vim-common ...
/var/lib/dpkg/info/vim-common.postrm: 4: /var/lib/dpkg/info/vim-common.postrm: update-mime: not found
dpkg: warning: subprocess old post-removal script returned error exit status 127
dpkg: trying script from the new package instead ...
/var/lib/dpkg/tmp.ci/postrm: 4: /var/lib/dpkg/tmp.ci/postrm: update-mime: not found
dpkg: error processing /var/cache/apt/archives/vim-common_2%3a7.3.547-7+deb7u2_amd64.deb (--unpack):
subprocess new post-removal script returned error exit status 127
/var/lib/dpkg/tmp.ci/postrm: 4: /var/lib/dpkg/tmp.ci/postrm: update-mime: not found
dpkg: error while cleaning up:
subprocess new post-removal script returned error exit status 127
Processing triggers for mime-support ...
Processing triggers for man-db ...
Errors were encountered while processing:
/var/cache/apt/archives/vim-common_2%3a7.3.547-7+deb7u2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
not foun apt-get install -f
Code: Select all
root@vps114830:~$ sudo dpkg --configure -a
Setting up mercurial (2.2.2-4+deb7u3) ...
/usr/bin/ucf: line 377: perl: command not found
dpkg: error processing mercurial (--configure):
subprocess installed post-installation script returned error exit status 127
Setting up vim-runtime (2:7.3.547-7+deb7u2) ...
/var/lib/dpkg/info/vim-runtime.postinst: 24: /var/lib/dpkg/info/vim-runtime.postinst: helpztags: not found
dpkg: error processing vim-runtime (--configure):
subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
mercurial
vim-runtime