[问题]dpkg出了问题

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

[问题]dpkg出了问题

#1

帖子 海精灵 » 2008-06-29 10:43

现在在中断中运行
sudo apt-get install firestarter
就会出现
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
请问是什么原因阿?
需要运行
sudo dpkg --configure -a
吗?可是服务器总联不上去
freezee
帖子: 15
注册时间: 2007-10-21 16:49
来自: 天津

#2

帖子 freezee » 2008-06-29 10:54

我刚才在我的机器上试了dpkg --configure -a,没有什么提示,你可以把问题说的再清楚些,把输出都发上来看看
海精灵
帖子: 111
注册时间: 2008-06-26 15:47

#3

帖子 海精灵 » 2008-06-29 11:02

freezee 写了:我刚才在我的机器上试了dpkg --configure -a,没有什么提示,你可以把问题说的再清楚些,把输出都发上来看看
ee2446@ee2446-desktop:~$ sudo apt-get install firestarter
[sudo] password for ee2446:
E: 无法获得锁 /var/lib/dpkg/lock - open (11 资源临时不可用)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
ee2446@ee2446-desktop:~$ sudo apt-get install firestarter
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
ee2446@ee2446-desktop:~$ sudo dpkg --configure -a && sudo apt-get -f install
正在设置 flashplugin-nonfree (9.0.124.0ubuntu1~gutsy1) ...
Downloading...
--10:49:54-- http://fpdownload.macromedia.com/get/fl ... nux.tar.gz
=> `./install_flash_player_9_linux.tar.gz'
正在解析主机 fpdownload.macromedia.com... 125.252.202.70
正在连接 fpdownload.macromedia.com|125.252.202.70|:80... 失败:连接超时。
重试中。
海精灵
帖子: 111
注册时间: 2008-06-26 15:47

#4

帖子 海精灵 » 2008-06-29 11:03

结果一直连不上
想把它断掉,怎么断阿?
头像
cnkilior
论坛版主
帖子: 4984
注册时间: 2007-08-05 17:40

#5

帖子 cnkilior » 2008-06-29 11:04

is another process using it?
海精灵
帖子: 111
注册时间: 2008-06-26 15:47

#6

帖子 海精灵 » 2008-06-29 11:13

cnkilior 写了:
is another process using it?
哦,那个我已经断了,没截好,请看后面
重截一次
ee2446@ee2446-desktop:~$ sudo apt-get install firestarter
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
ee2446@ee2446-desktop:~$ sudo dpkg --configure -a && sudo apt-get -f install
正在设置 flashplugin-nonfree (9.0.124.0ubuntu1~gutsy1) ...
Downloading...
--10:49:54-- http://fpdownload.macromedia.com/get/fl ... nux.tar.gz
=> `./install_flash_player_9_linux.tar.gz'
正在解析主机 fpdownload.macromedia.com... 125.252.202.70
正在连接 fpdownload.macromedia.com|125.252.202.70|:80... 失败:连接超时。
重试中。

--10:55:05-- http://fpdownload.macromedia.com/get/fl ... nux.tar.gz
(尝试次数: 2) => `./install_flash_player_9_linux.tar.gz'
正在连接 fpdownload.macromedia.com|125.252.202.70|:80... 失败:连接超时。
重试中。

--11:00:16-- http://fpdownload.macromedia.com/get/fl ... nux.tar.gz
(尝试次数: 3) => `./install_flash_player_9_linux.tar.gz'
正在连接 fpdownload.macromedia.com|125.252.202.70|:80... 失败:连接超时。
重试中。

--11:05:28-- http://fpdownload.macromedia.com/get/fl ... nux.tar.gz
(尝试次数: 4) => `./install_flash_player_9_linux.tar.gz'
正在连接 fpdownload.macromedia.com|125.252.202.70|:80... 失败:连接超时。
重试中。

--11:10:41-- http://fpdownload.macromedia.com/get/fl ... nux.tar.gz
(尝试次数: 5) => `./install_flash_player_9_linux.tar.gz'
正在连接 fpdownload.macromedia.com|125.252.202.70|:80...
头像
cnkilior
论坛版主
帖子: 4984
注册时间: 2007-08-05 17:40

#7

帖子 cnkilior » 2008-06-29 11:15

...
flash还是到那个公司主页下比较好。

因为可以下载到flash10


不过不知道可不可以删掉未完全配置的软件包?!
freezee
帖子: 15
注册时间: 2007-10-21 16:49
来自: 天津

#8

帖子 freezee » 2008-06-29 11:20

你用apt-get autoclean试试,或者apt-get deselect,具体是哪个,我不记得了,也可能是其它的
海精灵
帖子: 111
注册时间: 2008-06-26 15:47

#9

帖子 海精灵 » 2008-06-29 11:39

freezee 写了:你用apt-get autoclean试试,或者apt-get deselect,具体是哪个,我不记得了,也可能是其它的
ee2446@ee2446-desktop:~$ sudo apt-get autoclean
[sudo] password for ee2446:
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
ee2446@ee2446-desktop:~$ sudo apt-get deselect
E: 无效的操作 deselect
ee2446@ee2446-desktop:~$ sudo apt-get de select
E: 无效的操作 de
头像
BigSnake.NET
帖子: 12522
注册时间: 2006-07-02 11:16
来自: 廣州
联系:

#10

帖子 BigSnake.NET » 2008-06-29 11:46

是 flashplugin-nonfree 这个包引起的, 要安装这个包必须能连接上adobe的站点, 否则是不可能安装成功的.
^_^ ~~~
要理解递归,首先要理解递归。

地球人都知道,理论上,理论跟实际是没有差别的,但实际上,理论跟实际的差别是相当大滴。
freezee
帖子: 15
注册时间: 2007-10-21 16:49
来自: 天津

#11

帖子 freezee » 2008-06-29 11:58

apt-get deselect后面要加上包的名字,
回复