关于新立的软件包管理器的问题

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

关于新立的软件包管理器的问题

#1

帖子 ckgood » 2007-05-12 1:07

E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report.
无法安装删除 更新 任何程序,我是完全的新手,
硬件为神舟W280A。
请求各位大虾的帮助,不然系统时间也无法校正,解码器无法安装,MP3都没的听。[/img][img]http://7.photo.xuite.net/7/c/0/d/ckgood ... 765611.jpg[/img]
头像
skyx
论坛版主
帖子: 9202
注册时间: 2006-12-23 13:46
来自: Azores Islands
联系:

#2

帖子 skyx » 2007-05-12 1:12

提示中有,

先运行

sudo dpkg --configure -a

用ubuntu,安装软件时,源最重要,另外,安装时的提示也很重要
no security measure is worth anything if an attacker has physical access to the machine
jimmin
帖子: 2138
注册时间: 2006-09-24 4:37

#3

帖子 jimmin » 2007-05-12 1:12

dpkg --configure -a
ckgood
帖子: 10
注册时间: 2007-05-11 21:46

#4

帖子 ckgood » 2007-05-12 1:21

skyx 写了:提示中有,

先运行

sudo dpkg --configure -a

用ubuntu,安装软件时,源最重要,另外,安装时的提示也很重要
抱歉!我实在是菜,这之后呢?
头像
skyx
论坛版主
帖子: 9202
注册时间: 2006-12-23 13:46
来自: Azores Islands
联系:

#5

帖子 skyx » 2007-05-12 1:22

确定源是你合适的, 接着装刚才要装的软件
no security measure is worth anything if an attacker has physical access to the machine
ckgood
帖子: 10
注册时间: 2007-05-11 21:46

#6

帖子 ckgood » 2007-05-12 1:27

E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report.
这和源有关系哦?
头像
skyx
论坛版主
帖子: 9202
注册时间: 2006-12-23 13:46
来自: Azores Islands
联系:

#7

帖子 skyx » 2007-05-12 1:29

你最好把信息贴全点
no security measure is worth anything if an attacker has physical access to the machine
ckgood
帖子: 10
注册时间: 2007-05-11 21:46

#8

帖子 ckgood » 2007-05-12 1:35

启动新立得软件包管理器时
跳出错误窗口 内容是E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report.
只有关闭的按钮
所以 新立得无法启动
任何更新或安装时 也会跳出那个错误窗口
看来不一定是新立得的原因。
头像
skyx
论坛版主
帖子: 9202
注册时间: 2006-12-23 13:46
来自: Azores Islands
联系:

#9

帖子 skyx » 2007-05-12 1:37

代码: 全选

dpkg --configure package ... | -a | --pending
              Reconfigure an unpacked package. If -a  or  --pending  is  given
              instead  of  package, all unpacked but unconfigured packages are
              configured.

说明你从源安装的软件或你手动下载的deb包

在安装解压后进行配制时出现问题

如果你的系统没问题,假定这个软件要求配制的地方你都按要求配了,仍然有问题的话,当然有理由怀疑源。
上次由 skyx 在 2007-05-12 1:38,总共编辑 1 次。
no security measure is worth anything if an attacker has physical access to the machine
ckgood
帖子: 10
注册时间: 2007-05-11 21:46

#10

帖子 ckgood » 2007-05-12 1:38

当我时间设置 想校正时间时 需要ntp支持安装
结果也是那个错误窗口 内容也是E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report.
ckgood
帖子: 10
注册时间: 2007-05-11 21:46

#11

帖子 ckgood » 2007-05-12 1:40

配置确实有问题
我是硬盘安装的 但是不会root登录以及加载iso 所以在系统提示需要光盘时没有满足
头像
skyx
论坛版主
帖子: 9202
注册时间: 2006-12-23 13:46
来自: Azores Islands
联系:

#12

帖子 skyx » 2007-05-12 1:41

应用程序----->附件---->终端

在终端中

