新手问题~

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

新手问题~

#1

帖子 smalloldman » 2007-12-23 13:47

apt-get -f install
E: 无法打开锁文件 /var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?



dxw@dxw-kill:~$ apt-get -f install
E: 无法打开锁文件 /var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
dxw@dxw-kill:~$ sudo apt-get update
忽略 cdrom://Ubuntu 7.10 _Gutsy Gibbon_ - Release amd64 (20071017) gutsy/main Translation-zh_CN
忽略 cdrom://Ubuntu 7.10 _Gutsy Gibbon_ - Release amd64 (20071017) gutsy/restricted Translation-zh_CN
获取:1 http://archive.ubuntu.com gutsy Release.gpg [191B]
命中 http://archive.ubuntu.com gutsy/universe Translation-zh_CN
获取:2 http://packages.medibuntu.org gutsy Release.gpg [189B]
命中 http://archive.ubuntu.com gutsy/multiverse Translation-zh_CN
命中 http://archive.ubuntu.com gutsy Release
获取:3 http://ubuntu.cn99.com feisty Release.gpg [191B]
忽略 http://ubuntu.cn99.com feisty/main Translation-zh_CN
忽略 http://ubuntu.cn99.com feisty/restricted Translation-zh_CN
命中 http://ubuntu.cn99.com feisty/universe Translation-zh_CN
命中 http://ubuntu.cn99.com feisty/multiverse Translation-zh_CN
获取:4 http://ubuntu.cn99.com feisty-security Release.gpg [191B]
忽略 http://ubuntu.cn99.com feisty-security/main Translation-zh_CN
忽略 http://ubuntu.cn99.com feisty-security/restricted Translation-zh_CN
忽略 http://ubuntu.cn99.com feisty-security/universe Translation-zh_CN
忽略 http://ubuntu.cn99.com feisty-security/multiverse Translation-zh_CN
命中 http://archive.ubuntu.com gutsy/main Sources
忽略 http://packages.medibuntu.org gutsy/free Translation-zh_CN
获取:5 http://ubuntu.cn99.com feisty-updates Release.gpg [191B]
忽略 http://ubuntu.cn99.com feisty-updates/main Translation-zh_CN
忽略 http://ubuntu.cn99.com feisty-updates/restricted Translation-zh_CN
命中 http://archive.ubuntu.com gutsy/restricted Sources
命中 http://archive.ubuntu.com gutsy/multiverse Sources
忽略 http://ubuntu.cn99.com feisty-updates/universe Translation-zh_CN
忽略 http://ubuntu.cn99.com feisty-updates/multiverse Translation-zh_CN
获取:6 http://ubuntu.cn99.com feisty-proposed Release.gpg [191B]
忽略 http://ubuntu.cn99.com feisty-proposed/main Translation-zh_CN
忽略 http://ubuntu.cn99.com feisty-proposed/restricted Translation-zh_CN
忽略 http://ubuntu.cn99.com feisty-proposed/universe Translation-zh_CN
忽略 http://ubuntu.cn99.com feisty-proposed/multiverse Translation-zh_CN
忽略 http://packages.medibuntu.org gutsy/non-free Translation-zh_CN
命中 http://archive.ubuntu.com gutsy/universe Packages
命中 http://archive.ubuntu.com gutsy/multiverse Packages
获取:7 http://ubuntu.cn99.com feisty-backports Release.gpg [191B]
忽略 http://ubuntu.cn99.com feisty-backports/main Translation-zh_CN
忽略 http://ubuntu.cn99.com feisty-backports/restricted Translation-zh_CN
忽略 http://ubuntu.cn99.com feisty-backports/universe Translation-zh_CN
忽略 http://ubuntu.cn99.com feisty-backports/multiverse Translation-zh_CN
忽略 http://ubuntu.cn99.com feisty Release.gpg
忽略 http://ubuntu.cn99.com feisty/main Translation-zh_CN
忽略 http://ubuntu.cn99.com feisty/restricted Translation-zh_CN
忽略 http://ubuntu.cn99.com feisty/universe Translation-zh_CN
命中 http://packages.medibuntu.org gutsy Release
错误 http://packages.medibuntu.org gutsy Release

