免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2956 | 回复: 0
打印 上一主题 下一主题

ubuntu典型的更新部分失败解决方法 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-12-29 02:15 |只看该作者 |倒序浏览
1 现象
例: 安装多媒体解码器sudo apt-get install ubuntu-restricted-extras
有部分失败
下面给出更新失败的代码:
sudo apt-get dist-upgrade
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
Reading state information... 完成
正在筹划升级... 完成
共升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件未被升级。
有 17 个软件包没有被完全安装或卸载。
需要下载 0B 的软件包。
解压缩后会消耗掉 0B 的额外空间。
您希望继续执行吗?[Y/n]y
正在解析主机 heanet.dl.sourceforge.net... 193.1.193.66
正在连接 heanet.dl.sourceforge.net|193.1.193.66|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度: 246,008 (240K) [application/octet-stream]
100%[====================================>] 246,008       74.25K/s    ETA 00:00
01:54:34 (74.14 KB/s) - `./comic32.exe' 已经保存 [246008/246008]
--01:54:34--  http://heanet.dl.sourceforge.net/sourceforge/corefonts/courie32.exe
           => `./courie32.exe'
正在解析主机 heanet.dl.sourceforge.net... 193.1.193.66
正在连接 heanet.dl.sourceforge.net|193.1.193.66|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度: 646,368 (631K) [application/octet-stream]
100%[====================================>] 646,368      111.67K/s    ETA 00:00
01:54:44 (77.85 KB/s) - `./courie32.exe' 已经保存 [646368/646368]
--01:54:44--  http://heanet.dl.sourceforge.net/sourceforge/corefonts/georgi32.exe
           => `./georgi32.exe'
正在解析主机 heanet.dl.sourceforge.net... 193.1.193.66
正在连接 heanet.dl.sourceforge.net|193.1.193.66|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度: 392,440 (383K) [application/octet-stream]
100%[====================================>] 392,440       62.18K/s    ETA 00:00
01:54:51 (62.11 KB/s) - `./georgi32.exe' 已经保存 [392440/392440]
--01:54:51--  http://heanet.dl.sourceforge.net/sourceforge/corefonts/impact32.exe
           => `./impact32.exe'
正在解析主机 heanet.dl.sourceforge.net... 193.1.193.66
正在连接 heanet.dl.sourceforge.net|193.1.193.66|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度: 173,288 (169K) [application/octet-stream]
100%[====================================>] 173,288       59.71K/s            
01:54:54 (59.63 KB/s) - `./impact32.exe' 已经保存 [173288/173288]
--01:54:54--  http://heanet.dl.sourceforge.net/sourceforge/corefonts/times32.exe
           => `./times32.exe'
