我是菜鸟,我按照一篇教程修改
sudo gedit /etc/apt/sources.list
删除原有文本中的软件源,再添加:
deb http://cn.archive.ubuntu.com/ubuntu breezy main restricted universe multiverse
deb http://cn.archive.ubuntu.com/ubuntu breezy-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu breezy-security main restricted universe multiverse
deb http://archive.ubuntu.org.cn/ubuntu warty main restricted universe multiverse
deb http://archive.ubuntu.org.cn/ubuntu warty-security main restricted universe multiverse
deb http://archive.ubuntu.org.cn/ubuntu warty-updates main restricted universe multiverse
deb http://archive.ubuntu.org.cn/ubuntu hoary main restricted universe multiverse
deb http://archive.ubuntu.org.cn/ubuntu hoary-security main restricted universe multiverse
deb http://archive.ubuntu.org.cn/ubuntu hoary-updates main restricted universe multiverse
deb http://archive.ubuntu.org.cn/ubuntu breezy main restricted universe multiverse
deb http://archive.ubuntu.org.cn/ubuntu breezy-security main restricted universe multiverse
deb http://archive.ubuntu.org.cn/ubuntu breezy-updates main restricted universe multiverse
deb http://archive.ubuntu.org.cn/ubuntu-cn ubuntu.org.cn main universe multiverse restricted
deb http://archive.ubuntu.org.cn/backports hoary-backports main universe multiverse restricted
deb http://archive.ubuntu.org.cn/backports hoary-extras main universe multiverse restricted
可是一直出现这个错误,不知道怎么回事
tondo@ubuntu:~$ sudo apt-get update
E: Could not get lock /var/lib/apt/lists/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the list directory
不管执行什么包括install,都出现这个,无法执行
新手求助,无法更新软件包源
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
-
- 帖子: 3
- 注册时间: 2006-01-22 1:07
新手求助,无法更新软件包源
上次由 tondo 在 2006-01-22 1:31,总共编辑 1 次。
-
- 帖子: 3
- 注册时间: 2006-01-22 1:07
- Tenyears
- 帖子: 2245
- 注册时间: 2005-06-30 15:46
- 来自: 成都
Re: 新手求助,无法更新软件包源
同时开了新立得?tondo 写了: E: Could not get lock /var/lib/apt/lists/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the list directory
Humanity to others // 己所不欲,勿施与人
Laptop: ThinkPad X220 --- Win7 Home / Ubuntu 12.04
Desktop: Win7/Ubuntu 12.04
Server: Ubuntu12.04
Laptop: ThinkPad X220 --- Win7 Home / Ubuntu 12.04
Desktop: Win7/Ubuntu 12.04
Server: Ubuntu12.04
- dongmh
- 帖子: 715
- 注册时间: 2005-06-21 20:24
- 来自: 甘肃
- 联系:
不出现是什么意思? 这个提示是说你的locale不受支持 可以不用关tondo 写了:还有每次执行 gedit的时候都不出现这个提示
tondo@ubuntu:~$ sudo gedit /etc/X11/xorg.conf
(gedit:7706): Gdk-WARNING **: locale not supported by Xlib
(gedit:7706): Gdk-WARNING **: cannot set locale modifiers
你的源添加有误 只要添加breezy的源就可以了
不要同时开着两个apt或者开个apt又开个新立德
ubuntu 6.06
我是初学者 大家多多关照
我是初学者 大家多多关照
-
- 帖子: 3
- 注册时间: 2006-01-22 1:07
- dongmh
- 帖子: 715
- 注册时间: 2005-06-21 20:24
- 来自: 甘肃
- 联系: