当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 9 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 出了小黑屋,鼠标键盘又动不了了
帖子发表于 : 2009-06-10 14:16 
头像

注册: 2008-08-16 9:39
帖子: 275
送出感谢: 0 次
接收感谢: 0 次
昨天升级挂掉了,进了小黑屋,今天中午进恢复模式里面去,卸载了xorg,gdm,GNOME-core等等东西,再重新安装了一次,下午重启进去一看,可以看到登陆画面了,但是鼠标和键盘都动不了了,这回又该怎么办啊。


页首
 用户资料  
 
2 楼 
 文章标题 : Re: 出了小黑屋,鼠标键盘又动不了了
帖子发表于 : 2009-06-10 14:23 
头像

注册: 2007-05-06 2:46
帖子: 15634
送出感谢: 0 次
接收感谢: 2
苦命的

startx试试能启动不


页首
 用户资料  
 
3 楼 
 文章标题 : Re: 出了小黑屋,鼠标键盘又动不了了
帖子发表于 : 2009-06-10 14:40 
头像

注册: 2008-08-16 9:39
帖子: 275
送出感谢: 0 次
接收感谢: 0 次
hcym 写道:
苦命的

startx试试能启动不

动不了,进去把xorg.conf这个东西恢复了一下,又看不到登陆界面了,好郁闷。


页首
 用户资料  
 
4 楼 
 文章标题 : Re: 出了小黑屋,鼠标键盘又动不了了
帖子发表于 : 2009-06-10 16:11 
头像

注册: 2007-06-13 15:57
帖子: 12566
地址: 在他乡
送出感谢: 50
接收感谢: 87
升级后没重装显卡驱动吧


页首
 用户资料  
 
5 楼 
 文章标题 : Re: 出了小黑屋,鼠标键盘又动不了了
帖子发表于 : 2009-06-10 16:59 
头像

注册: 2008-08-16 9:39
帖子: 275
送出感谢: 0 次
接收感谢: 0 次
daf3707 写道:
升级后没重装显卡驱动吧

显卡驱动怎么装啊 我的是ati X550的破显卡 老是装不上驱动


页首
 用户资料  
 
6 楼 
 文章标题 : Re: 出了小黑屋,鼠标键盘又动不了了
帖子发表于 : 2009-06-10 17:31 
头像

注册: 2007-06-13 15:57
帖子: 12566
地址: 在他乡
送出感谢: 50
接收感谢: 87
找大三八吧 :em03


页首
 用户资料  
 
7 楼 
 文章标题 : Re: 出了小黑屋,鼠标键盘又动不了了
帖子发表于 : 2009-06-10 21:27 
头像

注册: 2008-08-16 9:39
帖子: 275
送出感谢: 0 次
接收感谢: 0 次
Ubuntu/Debian apt‐get: subprocess pre‐installation script returned error
exit status 1
Posted by Florian N in Unix general
As the title says this post is about an error showing up when trying to install packages using apt get
or aptitude and
something goes wrong: subprocess preinstallation
script returned error exit status 1 .
The issue in this case was created by aspell and dictionaries common
packages when trying to install aspell.
The biggest issue is that dpkg will fail with an error code of 1 even when trying to uninstall/remove/purge the package and it
will not matter how hard you try:
Let’s get on the case, we will end up in a loop:
aptget
install aspellen
//will end with:
The following packages have unmet dependencies:
aspell: Depends: dictionariescommon
(> 0.40) but it is not going to be installed
aspellen:
Depends: dictionariescommon
(>= 0.49.2) but it is not going to be installed
E: Unmet dependencies. Try 'aptget
f
install' with no packages (or specify a solution).
Next stage trying to install the unmet dependencies:
aptget
install dictionariescommon
//and this will end with :
Unpacking dictionariescommon
(from .../dictionariescommon_
0.62.5ubuntu2_all.deb) ...
No alternatives for ispelldictionary.
hash.
dpkg: error processing /var/cache/apt/archives/dictionariescommon_
0.62.5ubuntu2_all.deb (unpack):
subprocess preinstallation
script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/dictionariescommon_
0.62.5ubuntu2_all.deb
E: Subprocess
/usr/bin/dpkg returned an error code (1)
So something is wrong, let’s try and remove aspellen
package:
aptget
remove aspellen
//which will return again:
You might want to run `aptget
f
install' to correct these:
The following packages have unmet dependencies:
aspell: Depends: dictionariescommon
(> 0.40) but it is not going to be installed
E: Unmet dependencies. Try 'aptget
f
install' with no packages (or specify a solution).
Hmm, what the hack???
Try and do what it says:
aptget
f
install //guess what will be the return at the end:
Unpacking dictionariescommon
(from .../dictionariescommon_
0.62.5ubuntu2_all.deb) ...
No alternatives for ispelldictionary.
hash.
dpkg: error processing /var/cache/apt/archives/dictionariescommon_
0.62.5ubuntu2_all.deb (unpack):
subprocess preinstallation
script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/dictionariescommon_
0.62.5ubuntu2_all.deb
E: Subprocess
/usr/bin/dpkg returned an error code (1)
So now we are in a loop and nothing helps really, you can try and run for example dpkg purge
forcedepends
dictionariescommon
or any other derivative commands including purge or remove but may be that not one of them will
help here.
What to do?
Well an option will be to check the package in question inn the dpkg libraries directory /var/lib/dpkg/info/ .
Checking that directory for aspellen(
which actually is the cause in this case) you will see a few files:
aspellen.
postinst
aspellen.
postrm
aspellen.
list
aspellen.
prerm
One of this files(which are actually small scripts) is creating that error when installing or uninstalling so we are unable to
remove aspell en
anymore.
Oct 01 2008
Home OpenVZ Installer About
A life to learn
Yet another Techi blog
Powered by WordPress , Mandigo theme by tom.
Entries (RSS) and Comments (RSS) .
54 queries. 1.383 seconds.
aspellen.
postinst
aspellen.
postrm
aspellen.
list
aspellen.
prerm
One of this files(which are actually small scripts) is creating that error when installing or uninstalling so we are unable to
remove aspell en
anymore.
A fix around this will be to edit the /var/lib/dpkg/info/aspellen.
postrm file(in our case we want to remove the file) and
add exit 0 after the set e
so that in the end the line will look like:
set e
exit 0
Save and try again to remove the package:
dpkg purge
forcedepends
aspellen
//you should be able to remove the package just fine
Now, what caused all this mess? Well in this specific case it was the dictionariescommon
package which i suspect it was
borked.
After grabbing another package(dictionaries common
package) from the internet(debian repositories) and installing it and
tried to install aspell en
again everything run fine and got it installed with no issue or error.
The problem here was based on aspell en
and dictionaries common


页首
 用户资料  
 
8 楼 
 文章标题 : Re: 出了小黑屋,鼠标键盘又动不了了
帖子发表于 : 2009-06-10 21:28 
头像

注册: 2008-08-16 9:39
帖子: 275
送出感谢: 0 次
接收感谢: 0 次
上面这些E文看不太懂(只看懂了代码那些句子) 但是我的情况和里面的一样。


页首
 用户资料  
 
9 楼 
 文章标题 : Re: 出了小黑屋,鼠标键盘又动不了了
帖子发表于 : 2009-06-11 15:08 
头像

注册: 2008-08-16 9:39
帖子: 275
送出感谢: 0 次
接收感谢: 0 次
有没有谁能解释一下的?


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

当前时区为 UTC + 8 小时


在线用户

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


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

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

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