正在解析主机 heanet.dl.sourceforge.net... 193.1.193.66
正在连接 heanet.dl.sourceforge.net|193.1.193.66|:80... 失败:Connection timed out。
已放弃。
--01:54:59--  http://superb-west.dl.sourceforge.net/sourceforge/corefonts/times32.exe
           => `./times32.exe'
正在解析主机 superb-west.dl.sourceforge.net... 209.160.59.253
正在连接 superb-west.dl.sourceforge.net|209.160.59.253|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度: 661,728 (646K) [application/octet-stream]
100%[====================================>] 661,728      174.76K/s    ETA 00:00
01:55:05 (135.21 KB/s) - `./times32.exe' 已经保存 [661728/661728]
--01:55:05--  http://superb-west.dl.sourceforge.net/sourceforge/corefonts/trebuc32.exe
           => `./trebuc32.exe'
正在解析主机 superb-west.dl.sourceforge.net... 209.160.59.253
正在连接 superb-west.dl.sourceforge.net|209.160.59.253|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度: 357,200 (349K) [application/octet-stream]
100%[====================================>] 357,200      110.35K/s    ETA 00:00
01:55:09 (110.06 KB/s) - `./trebuc32.exe' 已经保存 [357200/357200]
--01:55:09--  http://superb-west.dl.sourceforge.net/sourceforge/corefonts/verdan32.exe
           => `./verdan32.exe'
正在解析主机 superb-west.dl.sourceforge.net... 209.160.59.253
正在连接 superb-west.dl.sourceforge.net|209.160.59.253|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度: 351,992 (344K) [application/octet-stream]
100%[====================================>] 351,992      111.21K/s    ETA 00:00
01:55:13 (110.91 KB/s) - `./verdan32.exe' 已经保存 [351992/351992]
--01:55:13--  http://superb-west.dl.sourceforge.net/sourceforge/corefonts/webdin32.exe
           => `./webdin32.exe'
正在解析主机 superb-west.dl.sourceforge.net... 209.160.59.253
正在连接 superb-west.dl.sourceforge.net|209.160.59.253|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度: 185,072 (181K) [application/octet-stream]
100%[====================================>] 185,072       33.04K/s    ETA 00:00
01:55:21 (25.92 KB/s) - `./webdin32.exe' 已经保存 [185072/185072]
Extracting cabinet: andale32.exe
  extracting fontinst.inf
  extracting andale.inf
  extracting fontinst.exe
  extracting AndaleMo.TTF
  extracting ADVPACK.DLL
  extracting W95INF32.DLL
  extracting W95INF16.DLL
All done, no errors.
Extracting cabinet: arialb32.exe
  extracting fontinst.exe
  extracting fontinst.inf
  extracting AriBlk.TTF
All done, no errors.
Extracting cabinet: arial32.exe
  extracting FONTINST.EXE
  extracting fontinst.inf
  extracting Ariali.TTF
  extracting Arialbd.TTF
  extracting Arialbi.TTF
  extracting Arial.TTF
All done, no errors.
Extracting cabinet: comic32.exe
  extracting fontinst.inf
  extracting Comicbd.TTF
  extracting Comic.TTF
  extracting fontinst.exe
All done, no errors.
Extracting cabinet: courie32.exe
  extracting cour.ttf
  extracting courbd.ttf
  extracting courbi.ttf
  extracting fontinst.inf
  extracting couri.ttf
  extracting fontinst.exe
All done, no errors.
Extracting cabinet: georgi32.exe
  extracting fontinst.inf
  extracting Georgiaz.TTF
  extracting Georgiab.TTF
  extracting Georgiai.TTF
  extracting Georgia.TTF
  extracting fontinst.exe
All done, no errors.
Extracting cabinet: impact32.exe
  extracting fontinst.exe
  extracting Impact.TTF
  extracting fontinst.inf
All done, no errors.
Extracting cabinet: times32.exe
  extracting fontinst.inf
  extracting Times.TTF
  extracting Timesbd.TTF
  extracting Timesbi.TTF
  extracting Timesi.TTF
  extracting FONTINST.EXE
All done, no errors.
Extracting cabinet: trebuc32.exe
  extracting FONTINST.EXE
  extracting trebuc.ttf
  extracting Trebucbd.ttf
  extracting trebucbi.ttf
  extracting trebucit.ttf
  extracting fontinst.inf
All done, no errors.
Extracting cabinet: verdan32.exe
  extracting fontinst.exe
  extracting fontinst.inf
  extracting Verdanab.TTF
  extracting Verdanai.TTF
  extracting Verdanaz.TTF
  extracting Verdana.TTF
All done, no errors.
Extracting cabinet: webdin32.exe
  extracting fontinst.exe
  extracting Webdings.TTF
  extracting fontinst.inf
  extracting Licen.TXT
