帮忙看个错误提示,谢谢(已解决)。

为当前最终发行版之前的所有版本提供支持
ccsingtao
帖子: 85
注册时间: 2007-04-18 15:41
送出感谢: 0
接收感谢: 0

帮忙看个错误提示,谢谢(已解决)。

#1

帖子 ccsingtao » 2007-08-30 19:27

麻烦各位懂得的朋友个问题:
7.04,我今天上午本来想安装些包,因为这些包在国内源没有,我在软件源里面更换到main server。后来在这个源的时候,系统自动检测到3个更新文件。之后我选择安装更新。再然后换回server for china后,更新出错。信息如下:(更新列表不可用。)


出现一个错误,请在右键菜单中运行Package Manager或在终端使用apt-get查看相关错误信息。
错误信息为:'Error:opening the cache(E:Malformed line 4 in source list /etc/apt/sources.list(URI parse), E:The list of source could not be read.)'
上次由 ccsingtao 在 2007-09-03 11:09,总共编辑 1 次。
ccsingtao
帖子: 85
注册时间: 2007-04-18 15:41
送出感谢: 0
接收感谢: 0

#2

帖子 ccsingtao » 2007-08-30 19:34

如有知道的请帮下下,谢谢。
ccsingtao
帖子: 85
注册时间: 2007-04-18 15:41
送出感谢: 0
接收感谢: 0

#3

帖子 ccsingtao » 2007-09-02 10:33

没人帮么?。。。
头像
leeaman
帖子: 30702
注册时间: 2007-02-02 18:14
系统: debian sid
送出感谢: 1 次
接收感谢: 23 次

#4

帖子 leeaman » 2007-09-02 11:48

还可以

代码: 全选

sudo apt-get update upgrade
醉了星星,醉月亮●●●●●The Long Way To Go(*^_^*)
头像
依寻依然
帖子: 1617
注册时间: 2006-10-31 14:49
送出感谢: 0
接收感谢: 0

#5

帖子 依寻依然 » 2007-09-02 12:00

代码: 全选

Malformed line 4 in source list /etc/apt/sources.list(URI parse), E:The list of source could not be read
说您的源的文件写错了
Borders are meant to be crossed
头像
leeaman
帖子: 30702
注册时间: 2007-02-02 18:14
系统: debian sid
送出感谢: 1 次
接收感谢: 23 次

#6

帖子 leeaman » 2007-09-02 12:03

不象,因为从他说的应该是在软件源里面换的服务器,不是修改sources.list的
醉了星星,醉月亮●●●●●The Long Way To Go(*^_^*)
ccsingtao
帖子: 85
注册时间: 2007-04-18 15:41
送出感谢: 0
接收感谢: 0

#7

帖子 ccsingtao » 2007-09-03 10:29

leeaman 写了:还可以

代码: 全选

sudo apt-get update upgrade
不行,终端提示:E:Update命令是不需要任何参数的。

谢谢楼上各位帮忙。
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙
送出感谢: 4 次
接收感谢: 256 次

#8

帖子 eexpress » 2007-09-03 10:32

line 4 in source list /etc/apt/sources.list
● 鸣学
ccsingtao
帖子: 85
注册时间: 2007-04-18 15:41
送出感谢: 0
接收感谢: 0

#9

帖子 ccsingtao » 2007-09-03 10:34

这是我的etc/apt/sources.list,麻烦看一下,谢谢。

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb 中国 gutsy main restricted
deb-src 中国 gutsy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb 中国 gutsy-updates main restricted
deb-src 中国 gutsy-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb 中国 gutsy universe
deb-src 中国 gutsy universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb 中国 gutsy multiverse
deb-src 中国 gutsy multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://cn.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse

