所以当我做dpkg --get-selections | grep vmware的时候.
vmware-tools-core install
vmware-tools-esx-nox install
vmware-tools-foundation install
vmware-tools-guestlib purge
vmware-tools-libraries-nox install
vmware-tools-plugins-autoupgrade install
vmware-tools-plugins-deploypkg install
vmware-tools-plugins-guestinfo install
vmware-tools-plugins-hgfsserver install
vmware-tools-plugins-powerops install
vmware-tools-plugins-timesync install
vmware-tools-plugins-vix install
vmware-tools-plugins-vmbackup install
vmware-tools-services install我想移除这些。所以举个例子,当我这么做..。
sudo apt-get -f remove vmware-tools-core我得到..。
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
linux-image-virtual : Depends: linux-image-3.2.0-57-virtual but it is not going to be installed
linux-server : Depends: linux-headers-server (= 3.2.0.56.66) but 3.2.0.57.68 is to be installed
vmware-tools-esx-nox : Depends: vmware-tools-core (>= 9.0.5) but it is not going to be installed
vmware-tools-plugins-autoupgrade : Depends: vmware-tools-core-9.0.5
vmware-tools-plugins-deploypkg : Depends: vmware-tools-core-9.0.5
vmware-tools-plugins-guestinfo : Depends: vmware-tools-core-9.0.5
vmware-tools-plugins-hgfsserver : Depends: vmware-tools-core-9.0.5
vmware-tools-plugins-powerops : Depends: vmware-tools-core-9.0.5
vmware-tools-plugins-timesync : Depends: vmware-tools-core-9.0.5
vmware-tools-plugins-vix : Depends: vmware-tools-core-9.0.5
vmware-tools-plugins-vmbackup : Depends: vmware-tools-core-9.0.5
vmware-tools-services : Depends: vmware-tools-core-9.0.5
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).如果我运行apt-get -f install,我会.
After this operation, 36.3 MB of additional disk space will be used.
Do you want to continue [Y/n]?
(Reading database ... 464964 files and directories currently installed.)
Unpacking linux-image-3.2.0-57-virtual (from .../linux-image-3.2.0-57-virtual_3.2.0-57.87_amd64.deb) ...
Done.
dpkg: error processing /var/cache/apt/archives/linux-image-3.2.0-57-virtual_3.2.0-57.87_amd64.deb (--unpack):
failed in write on buffer copy for backend dpkg-deb during `./boot/abi-3.2.0-57-virtual': No space left on device
No apport report written because the error message indicates a disk full error
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.2.0-57-virtual /boot/vmlinuz-3.2.0-57-virtual
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.2.0-57-virtual /boot/vmlinuz-3.2.0-57-virtual
Errors were encountered while processing:
/var/cache/apt/archives/linux-image-3.2.0-57-virtual_3.2.0-57.87_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
johnmlocklear@vweb-dev:~$ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree 这是dpkg -l 'linux*‘http://pastie.org/8528966的输出
我的目标是删除vmware工具包。任何帮助都很感激..。
发布于 2013-12-04 17:42:28
你的问题是双重的。首先,您有一个充满磨擦的/boot。你得把它擦干净!运行dpkg -l 'linux*'并删除旧的未使用的内核。这将解决sudo apt-get -f install问题。下一次,您需要在一次猛扑中删除所有包:
sudo apt-get remove linux-image-server linux-server linux-image-3.2.0-48-virtual linux-image-3.2.0-51-generic linux-image-3.2.0-51-virtual linux-image-3.2.0-52-generic linux-image-3.2.0-52-virtual linux-image-3.2.0-53-generic linux-image-3.2.0-53-virtual linux-image-3.2.0-56-generic linux-image-3.2.0-56-virtual
sudo apt-get -f install
sudo apt-get autoremove vmware-tools-esx-nox vmware-tools-services vmware-tools-plugins-* vmware-tools-core
sudo apt-get install linux-server linux-headers-server这应该能解决你的问题
发布于 2013-12-05 22:08:47
我也有同样的问题,我在这个站点上找到了一些有用的信息(法语)。
当我执行一个di -f命令时,我发现使用的所有i节点(100%,如果我说错了,请纠正我)。
因此,您应该尝试清空/usr/src,看看它是否有效。
编辑:刚刚测试了这个解决方案,它成功了,我删除了/urs/src中的一些文件夹,然后我可以执行apt-get -f install命令。
https://askubuntu.com/questions/386061
复制相似问题