All done, no errors.
All fonts downloaded and installed.
/var/lib/defoma/fontconfig.d/B: failed to write cache
/var/lib/defoma/fontconfig.d/D: failed to write cache
/var/lib/defoma/fontconfig.d/E: failed to write cache
/var/lib/defoma/fontconfig.d/F: failed to write cache
/var/lib/defoma/fontconfig.d/H: failed to write cache
/var/lib/defoma/fontconfig.d/J: failed to write cache
/var/lib/defoma/fontconfig.d/K: failed to write cache
/var/lib/defoma/fontconfig.d/L: failed to write cache
/var/lib/defoma/fontconfig.d/M: failed to write cache
/var/lib/defoma/fontconfig.d/N: failed to write cache
/var/lib/defoma/fontconfig.d/O: failed to write cache
/var/lib/defoma/fontconfig.d/P: failed to write cache
/var/lib/defoma/fontconfig.d/R: failed to write cache
/var/lib/defoma/fontconfig.d/S: failed to write cache
/var/lib/defoma/fontconfig.d/U: failed to write cache
/var/lib/defoma/fontconfig.d/m: failed to write cache
/var/lib/defoma/fontconfig.d/u: failed to write cache
No CIDSupplement specified for Batang-Bold, defaulting to 0.
No CIDSupplement specified for Dotum-Regular, defaulting to 0.
No CIDSupplement specified for KochiGothic-Regular, defaulting to 0.
No CIDSupplement specified for Dotum-Bold, defaulting to 0.
No CIDSupplement specified for Batang-Regular, defaulting to 0.
No CIDSupplement specified for KochiMincho-Regular-JaH, defaulting to 0.
No CIDSupplement specified for KochiGothic-Regular-JaH, defaulting to 0.
No CIDSupplement specified for KochiMincho-Regular, defaulting to 0.
Couldn't get cwd: No such file or directory
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
正在设置 ttf-opensymbol (1:2.3.0-1ubuntu5.3) ...
Updating fontconfig cache...
/usr/share/fonts/X11: failed to write cache
/usr/share/fonts/X11/100dpi: failed to write cache
/usr/share/fonts/X11/75dpi: failed to write cache
/usr/share/fonts/X11/Type1: failed to write cache
/usr/share/fonts/X11/encodings: failed to write cache
/usr/share/fonts/X11/encodings/large: failed to write cache
/usr/share/fonts/X11/misc: failed to write cache
/usr/share/fonts/X11/util: failed to write cache
/usr/share/fonts/truetype/arphic: failed to write cache
/usr/share/fonts/truetype/freefont: failed to write cache
/usr/share/fonts/truetype/kochi: failed to write cache
/usr/share/fonts/truetype/thai: failed to write cache
/usr/share/fonts/truetype/ttf-arabeyes: failed to write cache
/usr/share/fonts/truetype/ttf-bitstream-vera: failed to write cache
/usr/share/fonts/truetype/ttf-dejavu: failed to write cache
/usr/share/fonts/truetype/ttf-gentium: failed to write cache
/usr/share/fonts/truetype/ttf-indic-fonts-core: failed to write cache
/usr/share/fonts/truetype/ttf-lao: failed to write cache
/usr/share/fonts/truetype/ttf-malayalam-fonts: failed to write cache
/usr/share/fonts/truetype/ttf-mgopen: failed to write cache
/usr/share/fonts/truetype/unfonts: failed to write cache
/usr/share/fonts/type1: failed to write cache
/usr/share/fonts/type1/gsfonts: failed to write cache
/usr/local/share/fonts: failed to write cache
/var/lib/defoma/fontconfig.d/B: failed to write cache
/var/lib/defoma/fontconfig.d/D: failed to write cache
/var/lib/defoma/fontconfig.d/E: failed to write cache
/var/lib/defoma/fontconfig.d/F: failed to write cache
/var/lib/defoma/fontconfig.d/H: failed to write cache
/var/lib/defoma/fontconfig.d/J: failed to write cache
/var/lib/defoma/fontconfig.d/K: failed to write cache
/var/lib/defoma/fontconfig.d/L: failed to write cache
/var/lib/defoma/fontconfig.d/M: failed to write cache
/var/lib/defoma/fontconfig.d/N: failed to write cache
/var/lib/defoma/fontconfig.d/O: failed to write cache
/var/lib/defoma/fontconfig.d/P: failed to write cache
/var/lib/defoma/fontconfig.d/R: failed to write cache
/var/lib/defoma/fontconfig.d/S: failed to write cache
/var/lib/defoma/fontconfig.d/U: failed to write cache
/var/lib/defoma/fontconfig.d/m: failed to write cache
/var/lib/defoma/fontconfig.d/u: failed to write cache
dpkg:处理 ttf-opensymbol (--configure)时出错:
子进程 post-installation script 返回了错误号 41
dpkg:依赖关系问题使得 openoffice.org-core 的配置工作不能继续:
openoffice.org-core 依赖于 ttf-opensymbol;然而:
  软件包 ttf-opensymbol 还没有被配置。
