E: Sub-process /usr/bin/dpkg returned an error code (1)错误解决

简介:
http://ubuntuforums.org/showthread.php?t=1598999给出了一种解决方法,
引用:
Here is how I solved this problem.

1) Close> 代码:
sudo pkill apt
sudo apt-get clean
sudo pkill apt

3) Start Update Manager and hit "Check".
3a) If you have any updates, install the updates.
4) Close Update Manager.

WARNING: I received this problem when doing an update, even worse, when doing a kernel update. This problem forced only some of the packages to install so a reboot, as some suggest, would spell disaster in my case. Fix your problem before rebooting!
相关文章
E: flAbsPath on /var/lib/dpkg/status failed - realpath (2: 没有那个文件或目录)
E: flAbsPath on /var/lib/dpkg/status failed - realpath (2: 没有那个文件或目录)
155 0
|
7月前
问题提解决:ERROR: Could not install packages due to an OSError: HTTPSConnectionPool(host=‘files.pythonhos
问题提解决:ERROR: Could not install packages due to an OSError: HTTPSConnectionPool(host=‘files.pythonhos
|
8月前
|
C语言
安装mujoco报错:distutils.errors.DistutilsExecError: command ‘gcc‘ failed with exit status 1
安装mujoco报错:distutils.errors.DistutilsExecError: command ‘gcc‘ failed with exit status 1
248 0
configure: error: libacl not found
configure: error: libacl not found
61 0
flAbsPath on /var/lib/dpkg/status failed - realpath
flAbsPath on /var/lib/dpkg/status failed - realpath
88 0
|
Ubuntu
解决办法:GLib-ERROR **: Creating pipes for GWakeup: Too many open files
解决办法:GLib-ERROR **: Creating pipes for GWakeup: Too many open files
129 0
在处理时有错误发生: trousers tpm-tools E: Sub-process /usr/bin/dpkg returned an error code (1)
在处理时有错误发生: trousers tpm-tools E: Sub-process /usr/bin/dpkg returned an error code (1)
在处理时有错误发生: trousers tpm-tools E: Sub-process /usr/bin/dpkg returned an error code (1)
|
Ruby
ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /usr/bin directory.错误解决办法
ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /usr/bin directory.错误解决办法
2500 0
command exec make executable file not found in %PATH%
command exec make executable file not found in %PATH%
195 0
command exec make executable file not found in %PATH%
XOCDE构建提示Command /usr/bin/codesign failed with exit code 1的解决办法
XOCDE构建提示Command /usr/bin/codesign failed with exit code 1的解决办法
134 0