在装软件的的过程中遇到了装不上,卸不了的问题,具体看下面,真是恼火,到网上搜到一个办法,但是只解决了一部分,下面的就是剩下的,请牛人帮忙……[code]正在读取软件包列表... 完成
正在分析软件包的依赖关系树
读取状态信息... 完成
共升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 7 个软件未被升级。
有 11 个软件包没有被完全安装或卸载。
操作完成后,会消耗掉 0B 的额外磁盘空间。
正在设置 bash-doc (3.2-0ubuntu18) ...
install-info: 没有指定目录文件;试用 --help 以获得更多信息。
dpkg:处理 bash-doc (--configure)时出错:
子进程 post-installation script 返回了错误号 1
正在设置 bison-doc (1:2.3-2) ...
install-info: 没有指定目录文件;试用 --help 以获得更多信息。
dpkg:处理 bison-doc (--configure)时出错:
子进程 post-installation script 返回了错误号 1
正在设置 g-wrap (1.9.9-3) ...
install-info: 没有指定目录文件;试用 --help 以获得更多信息。
dpkg:处理 g-wrap (--configure)时出错:
子进程 post-installation script 返回了错误号 1
正在设置 gnutls-doc (2.0.4-1ubuntu2.1) ...
install-info: 没有指定目录文件;试用 --help 以获得更多信息。
dpkg:处理 gnutls-doc (--configure)时出错:
子进程 post-installation script 返回了错误号 1
正在设置 grub-doc (0.97-29ubuntu21) ...
install-info: 没有指定目录文件;试用 --help 以获得更多信息。
dpkg:处理 grub-doc (--configure)时出错:
子进程 post-installation script 返回了错误号 1
正在设置 guile-1.8-doc (1.8.3+1-1) ...
install-info: 没有指定目录文件;试用 --help 以获得更多信息。
dpkg:处理 guile-1.8-doc (--configure)时出错:
子进程 post-installation script 返回了错误号 1
正在设置 libreadline5-dev (5.2-3build1) ...
install-info: 没有指定目录文件;试用 --help 以获得更多信息。
dpkg:处理 libreadline5-dev (--configure)时出错:
子进程 post-installation script 返回了错误号 1
正在设置 make-doc (3.81-3) ...
install-info: 没有指定目录文件;试用 --help 以获得更多信息。
dpkg:处理 make-doc (--configure)时出错:
子进程 post-installation script 返回了错误号 1
正在设置 parted-doc (1.7.1-5.1ubuntu9.1) ...
install-info: 没有指定目录文件;试用 --help 以获得更多信息。
dpkg:处理 parted-doc (--configure)时出错:
子进程 post-installation script 返回了错误号 1
正在设置 tar-doc (1.19-1) ...
install-info: 没有指定目录文件;试用 --help 以获得更多信息。
dpkg:处理 tar-doc (--configure)时出错:
子进程 post-installation script 返回了错误号 1
正在设置 zsh-doc (4.3.4-24ubuntu1) ...
install-info: 没有指定目录文件;试用 --help 以获得更多信息。
dpkg:处理 zsh-doc (--configure)时出错:
子进程 post-installation script 返回了错误号 1
在处理时有错误发生:
bash-doc
bison-doc
g-wrap
gnutls-doc
grub-doc
guile-1.8-doc
libreadline5-dev
make-doc
parted-doc
tar-doc
zsh-doc
E: Sub-process /usr/bin/dpkg returned an error code (1)[/code]这是我找到的解决了部分问题的办法,如下:
引用:解决方法:修改 /var/lib/dpkg/info/msttcorefonts.prerm
把set -e改为set -x就能顺利卸载
问题陈述如下:
本想装一个字体包msttcorefonts,装到一半因为源里没有相应文件而失败。结果以后每
次apt-get都会自动继续msttcorefonts的安装...导致其他软件都无法安装。我试了dpkg-re
configure -a,apt-get remove ,apt-get -f -m都会出同样的错误。
错误信息:
Connecting to 59.66.131.43:808... connected.
Proxy request sent, awaiting response... 407 Unauthorized
14:55:50 ERROR 407: Unauthorized.
--14:55:50-- http://switch.dl.sourceforge.net/sou...ts/andale32.ex
e
=> `./andale32.exe'
Connecting to 59.66.131.43:808... connected.
Proxy request sent, awaiting response... 407 Unauthorized
14:55:50 ERROR 407: Unauthorized.
andale32.exe: No such file or directory
All done, errors in processing 1 file(s)
dpkg: 作下列清理工作时发生错误:
子进程 post-installation script 返回了错误号 1
在处理时有错误发生:
msttcorefonts
E: Sub-process /usr/bin/dpkg returned an error code (1)