dpkg:处理 openoffice.org-core (--configure)时出错:
依赖关系问题 - 仍未被配置
dpkg:依赖关系问题使得 openoffice.org-draw 的配置工作不能继续:
openoffice.org-draw 依赖于 openoffice.org-core (= 1:2.3.0-1ubuntu5.3);然而:
  软件包 openoffice.org-core 还没有被配置。
dpkg:处理 openoffice.org-draw (--configure)时出错:
依赖关系问题 - 仍未被配置
dpkg:依赖关系问题使得 openoffice.org-gtk 的配置工作不能继续:
openoffice.org-gtk 依赖于 openoffice.org-core (= 1:2.3.0-1ubuntu5.3);然而:
  软件包 openoffice.org-core 还没有被配置。
dpkg:处理 openoffice.org-gtk (--configure)时出错:
依赖关系问题 - 仍未被配置
dpkg:依赖关系问题使得 openoffice.org-calc 的配置工作不能继续:
openoffice.org-calc 依赖于 openoffice.org-core (= 1:2.3.0-1ubuntu5.3);然而:
  软件包 openoffice.org-core 还没有被配置。
dpkg:处理 openoffice.org-calc (--configure)时出错:
依赖关系问题 - 仍未被配置
dpkg:依赖关系问题使得 openoffice.org-common 的配置工作不能继续:
openoffice.org-common 依赖于 openoffice.org-core (>> 1:2.3.0);然而:
  软件包 openoffice.org-core 还没有被配置。
dpkg:处理 openoffice.org-common (--configure)时出错:
依赖关系问题 - 仍未被配置
dpkg:依赖关系问题使得 openoffice.org-writer 的配置工作不能继续:
openoffice.org-writer 依赖于 openoffice.org-core (= 1:2.3.0-1ubuntu5.3);然而:
  软件包 openoffice.org-core 还没有被配置。
dpkg:处理 openoffice.org-writer (--configure)时出错:
依赖关系问题 - 仍未被配置
dpkg:依赖关系问题使得 python-uno 的配置工作不能继续:
python-uno 依赖于 openoffice.org-core (= 1:2.3.0-1ubuntu5.3);然而:
  软件包 openoffice.org-core 还没有被配置。
dpkg:处理 python-uno (--configure)时出错:
依赖关系问题 - 仍未被配置
dpkg:依赖关系问题使得 openoffice.org 的配置工作不能继续:
openoffice.org 依赖于 openoffice.org-core (= 1:2.3.0-1ubuntu5.3);然而:
  软件包 openoffice.org-core 还没有被配置。
openoffice.org 依赖于 openoffice.org-writer;然而:
  软件包 openoffice.org-writer 还没有被配置。
openoffice.org 依赖于 openoffice.org-calc;然而:
  软件包 openoffice.org-calc 还没有被配置。
openoffice.org 依赖于 openoffice.org-draw;然而:
  软件包 openoffice.org-draw 还没有被配置。