输入:


sudo dpkg --configure -a
no security measure is worth anything if an attacker has physical access to the machine
头像
skyx
论坛版主
帖子: 9202
注册时间: 2006-12-23 13:46
来自: Azores Islands
联系:

#13

帖子 skyx » 2007-05-12 1:42

ckgood 写了:配置确实有问题
我是硬盘安装的 但是不会root登录以及加载iso 所以在系统提示需要光盘时没有满足
修改源,把有cdrom 的那一行删掉,你先看下置顶贴或wiki
no security measure is worth anything if an attacker has physical access to the machine
雕啸长空
帖子: 1897
注册时间: 2006-09-12 14:09

Re: 关于新立的软件包管理器的问题

#14

帖子 雕啸长空 » 2007-05-12 1:54

ckgood 写了:E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report.
出现这个错误最大的可能性就是你在某次执行升级系统/安装软件时强行退出了,这时只需要在终端中执行命令

代码: 全选

dpkg --configure -a
系统会自动从上次中断的地方重新继续上次的操作,并完成该步安装。执行完上面这条指令之后应该可以解决问题
Fair winds and following seas !
ckgood
帖子: 10
注册时间: 2007-05-11 21:46

#15

帖子 ckgood » 2007-05-12 2:07

ck@ck:~$ dpkg --configure -a
dpkg: 该操作需要超级用户权限
ck@ck:~$ sudo su
Password:
root@ck:/home/ck# dpkg --configure -a
正在设置 tzdata (2007e-0ubuntu0.7.04) ...
Current default timezone: 'Asia/Chongqing'.
Local time is now: Fri May 11 10:05:26 CST 2007.
Universal Time is now: Fri May 11 02:05:26 UTC 2007.
Run 'tzconfig' if you wish to change it.

root@ck:/home/ck#

好像是让我变更时区
root@ck:/home/ck# tzconfig
Your current time zone is set to Asia/Chongqing
Do you want to change that? [n]: y

Please enter the number of the geographic area in which you live:


1) Africa 7) Australia

2) America 8) Europe

3) US time zones 9) Indian Ocean

4) Canada time zones 10) Pacific Ocean

5) Asia 11) Use System V style time zones

6) Atlantic Ocean 12) None of the above


Then you will be shown a list of cities which represent the time zone
in which they are located. You should choose a city in your time zone.

Number: 5

Aden Almaty Amman Anadyr Aqtau Aqtobe Ashgabat Ashkhabad Baghdad Bahrain
Baku Bangkok Beirut Bishkek Brunei Calcutta Choibalsan Chongqing Chungking
Colombo Dacca Damascus Dhaka Dili Dubai Dushanbe Gaza Harbin Hong_Kong
Hovd Irkutsk Istanbul Jakarta Jayapura Jerusalem Kabul Kamchatka Karachi
Kashgar Katmandu Krasnoyarsk Kuala_Lumpur Kuching Kuwait Macao Macau
Magadan Makassar Manila Muscat Nicosia Novosibirsk Omsk Oral Phnom_Penh
Pontianak Pyongyang Qatar Qyzylorda Rangoon Riyadh Riyadh87 Riyadh88
Riyadh89 Saigon Sakhalin Samarkand Seoul Shanghai Singapore Taipei
Tashkent Tbilisi Tehran Tel_Aviv Thimbu Thimphu Tokyo Ujung_Pandang
Ulaanbaatar Ulan_Bator Urumqi Vientiane Vladivostok Yakutsk Yekaterinburg
Yerevan

Please enter the name of one of these cities or zones
You just need to type enough letters to resolve ambiguities
Press Enter to view all of them again
Name: [] chongqing
Your default time zone is set to 'Asia/Chongqing'.
Local time is now: 2007年 05月 11日 星期五 10:07:34 CST.
Universal Time is now: 2007年 05月 11日 星期五 02:07:34 UTC.
root@ck:/home/ck#

e文不好 蒙着干
回复