当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 5 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 紧急求助,软件更新数据包无法初始化……
帖子发表于 : 2008-07-17 18:22 

注册: 2008-07-16 18:25
帖子: 29
送出感谢: 0 次
接收感谢: 0 次
软件更新过程中无故中断,再次运行时提示软件包初始化失败具体报错如下:



E: 安装源配置文件“/etc/apt/sources.list”第 4 行有错误 (URI parse)
E: 所列资源不可读。
情转到软件库对话框修正该问题。
E: _cache->open() failed, please report.




求大虾指点解决办法,本人是菜鸟,想学习。望高手不吝赐教指点一二,谢谢先!!


页首
 用户资料  
 
2 楼 
 文章标题 :
帖子发表于 : 2008-07-17 18:24 
头像

注册: 2007-03-17 1:24
帖子: 603
地址: 湖南长沙
送出感谢: 0 次
接收感谢: 0 次
他不是提示你源列表的第四行有错误么?去检查看看,要不就重新复制粘贴一次


页首
 用户资料  
 
3 楼 
 文章标题 :
帖子发表于 : 2008-07-17 20:00 

注册: 2008-07-16 18:25
帖子: 29
送出感谢: 0 次
接收感谢: 0 次
该文件打开如下内容:




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

deb 中国 hardy main restricted
deb-src 中国 hardy restricted main multiverse universe #Added by software-properties

## Major bug fix updates produced after the final release of the
## distribution.
deb 中国 hardy-updates main restricted
deb-src 中国 hardy-updates restricted main multiverse universe #Added by software-properties

## 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 中国 hardy universe
deb 中国 hardy-updates 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 中国 hardy multiverse
deb 中国 hardy-updates 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/ hardy-backports main restricted universe multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
deb http://archive.canonical.com/ubuntu hardy partner
deb-src http://archive.canonical.com/ubuntu hardy partner

# Line commented out by installer because it failed to verify:
# deb http://security.ubuntu.com/ubuntu hardy-security main restricted
# Line commented out by installer because it failed to verify:
# deb-src http://security.ubuntu.com/ubuntu hardy-security main restricted
# Line commented out by installer because it failed to verify:
# deb http://security.ubuntu.com/ubuntu hardy-security universe
# Line commented out by installer because it failed to verify:
# deb-src http://security.ubuntu.com/ubuntu hardy-security universe
# Line commented out by installer because it failed to verify:
# deb http://security.ubuntu.com/ubuntu hardy-security multiverse
# Line commented out by installer because it failed to verify:
# deb-src http://security.ubuntu.com/ubuntu hardy-security multiverse
deb http://mirror.rootguide.org/ubuntu/ hardy main universe restricted multiverse
deb-src http://mirror.rootguide.org/ubuntu/ hardy main universe restricted multiverse #Added by software-properties
deb http://mirror.rootguide.org/ubuntu/ hardy-updates universe main multiverse restricted
deb-src http://mirror.rootguide.org/ubuntu/ hardy-updates universe main multiverse restricted


不知道该如何修改,谢谢指点。


尝试修改时候提示:“没有权限保存文件。请检查键入的位置是否正确,然后重试”

请问又该如何操作,谢谢!!



求大虾指点解决办法,本人是菜鸟,想学习。望高手不吝赐教指点一二,谢谢先!!


页首
 用户资料  
 
4 楼 
 文章标题 :
帖子发表于 : 2008-07-17 20:07 
头像

注册: 2007-06-13 15:57
帖子: 12565
地址: 在他乡
送出感谢: 50
接收感谢: 87
代码:
sudo gedit /etc/apt/sources.list


把“deb 中国”之类的行前面加"#",谁告诉你的这些源,怎么还有汉字,系统傻眼了吧。
保存退出。
代码:
sudo apt-get update

建议你加上cn99的源,还要注意不要混源,hardy 是8.04的代号,要看清,不要给个源就加,我也是菜,吃几次亏慢慢就懂了。


页首
 用户资料  
 
5 楼 
 文章标题 :
帖子发表于 : 2008-07-17 21:56 

注册: 2008-07-16 18:25
帖子: 29
送出感谢: 0 次
接收感谢: 0 次
非常感谢
问题已经解决,上文的软件原是系统带的,我的系统是下载的一个论坛里一个大虾做过的包


谢谢楼上解决问题的大虾和关心的大虾!


代码格式和作用……


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 5 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 4 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译