dpkg:处理 openoffice.org (--configure)时出错:
依赖关系问题 - 仍未被配置
dpkg:依赖关系问题使得 openoffice.org-evolution 的配置工作不能继续:
openoffice.org-evolution 依赖于 openoffice.org-core (= 1:2.3.0-1ubuntu5.3);然而:
  软件包 openoffice.org-core 还没有被配置。
dpkg:处理 openoffice.org-evolution (--configure)时出错:
依赖关系问题 - 仍未被配置
dpkg:依赖关系问题使得 openoffice.org-style-human 的配置工作不能继续:
openoffice.org-style-human 依赖于 openoffice.org-common (= 1:2.3.0-1ubuntu5.3);然而:
  软件包 openoffice.org-common 还没有被配置。
dpkg:处理 openoffice.org-style-human (--configure)时出错:
依赖关系问题 - 仍未被配置
dpkg:依赖关系问题使得 openoffice.org-gnome 的配置工作不能继续:
openoffice.org-gnome 依赖于 openoffice.org-core (= 1:2.3.0-1ubuntu5.3);然而:
  软件包 openoffice.org-core 还没有被配置。
openoffice.org-gnome 依赖于 openoffice.org-gtk;然而:
  软件包 openoffice.org-gtk 还没有被配置。
dpkg:处理 openoffice.org-gnome (--configure)时出错:
依赖关系问题 - 仍未被配置
dpkg:依赖关系问题使得 openoffice.org-java-common 的配置工作不能继续:
openoffice.org-java-common 依赖于 openoffice.org-common;然而:
  软件包 openoffice.org-common 还没有被配置。
dpkg:处理 openoffice.org-java-common (--configure)时出错:
依赖关系问题 - 仍未被配置
dpkg:依赖关系问题使得 openoffice.org-impress 的配置工作不能继续:
openoffice.org-impress 依赖于 openoffice.org-core (= 1:2.3.0-1ubuntu5.3);然而:
  软件包 openoffice.org-core 还没有被配置。
openoffice.org-impress 依赖于 openoffice.org-draw (= 1:2.3.0-1ubuntu5.3);然而:
  软件包 openoffice.org-draw 还没有被配置。
dpkg:处理 openoffice.org-impress (--configure)时出错:
依赖关系问题 - 仍未被配置
dpkg:依赖关系问题使得 openoffice.org-base 的配置工作不能继续:
openoffice.org-base 依赖于 openoffice.org-core (= 1:2.3.0-1ubuntu5.3);然而:
  软件包 openoffice.org-core 还没有被配置。
openoffice.org-base 依赖于 openoffice.org-java-common (>> 2.2.0-4);然而:
  软件包 openoffice.org-java-common 还没有被配置。
dpkg:处理 openoffice.org-base (--configure)时出错:
依赖关系问题 - 仍未被配置
dpkg:依赖关系问题使得 openoffice.org-math 的配置工作不能继续:
openoffice.org-math 依赖于 openoffice.org-core (= 1:2.3.0-1ubuntu5.3);然而:
  软件包 openoffice.org-core 还没有被配置。
dpkg:处理 openoffice.org-math (--configure)时出错:
依赖关系问题 - 仍未被配置
在处理时有错误发生:
ttf-opensymbol
openoffice.org-core
openoffice.org-draw
openoffice.org-gtk
openoffice.org-calc
openoffice.org-common
openoffice.org-writer
python-uno
openoffice.org
openoffice.org-evolution
openoffice.org-style-human
openoffice.org-gnome
openoffice.org-java-common
openoffice.org-impress
openoffice.org-base
openoffice.org-math
2 解决方法
高人给的方法
sudo fc-cache -fv 2>&1 | grep failed | cut -f1 -d":" | xargs -i sudo touch {} && sudo fc-cache -fv
3现在再重新运输入安装命令即可
               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/57973/showart_452614.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP