系统更新后出现samba不能安装,现在什么软件都装不了,也不能更新

Ubuntu各种衍生版本
回复
头像
tonytam
帖子: 485
注册时间: 2006-09-23 12:28

系统更新后出现samba不能安装,现在什么软件都装不了,也不能更新

#1

帖子 tonytam » 2007-06-02 13:26

昨晚update后,得到这个结果:

代码: 全选

tony@tony-laptop:~$ sudo apt-get update
获取:1 http://ubuntu.cn99.com dapper Release.gpg [189B]
获取:2 http://ubuntu.cn99.com dapper-updates Release.gpg [191B]
获取:3 http://ubuntu.cn99.com dapper-security Release.gpg [191B]
获取:4 http://ubuntu.cn99.com dapper-backports Release.gpg [191B]
获取:5 http://archive.ubuntu.org.cn dapper Release.gpg [189B]
获取:6 http://archive.ubuntu.org.cn dapper-updates Release.gpg [191B]
获取:7 http://archive.ubuntu.org.cn dapper-security Release.gpg [191B]
获取:8 http://archive.ubuntu.org.cn dapper-backports Release.gpg [191B]
命中 http://ubuntu.cn99.com dapper Release
命中 http://ubuntu.cn99.com dapper-updates Release
命中 http://ubuntu.cn99.com dapper-security Release
命中 http://ubuntu.cn99.com dapper-backports Release
忽略 http://archive.ubuntu.org.cn dapper Release.gpg
命中 http://ubuntu.cn99.com dapper/main Packages
命中 http://ubuntu.cn99.com dapper/restricted Packages
命中 http://ubuntu.cn99.com dapper/universe Packages
命中 http://ubuntu.cn99.com dapper/multiverse Packages
命中 http://ubuntu.cn99.com dapper-updates/main Packages
命中 http://ubuntu.cn99.com dapper-updates/restricted Packages
命中 http://ubuntu.cn99.com dapper-updates/universe Packages
命中 http://ubuntu.cn99.com dapper-updates/multiverse Packages
命中 http://ubuntu.cn99.com dapper-security/main Packages
命中 http://ubuntu.cn99.com dapper-security/restricted Packages
命中 http://archive.ubuntu.org.cn dapper Release
命中 http://archive.ubuntu.org.cn dapper-updates Release
命中 http://archive.ubuntu.org.cn dapper-security Release
命中 http://ubuntu.cn99.com dapper-security/universe Packages
命中 http://ubuntu.cn99.com dapper-security/multiverse Packages
命中 http://ubuntu.cn99.com dapper-backports/main Packages
命中 http://ubuntu.cn99.com dapper-backports/restricted Packages
命中 http://ubuntu.cn99.com dapper-backports/universe Packages
命中 http://ubuntu.cn99.com dapper-backports/multiverse Packages
命中 http://archive.ubuntu.org.cn dapper-backports Release
忽略 http://archive.ubuntu.org.cn dapper Release
命中 http://archive.ubuntu.org.cn dapper/main Packages
命中 http://archive.ubuntu.org.cn dapper/restricted Packages
命中 http://archive.ubuntu.org.cn dapper/universe Packages
命中 http://archive.ubuntu.org.cn dapper/multiverse Packages
命中 http://archive.ubuntu.org.cn dapper-updates/main Packages
命中 http://archive.ubuntu.org.cn dapper-updates/restricted Packages
命中 http://archive.ubuntu.org.cn dapper-updates/universe Packages
命中 http://archive.ubuntu.org.cn dapper-updates/multiverse Packages
命中 http://archive.ubuntu.org.cn dapper-security/main Packages
命中 http://archive.ubuntu.org.cn dapper-security/restricted Packages
获取:9 http://archive.ubuntu.org.cn dapper-security/universe Packages [56.6kB]
命中 http://archive.ubuntu.org.cn dapper-security/multiverse Packages
命中 http://archive.ubuntu.org.cn dapper-backports/main Packages
命中 http://archive.ubuntu.org.cn dapper-backports/restricted Packages
获取:10 http://cn.archive.ubuntu.com dapper Release.gpg [189B]
命中 http://archive.ubuntu.org.cn dapper-backports/universe Packages
命中 http://archive.ubuntu.org.cn dapper-backports/multiverse Packages
忽略 http://archive.ubuntu.org.cn dapper/main Packages
忽略 http://archive.ubuntu.org.cn dapper/universe Packages
忽略 http://archive.ubuntu.org.cn dapper/multiverse Packages
忽略 http://archive.ubuntu.org.cn dapper/restricted Packages
命中 http://cn.archive.ubuntu.com dapper Release
忽略 http://archive.ubuntu.org.cn dapper/main Packages
忽略 http://archive.ubuntu.org.cn dapper/universe Packages
忽略 http://archive.ubuntu.org.cn dapper/multiverse Packages
忽略 http://archive.ubuntu.org.cn dapper/restricted Packages
命中 http://archive.ubuntu.org.cn dapper/main Packages
命中 http://archive.ubuntu.org.cn dapper/universe Packages
命中 http://archive.ubuntu.org.cn dapper/multiverse Packages
获取:11 http://archive.ubuntu.org.cn dapper/restricted Packages [673B]
命中 http://archive.ubuntu.org.cn dapper/main Packages
命中 http://archive.ubuntu.org.cn dapper/universe Packages
命中 http://archive.ubuntu.org.cn dapper/multiverse Packages
99% [11 Packages gzip 0] [正在等待报头] [正在等待报头]
gzip: stdin: not in gzip format
错误 http://archive.ubuntu.org.cn dapper/restricted Packages
  子进程 gzip 返回了一个错误号 (1)
