我的软件中心停止更新我的软件,并且我收到以下信息:
The following packages have unmet dependencies:
linux-headers-generic : Depends: linux-headers-3.2.0-57-generic but it is not installed
linux-headers-generic-pae : Depends: linux-headers-3.2.0-57-generic-pae but it is not installed
因此我尝试使用 apt-get 和 -f install,但没有成功,并出现以下消息:
(Reading database ... 652236 files and directories currently installed.)
Unpacking linux-headers-3.2.0-57-generic (from .../linux-headers-3.2.0-57-generic_3.2.0-57.87_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/linux-headers-3.2.0-57-generic_3.2.0-57.87_i386.deb (--unpack):
unable to create `/usr/src/linux-headers-3.2.0-57-generic/include/config/comedi/dt2811.h.dpkg-new' (while processing `./usr/src/linux-headers-3.2.0-57-generic/include/config/comedi/dt2811.h'): 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)
Unpacking linux-headers-3.2.0-57-generic-pae (from .../linux-headers-3.2.0-57-generic-pae_3.2.0-57.87_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/linux-headers-3.2.0-57-generic-pae_3.2.0-57.87_i386.deb (--unpack):
unable to create `/usr/src/linux-headers-3.2.0-57-generic-pae/include/config/net/sch/atm.h.dpkg-new' (while processing `./usr/src/linux-headers-3.2.0-57-generic-pae/include/config/net/sch/atm.h'): 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)
Errors were encountered while processing:
/var/cache/apt/archives/linux-headers-3.2.0-57-generic_3.2.0-57.87_i386.deb
/var/cache/apt/archives/linux-headers-3.2.0-57-generic-pae_3.2.0-57.87_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
所以我尝试进入软件中心看看它能否帮我修复这个问题,但它返回了类似的消息。对新手有什么帮助吗?
答案1
这是来自日志
...No space left on device No apport report written because the error
message indicates a disk full error...
因此请通过以下方式检查磁盘空间
df -h
或者打开文件资源管理器 ( nautilus
) 进行检查。清空垃圾,删除未使用的文件,然后再次运行更新和安装 -f。
检查空闲 inode 的数量
df -i