更新ubuntu失败后老是提示错误处理

2009年06月28日

1 现象
标题: 更新有部分失败,重开机后系统变慢

更新后打开程序变慢,刚刚装好的时候一点击firefox,终端什么的非常快,一点就打开了,刚装好进入系统按照任务栏的小泡泡提示更新,更新完重新启动开始变慢,输入用户名和密码后 要等好久才能够进入桌面,点击任何程序打开都非常慢,下面给出更新失败的代码:

sudo apt-get dist-upgrade

正在读取软件包列表… 完成
正在分析软件包的依赖关系树
Reading state information… 完成
正在筹划升级… 完成
共升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件未被升级。
有 17 个软件包没有被完全安装或卸载。
需要下载 0B 的软件包。
解压缩后会消耗掉 0B 的额外空间。
您希望继续执行吗?[Y/n]y
正在设置 ttf-opensymbol (2.2.0-1ubuntu4) …
Updating fontconfig cache…
/usr/share/fonts: failed to write 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: failed to write cache
/usr/share/fonts/truetype/arphic: failed to write cache
/usr/share/fonts/truetype/baekmuk: 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-bengali-fonts: 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-devanagari-fonts: failed to write cache
/usr/share/fonts/truetype/ttf-gentium: failed to write cache
/usr/share/fonts/truetype/ttf-gujarati-fonts: failed to write cache
/usr/share/fonts/truetype/ttf-kannada-fonts: 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/ttf-oriya-fonts: failed to write cache
/usr/share/fonts/truetype/ttf-punjabi-fonts: failed to write cache
/usr/share/fonts/truetype/ttf-tamil-fonts: failed to write cache
/usr/share/fonts/truetype/ttf-telugu-fonts: failed to write cache
/usr/share/fonts/type1: failed to write cache
/usr/share/fonts/type1/gsfonts: failed to write cache
/usr/share/X11/fonts: failed to write cache
/usr/share/X11/fonts/100dpi: failed to write cache
/usr/share/X11/fonts/75dpi: failed to write cache
/usr/share/X11/fonts/Type1: failed to write cache
/usr/share/X11/fonts/encodings: failed to write cache
/usr/share/X11/fonts/encodings/large: failed to write cache
/usr/share/X11/fonts/misc: failed to write cache
/usr/share/X11/fonts/util: failed to write cache
/usr/local/share/fonts: failed to write cache
/var/lib/defoma/fontconfig.d: failed to write cache
/var/lib/defoma/fontconfig.d/A: failed to write cache
/var/lib/defoma/fontconfig.d/B: failed to write cache
/var/lib/defoma/fontconfig.d/C: 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/G: 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/T: failed to write cache
/var/lib/defoma/fontconfig.d/U: failed to write cache
/var/lib/defoma/fontconfig.d/V: failed to write cache
/var/lib/defoma/fontconfig.d/a: failed to write cache
/var/lib/defoma/fontconfig.d/j: 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·返回了错误号·66
dpkg:依赖关系问题使得 openoffice.org-core 的配置工作不能继续:
openoffice.org-core 依赖于 ttf-opensymbol;然而:
软件包 ttf-opensymbol 还没有被配置。
dpkg:处理 openoffice.org-core (–configure)时出错:
依赖关系问题 – 仍未被配置
dpkg:依赖关系问题使得 python-uno 的配置工作不能继续:
python-uno 依赖于 openoffice.org-core (= 2.2.0-1ubuntu4);然而:
软件包 openoffice.org-core 还没有被配置。
dpkg:处理 python-uno (–configure)时出错:
依赖关系问题 – 仍未被配置
dpkg:依赖关系问题使得 openoffice.org-writer 的配置工作不能继续:
openoffice.org-writer 依赖于 openoffice.org-core (= 2.2.0-1ubuntu4);然而:
软件包 openoffice.org-core 还没有被配置。
openoffice.org-writer 依赖于 python-uno (>= 2.2.0);然而:
软件包 python-uno 还没有被配置。
dpkg:处理 openoffice.org-writer (–configure)时出错:
依赖关系问题 – 仍未被配置
dpkg:依赖关系问题使得 openoffice.org-calc 的配置工作不能继续:
openoffice.org-calc 依赖于 openoffice.org-core (= 2.2.0-1ubuntu4);然而:
软件包 openoffice.org-core 还没有被配置。
dpkg:处理 openoffice.org-calc (–configure)时出错:
依赖关系问题 – 仍未被配置
dpkg:依赖关系问题使得 openoffice.org-draw 的配置工作不能继续:
openoffice.org-draw 依赖于 openoffice.org-core (= 2.2.0-1ubuntu4);然而:
软件包 openoffice.org-core 还没有被配置。
dpkg:处理 openoffice.org-draw (–configure)时出错:
依赖关系问题 – 仍未被配置
dpkg:依赖关系问题使得 openoffice.org-impress 的配置工作不能继续:
openoffice.org-impress 依赖于 openoffice.org-core (= 2.2.0-1ubuntu4);然而:
软件包 openoffice.org-core 还没有被配置。
openoffice.org-impress 依赖于 openoffice.org-draw (= 2.2.0-1ubuntu4);然而:
软件包 openoffice.org-draw 还没有被配置。
dpkg:处理 openoffice.org-impress (–configure)时出错:
依赖关系问题 – 仍未被配置
dpkg:依赖关系问题使得 openoffice.org-math 的配置工作不能继续:
openoffice.org-math 依赖于 openoffice.org-core (= 2.2.0-1ubuntu4);然而:
软件包 openoffice.org-core 还没有被配置。
dpkg:处理 openoffice.org-math (–configure)时出错:
依赖关系问题 – 仍未被配置
dpkg:依赖关系问题使得 openoffice.org-base 的配置工作不能继续:
openoffice.org-base 依赖于 openoffice.org-core (= 2.2.0-1ubuntu4);然而:
软件包 openoffice.org-core 还没有被配置。
dpkg:处理 openoffice.org-base (–configure)时出错:
依赖关系问题 – 仍未被配置
dpkg:依赖关系问题使得 openoffice.org 的配置工作不能继续:
openoffice.org 依赖于 openoffice.org-core (= 2.2.0-1ubuntu4);然而:
软件包 openoffice.org-core 还没有被配置。
openoffice.org 依赖于 openoffice.org-writer;然而:
软件包 openoffice.org-writer 还没有被配置。
openoffice.org 依赖于 openoffice.org-calc;然而:
软件包 openoffice.org-calc 还没有被配置。
openoffice.org 依赖于 openoffice.org-impress;然而:
软件包 openoffice.org-impress 还没有被配置。
openoffice.org 依赖于 openoffice.org-draw;然而:
软件包 openoffice.org-draw 还没有被配置。
openoffice.org 依赖于 openoffice.org-math;然而:
软件包 openoffice.org-math 还没有被配置。
openoffice.org 依赖于 openoffice.org-base;然而:
软件包 openoffice.org-base 还没有被配置。
dpkg:处理 openoffice.org (–configure)时出错:
依赖关系问题 – 仍未被配置
dpkg:依赖关系问题使得 openoffice.org-evolution 的配置工作不能继续:
openoffice.org-evolution 依赖于 openoffice.org-core (= 2.2.0-1ubuntu4);然而:
软件包 openoffice.org-core 还没有被配置。
openoffice.org-evolution 依赖于 openoffice.org-base;然而:
软件包 openoffice.org-base 还没有被配置。
dpkg:处理 openoffice.org-evolution (–configure)时出错:
依赖关系问题 – 仍未被配置
dpkg:依赖关系问题使得 openoffice.org-gtk 的配置工作不能继续:
openoffice.org-gtk 依赖于 openoffice.org-core (= 2.2.0-1ubuntu4);然而:
软件包 openoffice.org-core 还没有被配置。
dpkg:处理 openoffice.org-gtk (–configure)时出错:
依赖关系问题 – 仍未被配置
dpkg:依赖关系问题使得 openoffice.org-gnome 的配置工作不能继续:
openoffice.org-gnome 依赖于 openoffice.org-core (= 2.2.0-1ubuntu4);然而:
软件包 openoffice.org-core 还没有被配置。
openoffice.org-gnome 依赖于 openoffice.org-gtk;然而:
软件包 openoffice.org-gtk 还没有被配置。
dpkg:处理 openoffice.org-gnome (–configure)时出错:
依赖关系问题 – 仍未被配置
dpkg:依赖关系问题使得 openoffice.org-common 的配置工作不能继续:
openoffice.org-common 依赖于 openoffice.org-core (>> 2.2.0) | openoffice.org-core-experimental (>> 2.2.0);然而:
软件包 openoffice.org-core 还没有被配置。
未曾安装软件包“openoffice.org-core-experimental”。
dpkg:处理 openoffice.org-common (–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-filter-mobiledev 的配置工作不能继续:
openoffice.org-filter-mobiledev 依赖于 openoffice.org-java-common (= 2.2.0-1ubuntu4);然而:
软件包 openoffice.org-java-common 还没有被配置。
dpkg:处理 openoffice.org-filter-mobiledev (–configure)时出错:
依赖关系问题 – 仍未被配置
dpkg:依赖关系问题使得 openoffice.org-style-human 的配置工作不能继续:
openoffice.org-style-human 依赖于 openoffice.org-common (= 2.2.0-1ubuntu4);然而:
软件包 openoffice.org-common 还没有被配置。
dpkg:处理 openoffice.org-style-human (–configure)时出错:
依赖关系问题 – 仍未被配置
在处理时有错误发生:
ttf-opensymbol
openoffice.org-core
python-uno
openoffice.org-writer
openoffice.org-calc
openoffice.org-draw
openoffice.org-impress
openoffice.org-math
openoffice.org-base
openoffice.org
openoffice.org-evolution
openoffice.org-gtk
openoffice.org-gnome
openoffice.org-common
openoffice.org-java-common
openoffice.org-filter-mobiledev
openoffice.org-style-human
E: Sub-process /usr/bin/dpkg returned an error code (1)
2 解决方法
高人给的方法
sudo fc-cache -fv 2>&1 | grep failed | cut -f1 -d”:” | xargs -i sudo touch {} && sudo fc-cache -fv
  Using the Installer

    * Ensure that the .bin file you downloaded is executable. You can make the .bin file executable by running the “chmod a+x RealPlayer10GOLD.bin” command from a terminal window.
    * Execute the .bin file by typing ./RealPlayer10GOLD.bin. It will provide you with several prompts and will walk you through the installation.

在ubuntu linux下使用ie内核的浏览器

2009年06月28日

IEs4Linux 可以让你的Linux,或其他安装了Wine的系统执行Internet Explorer的工具。
以下是在Ubuntu上安装IEs4Linux的步骤:
1.首先:打开命令行,就是所谓终端。
输入:cd  回到用户主目录。

2.完成修改及储存后,更新repository及安装所需套件:

sudo apt-get update
sudo apt-get install wine cabextract

3.现在可以安装IEs4Linux:

wget http://www.tatanka.com.br/ies4linux/downloads/ies4linux-2.0.3.tar.gz (注也可以到其网站上看最新的版本)
tar zxvf ies4linux-2.0.3.tar.gz
cd ies4linux-2.0.3
./ies4linux

安装程会开启,只需回答几条简单问题,或者全部按Enter也没问题。

4. IEs4Linux已经安装完成,根据你的安装目录开启IE只需执行以下指令:
/home/****/bin/ie6

在 ****  处填写你的用户名

我的电脑和计算机

2009年05月3日

前些天朋友刚买了台新电脑,系统是联想自带的vistat操作系统.我帮朋友安装了宽带,然后回家了.不一会儿朋友打过来电话问想放光盘看故事片,放入了光盘却看不到图像,这是怎么回事?
我问他有弹出什么提示没?他说没有.那你找”我的电脑”吧,然后双击打开,再双击光驱,就应该可以看了.朋友找了半天却没有发现”我的电脑”在何处.又打电话过来,我说看来我只能再过去一次了.
到了之后我插入光盘,有提示,然后设置了window media player之后就可以播放了.我再找”我的电脑”,却也没有发现,却看到了”计算机”,然后打开来看,跟”我的电脑”内容一样.原先在XP中称为”我的电脑”而在vista中却是”计算机”.真不知微软是怎么想的改了名称,让我费了半天劲.

节能从熄灯开始

2009年05月3日

当前节约能源日意重要,按中国农历计每月十三至每月十八期间,月光应该算是足够亮了,而灯光则仍如往常一样照明不误,如果此期间从球将灯光熄灭,节能我相信并非一个小数.