命中 http://cn.archive.ubuntu.com dapper/main Sources
获取:12 http://archive.ubuntu.org.cn dapper/restricted Packages [673B]
99% [正在等待报头]
gzip: stdin: not in gzip format
错误 http://archive.ubuntu.org.cn dapper/restricted Packages
  子进程 gzip 返回了一个错误号 (1)
命中 http://cn.archive.ubuntu.com dapper/restricted Sources
命中 http://cn.archive.ubuntu.com dapper/universe Sources
命中 http://cn.archive.ubuntu.com dapper/multiverse Sources
命中 http://cn.archive.ubuntu.com dapper/main Sources
命中 http://cn.archive.ubuntu.com dapper/restricted Sources
命中 http://cn.archive.ubuntu.com dapper/universe Sources
命中 http://cn.archive.ubuntu.com dapper/multiverse Sources
下载 56.6kB,耗时 2s (21.6kB/s)
无法下载 http://archive.ubuntu.org.cn/ubuntu-cn/dists/dapper/restricted/binary-i386/Packages.gz  子进程 gzip 返回了一个错误号 (1)
无法下载 http://archive.ubuntu.org.cn/ubuntu-cn/dists/dapper/restricted/binary-i386/Packages.gz  子进程 gzip 返回了一个错误号 (1)
正在读取软件包列表... 完成
W: Duplicate sources.list entry http://archive.ubuntu.org.cn dapper/main Packages (/var/lib/apt/lists/archive.ubuntu.org.cn_ubuntu-cn_dists_dapper_main_binary-i386_Packages)
W: Duplicate sources.list entry http://archive.ubuntu.org.cn dapper/universe Packages (/var/lib/apt/lists/archive.ubuntu.org.cn_ubuntu-cn_dists_dapper_universe_binary-i386_Packages)
W: Duplicate sources.list entry http://archive.ubuntu.org.cn dapper/multiverse Packages (/var/lib/apt/lists/archive.ubuntu.org.cn_ubuntu-cn_dists_dapper_multiverse_binary-i386_Packages)
W: Duplicate sources.list entry http://archive.ubuntu.org.cn dapper/restricted Packages (/var/lib/apt/lists/archive.ubuntu.org.cn_ubuntu-cn_dists_dapper_restricted_binary-i386_Packages)
W: 您可能需要运行 apt-get update 来解决这些问题
E: 有一些索引文件不能下载,它们可能被忽略了,也可能转而使用了旧的索引文件。
tony@tony-laptop:~$
upgrade后:

代码: 全选

tony@tony-laptop:~$ sudo apt-get upgrade
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
您也许需要运行“apt-get -f install”来纠正上面的错误。
下列的软件包有不能满足的依赖关系:
  samba: 依赖: samba-common (= 3.0.22-1ubuntu3.1) 但是 3.0.22-1ubuntu3.3 已经安 装了
E: 不能满足依赖关系。不妨试一下 -f 选项。
tony@tony-laptop:~$
想装其它软件都不行,都提示samba装不了,不管装什么软件。删又删不掉,整个流氓软件似的。

[/code]
头像
tonytam
帖子: 485
注册时间: 2006-09-23 12:28

#2

帖子 tonytam » 2007-06-02 13:30

现在连关机都麻烦得很,总是退出到注销界面,并没有关机。要在登录界面选“行动”关机。
头像
huangjiahua
帖子: 3294
注册时间: 2005-03-30 0:27
联系:

#3

帖子 huangjiahua » 2007-06-02 17:40

现在是有个 apt 源暂时出了点问题。稍等几天



另,她的提示
E: 不能满足依赖关系。不妨试一下 -f 选项。
是说执行

代码: 全选

sudo apt-get install -f
跃过无数的时间断层,只为了在
头像
tonytam
帖子: 485
注册时间: 2006-09-23 12:28

#4

帖子 tonytam » 2007-06-02 18:42

其实我有执行 apt-get install -f,但还是提示依赖有问题或子进程有问题,结果一个样。
头像
huangjiahua
帖子: 3294
注册时间: 2005-03-30 0:27
联系:

#5

帖子 huangjiahua » 2007-06-02 19:30

暂时先注释 ubuntu-cn 的源
跃过无数的时间断层,只为了在
Nakedpig
帖子: 154
注册时间: 2006-06-28 21:53

#6

帖子 Nakedpig » 2007-06-06 16:34

我反而觉得是亚洲官源有问题,不是cn99。我用欧洲的,ping速与亚洲的差不多,当然我还加了个其它的源。用亚洲源的时候问题出问题,在我的机子和我朋友的都一样。
genghisking
帖子: 1
注册时间: 2008-11-16 12:15

Re: 系统更新后出现samba不能安装,现在什么软件都装不了,也不能更新

#7

帖子 genghisking » 2008-11-16 12:17

Found this on another forum and it worked for me....

sudo rm -vf /var/lib/apt/lists/*

after I did that I was able to update and upgrade :em09
回复