deb 中国 gutsy-security main restricted
deb-src 中国 gutsy-security main restricted
deb 中国 gutsy-security universe
deb-src 中国 gutsy-security universe
deb 中国 gutsy-security multiverse
deb-src 中国 gutsy-security multiverse
# deb http://archive.ubuntu.com/ubuntu/ breezy main restricted universe
# deb-src http://archive.ubuntu.com/ubuntu/ breezy main restricted universe multiverse
deb http://cn.archive.ubuntu.com/ubuntu/ gutsy main universe restricted multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu/ gutsy main universe restricted multiverse #Added by software-properties
deb http://cn.archive.ubuntu.com/ubuntu/ gutsy-security universe main multiverse restricted
deb-src http://cn.archive.ubuntu.com/ubuntu/ gutsy-security universe main multiverse restricted
deb http://cn.archive.ubuntu.com/ubuntu/ gutsy-updates universe main multiverse restricted
deb-src http://cn.archive.ubuntu.com/ubuntu/ gutsy-updates universe main multiverse restricted
deb http://cn.archive.ubuntu.com/ubuntu/ feisty main universe restricted multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu/ feisty main universe restricted multiverse #Added by software-properties
deb http://security.ubuntu.com/ubuntu/ feisty-security universe main multiverse restricted
deb-src http://security.ubuntu.com/ubuntu/ feisty-security universe main multiverse restricted
deb http://archive.ubuntu.com/ubuntu/ feisty-updates universe main multiverse restricted
deb-src http://archive.ubuntu.com/ubuntu/ feisty-updates universe main multiverse restricted
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙
送出感谢: 4 次
接收感谢: 256 次

#10

帖子 eexpress » 2007-09-03 10:35

deb-src 中国 gutsy main restricted

天啊。
● 鸣学
ccsingtao
帖子: 85
注册时间: 2007-04-18 15:41
送出感谢: 0
接收感谢: 0

#11

帖子 ccsingtao » 2007-09-03 10:36

eexpress 写了:deb-src 中国 gutsy main restricted

天啊。
我刚改的,原先7。04,更新不能用了后(提示如一楼),我就乱改,到现在还未成功。。。。。

菜鸟阿,不好意思。
头像
skyx
论坛版主
帖子: 9203
注册时间: 2006-12-23 13:46
来自: Azores Islands
送出感谢: 0
接收感谢: 1 次
联系:

#12

帖子 skyx » 2007-09-03 10:37

中国 gutsy main restricted
:? :? :?
no security measure is worth anything if an attacker has physical access to the machine
头像
skyx
论坛版主
帖子: 9203
注册时间: 2006-12-23 13:46
来自: Azores Islands
送出感谢: 0
接收感谢: 1 次
联系:

#13

帖子 skyx » 2007-09-03 10:38

中国 gutsy main restricted
改为

代码: 全选

#中国 gutsy main restricted
所有的有中国字样的都加个井号
no security measure is worth anything if an attacker has physical access to the machine
头像
leeaman
帖子: 30702
注册时间: 2007-02-02 18:14
系统: debian sid
送出感谢: 1 次
接收感谢: 23 次

#14

帖子 leeaman » 2007-09-03 10:44

我都不用官方源的,还真不知道中文也可以用在源文件里面,我的sources.list

代码: 全选

deb http://ubuntu.cn99.com/ubuntu/ gutsy main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ gutsy-security main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ gutsy-updates main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ gutsy-proposed main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ gutsy-backports main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ gutsy main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ gutsy-security main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ gutsy-updates main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ gutsy-proposed main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ gutsy-backports main restricted universe multiverse
#deb http://ubuntu.cn99.com/ubuntu-cn/ gutsy main restricted universe multiverse
用这个,应该没有问题了吧
上次由 leeaman 在 2007-09-03 11:35,总共编辑 1 次。
醉了星星,醉月亮●●●●●The Long Way To Go(*^_^*)
ccsingtao
帖子: 85
注册时间: 2007-04-18 15:41
送出感谢: 0
接收感谢: 0

#15

帖子 ccsingtao » 2007-09-03 10:51

还没成功。。。

汗。。
回复

回到 “老旧版本支持”