忽略 http://ubuntu.cn99.com feisty/multiverse Translation-zh_CN
命中 http://ubuntu.cn99.com feisty Release
命中 http://ubuntu.cn99.com feisty-security Release
命中 http://ubuntu.cn99.com feisty-updates Release
获取:8 http://packages.medibuntu.org gutsy Release [2723B]
忽略 http://packages.medibuntu.org gutsy Release
命中 http://ubuntu.cn99.com feisty-proposed Release
命中 http://ubuntu.cn99.com feisty-backports Release
忽略 http://ubuntu.cn99.com feisty Release
忽略 http://packages.medibuntu.org gutsy/free Packages
命中 http://ubuntu.cn99.com feisty/main Packages
命中 http://ubuntu.cn99.com feisty/restricted Packages
命中 http://ubuntu.cn99.com feisty/universe Packages
命中 http://ubuntu.cn99.com feisty/multiverse Packages
命中 http://ubuntu.cn99.com feisty/main Sources
命中 http://ubuntu.cn99.com feisty/restricted Sources
命中 http://ubuntu.cn99.com feisty/universe Sources
忽略 http://packages.medibuntu.org gutsy/non-free Packages
命中 http://packages.medibuntu.org gutsy/free Packages
命中 http://ubuntu.cn99.com feisty/multiverse Sources
命中 http://ubuntu.cn99.com feisty-security/main Packages
命中 http://ubuntu.cn99.com feisty-security/restricted Packages
命中 http://ubuntu.cn99.com feisty-security/universe Packages
命中 http://ubuntu.cn99.com feisty-security/multiverse Packages
命中 http://ubuntu.cn99.com feisty-security/main Sources
命中 http://ubuntu.cn99.com feisty-security/restricted Sources
命中 http://ubuntu.cn99.com feisty-security/universe Sources
命中 http://ubuntu.cn99.com feisty-security/multiverse Sources
命中 http://ubuntu.cn99.com feisty-updates/main Packages
命中 http://packages.medibuntu.org gutsy/non-free Packages
命中 http://ubuntu.cn99.com feisty-updates/restricted Packages
命中 http://ubuntu.cn99.com feisty-updates/universe Packages
命中 http://ubuntu.cn99.com feisty-updates/multiverse Packages
命中 http://ubuntu.cn99.com feisty-updates/main Sources
命中 http://ubuntu.cn99.com feisty-updates/restricted Sources
命中 http://ubuntu.cn99.com feisty-updates/universe Sources
命中 http://ubuntu.cn99.com feisty-updates/multiverse Sources
忽略 http://ubuntu.cn99.com feisty/main Packages
忽略 http://ubuntu.cn99.com feisty/restricted Packages
忽略 http://ubuntu.cn99.com feisty/universe Packages
忽略 http://ubuntu.cn99.com feisty/multiverse Packages
命中 http://ubuntu.cn99.com feisty-proposed/main Packages
命中 http://ubuntu.cn99.com feisty-proposed/restricted Packages
命中 http://ubuntu.cn99.com feisty-proposed/universe Packages
命中 http://ubuntu.cn99.com feisty-proposed/multiverse Packages
命中 http://ubuntu.cn99.com feisty-proposed/main Sources
命中 http://ubuntu.cn99.com feisty-proposed/restricted Sources
命中 http://ubuntu.cn99.com feisty-proposed/universe Sources
命中 http://ubuntu.cn99.com feisty-proposed/multiverse Sources
命中 http://ubuntu.cn99.com feisty-backports/main Packages
命中 http://ubuntu.cn99.com feisty-backports/restricted Packages
命中 http://ubuntu.cn99.com feisty-backports/universe Packages
命中 http://ubuntu.cn99.com feisty-backports/multiverse Packages
命中 http://ubuntu.cn99.com feisty-backports/main Sources
命中 http://ubuntu.cn99.com feisty-backports/restricted Sources
命中 http://ubuntu.cn99.com feisty-backports/universe Sources
命中 http://ubuntu.cn99.com feisty-backports/multiverse Sources
命中 http://ubuntu.cn99.com feisty/main Packages
命中 http://ubuntu.cn99.com feisty/restricted Packages
命中 http://ubuntu.cn99.com feisty/universe Packages
命中 http://ubuntu.cn99.com feisty/multiverse Packages
下载 2918B,耗时 9s (302B/s)
正在读取软件包列表... 完成
W: GPG error: http://packages.medibuntu.org gutsy Release: 由于没有公钥,下列签名无法进行验证: NO_PUBKEY 2EBC26B60C5A2783
W: 您可能需要运行 apt-get update 来解决这些问题
dxw@dxw-kill:~$ apt-get update
E: 无法打开锁文件 /var/lib/apt/lists/lock - open (13 Permission denied)
E: 无法对状态列表目录加锁
都是无法打开锁文件怎么办啊?
实在不想在重装了大哥大姐教教我啊,小弟先谢过了
头像
iblicf
帖子: 3766
注册时间: 2007-01-15 17:15

#2

帖子 iblicf » 2007-12-23 13:54

try a try : sudo aptitude update
回复