急急 我新装的系统不能升级

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
Qzier
帖子: 41
注册时间: 2008-02-15 0:45

急急 我新装的系统不能升级

#1

帖子 Qzier » 2008-02-27 22:35

我新装的系统因为在升级过程断电 导致在下一次启动后 update manager 不能用了

弹出警告页面

Could not initialize the package information

A unresolvable problem occurred while initializing the package information.

Please report this bug against the 'update-manager' package and include the following error message:

'E:Type '/dev/sda1' is not known on line 1 in source list /etc/apt/sources.list, E:The list of sources could not be read.'




连带的 新立得软件 添加与删除 语言支持 也都不能打开

请各位帮忙解决一下

我试过在终端中

×@ubuntufreq:~$ sudo apt-get update
[sudo] password for qzier:
E: Type '/dev/sda1' is not known on line 1 in source list /etc/apt/sources.list
×@ubuntufreq:~$ gedit /etc/apt/sources.list

都不能打开
头像
karron
帖子: 6226
注册时间: 2005-06-11 14:03
来自: 不明真相的群众
联系:

#2

帖子 karron » 2008-02-27 22:51

E: Type '/dev/sda1' is not known on line 1 in source list /etc/apt/sources.list

这句话的意思是让你看看你的 /etc/apt/sources.list 文件对不对. 你把里面的内容贴出来看看呢.
我的blog,关于技术,软件,linux,vim <---- 所有博客均被河蟹.
头像
skylarkwnl
帖子: 224
注册时间: 2007-06-13 11:32

#3

帖子 skylarkwnl » 2008-02-27 23:55

把你的/etc/apt/sources.list文件第一行加个#注释掉,再试试。
Qzier
帖子: 41
注册时间: 2008-02-15 0:45

#4

帖子 Qzier » 2008-02-28 2:39

我不行啊 根本打开 sources.list

用gedit也不行

打开时它总提示编码错误 说unicode 8不能打开 叫我换个编码 换了也不行啊

而且是新装的系统 我没修改过什么啊
Qzier
帖子: 41
注册时间: 2008-02-15 0:45

#5

帖子 Qzier » 2008-02-28 2:55

我想起了件事

我在装系统完了后 还安装了一个软件 fcitx

而且它的config是gbk 需要转utf-8

我在 ~/ 下新建了个文件

.vimrc

并在该文件中加入一行:set fileencodings=utf-8,gbk,ucs-bom,cp936

上面这个文件有影响吗 能不能顺便给我分析一下这个文件的内容
tg8866
帖子: 471
注册时间: 2008-02-01 7:16

#6

帖子 tg8866 » 2008-02-28 5:30

sudo gedit /etc/apt/sources.list

打不开就见鬼了。
changys04
帖子: 286
注册时间: 2006-11-08 16:33

#7

帖子 changys04 » 2008-02-28 8:17

实在不行干掉他,重新写一个
zenvid
帖子: 65
注册时间: 2005-11-14 22:18

#8

帖子 zenvid » 2008-02-28 9:50

就是 重建个source.list
Qzier
帖子: 41
注册时间: 2008-02-15 0:45

#9

帖子 Qzier » 2008-02-28 12:03

只能这样了
回复