昨天更新了系统后,再更新不了拉,安装也不行了,有下面提示,高手们告诉我怎么解决?
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
-
- 帖子: 91
- 注册时间: 2006-07-17 14:36
- 来自: 黑龙江
昨天更新了系统后,再更新不了拉,安装也不行了,有下面提示,高手们告诉我怎么解决?
tanyongliang@tanyongliang:~$ sudo apt-get install mplayer
[sudo] password for tanyongliang:
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
Reading state information... 完成
mplayer 已经是最新的版本了。
mplayer 设定为手动安装.
已经不需要下列自动安装的软件包:
libstdc++5 libgmp3c2 gcc-3.3-base
使用 'apt-get autoremove' 来删除它们。
共升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件未被升级。
有 1 个软件包没有被完全安装或卸载。
需要下载 0B 的软件包。
解压缩后会消耗掉 0B 的额外空间。
正在设置 tzdata (2007i-0ubuntu0.7.04) ...
Running 'tzconfig' to set this system's timezone.
/var/lib/dpkg/info/tzdata.postinst: line 27: /usr/sbin/tzconfig: No such file or directory
dpkg:处理 tzdata (--configure)时出错:
子进程 post-installation script 返回了错误号 1
在处理时有错误发生:
tzdata
E: Sub-process /usr/bin/dpkg returned an error code (1)
tanyongliang@tanyongliang:~$
[sudo] password for tanyongliang:
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
Reading state information... 完成
mplayer 已经是最新的版本了。
mplayer 设定为手动安装.
已经不需要下列自动安装的软件包:
libstdc++5 libgmp3c2 gcc-3.3-base
使用 'apt-get autoremove' 来删除它们。
共升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件未被升级。
有 1 个软件包没有被完全安装或卸载。
需要下载 0B 的软件包。
解压缩后会消耗掉 0B 的额外空间。
正在设置 tzdata (2007i-0ubuntu0.7.04) ...
Running 'tzconfig' to set this system's timezone.
/var/lib/dpkg/info/tzdata.postinst: line 27: /usr/sbin/tzconfig: No such file or directory
dpkg:处理 tzdata (--configure)时出错:
子进程 post-installation script 返回了错误号 1
在处理时有错误发生:
tzdata
E: Sub-process /usr/bin/dpkg returned an error code (1)
tanyongliang@tanyongliang:~$
-
- 帖子: 22
- 注册时间: 2007-11-12 17:42
我也是这样,然后我安装alien的时候也有同样提示,不会以后都没法安装软件吧。提示如下:
amoo@amoo-laptop:~$ sudo apt-get install alien
[sudo] password for amoo:
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
Reading state information... 完成
将会安装下列额外的软件包:
debhelper html2text intltool-debian libbeecrypt6 libneon25 librpm4
po-debconf rpm
建议安装的软件包:
lsb-rpm lintian dh-make
推荐安装的软件包:
libmail-sendmail-perl libcompress-zlib-perl
下列【新】软件包将被安装:
alien debhelper html2text intltool-debian libbeecrypt6 libneon25 librpm4
po-debconf rpm
共升级了 0 个软件包,新安装了 9 个软件包,要卸载 0 个软件包,有 9 个软件未被升级。
有 1 个软件包没有被完全安装或卸载。
需要下载 2676kB 的软件包。
解压缩后会消耗掉 8520kB 的额外空间。
您希望继续执行吗?[Y/n]y
获取:1 http://cn.archive.ubuntu.com gutsy/main html2text 1.3.2a-3build1 [90.6kB]
获取:2 http://cn.archive.ubuntu.com gutsy/main intltool-debian 0.35.0+20060710.1 [31.6kB]
获取:3 http://cn.archive.ubuntu.com gutsy/main po-debconf 1.0.9 [117kB]
获取:4 http://cn.archive.ubuntu.com gutsy/main debhelper 5.0.51ubuntu3 [526kB]
获取:5 http://cn.archive.ubuntu.com gutsy/main libbeecrypt6 4.1.2-6build1 [108kB]
获取:6 http://cn.archive.ubuntu.com gutsy/main libneon25 0.25.5.dfsg-6build1 [103kB]
获取:7 http://cn.archive.ubuntu.com gutsy/main librpm4 4.4.1-14.1ubuntu2 [991kB]
获取:8 http://cn.archive.ubuntu.com gutsy/main rpm 4.4.1-14.1ubuntu2 [603kB]
获取:9 http://cn.archive.ubuntu.com gutsy/main alien 8.68 [104kB]
下载 2676kB,耗时 23s (112kB/s)
正在设置 tzdata (2007i-0ubuntu0.7.04) ...
Running 'tzconfig' to set this system's timezone.
/var/lib/dpkg/info/tzdata.postinst: line 27: /usr/sbin/tzconfig: No such file or directory
dpkg:处理 tzdata (--configure)时出错:
子进程 post-installation script 返回了错误号 1
在处理时有错误发生:
tzdata
E: Sub-process /usr/bin/dpkg returned an error code (1)
amoo@amoo-laptop:~$
amoo@amoo-laptop:~$ sudo apt-get install alien
[sudo] password for amoo:
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
Reading state information... 完成
将会安装下列额外的软件包:
debhelper html2text intltool-debian libbeecrypt6 libneon25 librpm4
po-debconf rpm
建议安装的软件包:
lsb-rpm lintian dh-make
推荐安装的软件包:
libmail-sendmail-perl libcompress-zlib-perl
下列【新】软件包将被安装:
alien debhelper html2text intltool-debian libbeecrypt6 libneon25 librpm4
po-debconf rpm
共升级了 0 个软件包,新安装了 9 个软件包,要卸载 0 个软件包,有 9 个软件未被升级。
有 1 个软件包没有被完全安装或卸载。
需要下载 2676kB 的软件包。
解压缩后会消耗掉 8520kB 的额外空间。
您希望继续执行吗?[Y/n]y
获取:1 http://cn.archive.ubuntu.com gutsy/main html2text 1.3.2a-3build1 [90.6kB]
获取:2 http://cn.archive.ubuntu.com gutsy/main intltool-debian 0.35.0+20060710.1 [31.6kB]
获取:3 http://cn.archive.ubuntu.com gutsy/main po-debconf 1.0.9 [117kB]
获取:4 http://cn.archive.ubuntu.com gutsy/main debhelper 5.0.51ubuntu3 [526kB]
获取:5 http://cn.archive.ubuntu.com gutsy/main libbeecrypt6 4.1.2-6build1 [108kB]
获取:6 http://cn.archive.ubuntu.com gutsy/main libneon25 0.25.5.dfsg-6build1 [103kB]
获取:7 http://cn.archive.ubuntu.com gutsy/main librpm4 4.4.1-14.1ubuntu2 [991kB]
获取:8 http://cn.archive.ubuntu.com gutsy/main rpm 4.4.1-14.1ubuntu2 [603kB]
获取:9 http://cn.archive.ubuntu.com gutsy/main alien 8.68 [104kB]
下载 2676kB,耗时 23s (112kB/s)
正在设置 tzdata (2007i-0ubuntu0.7.04) ...
Running 'tzconfig' to set this system's timezone.
/var/lib/dpkg/info/tzdata.postinst: line 27: /usr/sbin/tzconfig: No such file or directory
dpkg:处理 tzdata (--configure)时出错:
子进程 post-installation script 返回了错误号 1
在处理时有错误发生:
tzdata
E: Sub-process /usr/bin/dpkg returned an error code (1)
amoo@amoo-laptop:~$
-
- 帖子: 22
- 注册时间: 2007-11-12 17:42
还是一样的错误
amoo@amoo-laptop:/usr/sbin$ sudo apt-get install -f
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
Reading state information... 完成
共升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 9 个软件未被升级。
有 1 个软件包没有被完全安装或卸载。
需要下载 0B 的软件包。
解压缩后会消耗掉 0B 的额外空间。
正在设置 tzdata (2007i-0ubuntu0.7.04) ...
Running 'tzconfig' to set this system's timezone.
/var/lib/dpkg/info/tzdata.postinst: line 27: /usr/sbin/tzconfig: No such file or directory
dpkg:处理 tzdata (--configure)时出错:
子进程 post-installation script 返回了错误号 1
在处理时有错误发生:
tzdata
E: Sub-process /usr/bin/dpkg returned an error code (1)
amoo@amoo-laptop:/usr/sbin$ sudo apt-get install -f
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
Reading state information... 完成
共升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 9 个软件未被升级。
有 1 个软件包没有被完全安装或卸载。
需要下载 0B 的软件包。
解压缩后会消耗掉 0B 的额外空间。
正在设置 tzdata (2007i-0ubuntu0.7.04) ...
Running 'tzconfig' to set this system's timezone.
/var/lib/dpkg/info/tzdata.postinst: line 27: /usr/sbin/tzconfig: No such file or directory
dpkg:处理 tzdata (--configure)时出错:
子进程 post-installation script 返回了错误号 1
在处理时有错误发生:
tzdata
E: Sub-process /usr/bin/dpkg returned an error code (1)
-
- 帖子: 91
- 注册时间: 2006-07-17 14:36
- 来自: 黑龙江
-
- 帖子: 22
- 注册时间: 2007-11-12 17:42
-
- 帖子: 91
- 注册时间: 2006-07-17 14:36
- 来自: 黑龙江
问题已经解决
我在论坛上问了,高人指点终于好了,就是把
/var/lib/dpkg/info/tzdata.postinst 删了 重新 apt-get update
/var/lib/dpkg/info/tzdata.postinst 删了 重新 apt-get update
-
- 帖子: 91
- 注册时间: 2006-07-17 14:36
- 来自: 黑龙江
-
- 帖子: 221
- 注册时间: 2007-11-08 18:19
-
- 帖子: 25
- 注册时间: 2007-10-31 14:18
-
- 帖子: 1
- 注册时间: 2007-11-07 12:52