我用谷歌搜索过这个问题。我搜索过有关此问题的askubuntu页面,但找不到任何合适的解决方案。
我在尝试使用更新时遇到了这个问题:
关联
在此之前,我也尝试过使用更新管理器进行更新。但是,它失败并显示输入代码的建议
sudo apt-get -f install
之后你就可以看到我得到了什么
habi@habi-MS-7529:~$ sudo apt-get -f install
[sudo] password for habi:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up checkbox (0.15.6) ...
[Errno 5] Input/output error
dpkg: error processing checkbox (--configure):
subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of checkbox-qt:
checkbox-qt depends on checkbox (>= 0.15.6); however:
Package checkbox is not configured yet.
dpkg: error processing checkbox-qt (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
Errors were encountered while processing:
checkbox
checkbox-qt
E: Sub-process /usr/bin/dpkg returned an error code (1)
habi@habi-MS-7529:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up checkbox (0.15.6) ...
[Errno 5] Input/output error
dpkg: error processing checkbox (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of checkbox-qt:
checkbox-qt depends on checkbox (>= 0.15.6); however:
Package checkbox is not configured yet.
dpkg: error processing checkbox-qt (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
Errors were encountered while processing:
checkbox
checkbox-qt
E: Sub-process /usr/bin/dpkg returned an error code (1)
*注意:这与输入 sudo apt-get -f install 之前看到的错误相同
关于我的电脑>>>
内存 486.7 MiB 处理器 Intel Pentium(R) 4 CPU 3.00 GHz x 2 显卡 Gallium 0.4 on llvmpipe(LLVM 3.2,128 位) 操作系统类型 32 位 磁盘 18.5 GB
答案1
在升级之前,您必须首先解决依赖性问题。checkbox
并不是checkbox-qt
那么重要的包,可以删除:
sudo dpkg -r checkbox checkbox-qt
sudo apt-get update
sudo apt-get -f install
现在您可以升级系统了。