LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 868|回复: 7

求救,系统又崩溃了啊,不想重新安装

[复制链接]
发表于 2008-4-14 13:06:11 | 显示全部楼层 |阅读模式
系统命令找不到了..
localhost base # equery b mkdir
[ Searching for file(s) mkdir in *... ]
sys-apps/coreutils-6.9-r1 (/bin/mkdir)

安装coreutils...
root@localhost home # emerge coreutils
Calculating dependencies... done!
[ebuild     U ] sys-devel/automake-1.10.1 [1.10]
[ebuild  N    ] app-arch/lzma-utils-4.32.5  
[ebuild     U ] sys-apps/coreutils-6.10-r1 [6.9-r1]
[blocks B     ] sys-apps/mktemp (is blocking sys-apps/coreutils-6.10-r1)
[blocks B     ] >=sys-apps/coreutils-6.10 (is blocking sys-apps/mktemp-1.5)

blocks了啊  , 删除包...
root@localhost home # emerge -C mktemp

sys-apps/mktemp
    selected: 1.5
   protected: none
     omitted: none

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

>>> Waiting 5 seconds before starting...
>>> (Control-C to abort)...
>>> Unmerging in: 5 4 3 2 1
>>> Unmerging sys-apps/mktemp-1.5...
* The 'prerm' phase of the 'sys-apps/mktemp-1.5' package has failed with
* exit value -1. The problem occurred while executing the ebuild located
* at '/var/db/pkg/sys-apps/mktemp-1.5/mktemp-1.5.ebuild'. If necessary,
* manually remove the ebuild in order to skip the execution of removal
* phases.
Traceback (most recent call last):
  File "/usr/bin/emerge", line 6971, in ?
    retval = emerge_main()
  File "/usr/bin/emerge", line 6951, in emerge_main
    mtimedb["ldpath"]):
  File "/usr/bin/emerge", line 4751, in unmerge
    vartree=vartree, ldpath_mtimes=ldpath_mtimes)
  File "/usr/lib/portage/pym/portage.py", line 5022, in unmerge
    ldpath_mtimes=ldpath_mtimes)
  File "/usr/lib/portage/pym/portage.py", line 8290, in unmerge
    vartree=self.vartree)
  File "/usr/lib/portage/pym/portage.py", line 4627, in doebuild
    mysettings, debug=debug, free=1, logfile=logfile)
  File "/usr/lib/portage/pym/portage.py", line 2824, in spawn
    set_term_size(rows, columns, slave_fd)
  File "/usr/lib/portage/pym/output.py", line 347, in set_term_size
    spawn(cmd, env=os.environ, fd_pipes={0:fd})
  File "/usr/lib/portage/pym/portage_exec.py", line 179, in spawn
    raise CommandNotFound(mycommand[0])
portage_exception.CommandNotFound: stty


想不出来办法了啊,大家棒棒忙....

谢谢....
发表于 2008-4-14 13:39:28 | 显示全部楼层
If necessary,
* manually remove the ebuild in order to skip the execution of removal
* phases.
回复 支持 反对

使用道具 举报

发表于 2008-4-14 13:39:31 | 显示全部楼层
If necessary,
* manually remove the ebuild in order to skip the execution of removal
* phases.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-4-14 13:59:45 | 显示全部楼层
那我现在应该怎么办......
回复 支持 反对

使用道具 举报

发表于 2008-4-14 14:01:12 | 显示全部楼层
哈哈,又是回复两次
楼主的这个问题,前面的贴子有办法解决啊,哪用得着重装的喔,要知道,你用的是gentoo
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-4-14 14:17:28 | 显示全部楼层
我看有说fsck -y /dev/sdax 下就OK了啊,不知道好不好用...
最近工作忙 , 不感重新启动系统,怕不好用,系统再用不了了啊.....

能不能给个能解决这个问题的连接.....
回复 支持 反对

使用道具 举报

发表于 2008-4-14 20:02:07 | 显示全部楼层
http://bbs.linuxsir.cn/thread326874.html
这个帖子不知道对你是否有帮助
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-4-15 09:56:52 | 显示全部楼层
Post by zxuan;1838187
http://bbs.linuxsir.cn/thread326874.html
这个帖子不知道对你是否有帮助


多谢多谢...我去实一下...
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表