LinuxSir.cn,穿越时空的Linuxsir!

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

安装openoffice-bin失败(暂时解决)

[复制链接]
发表于 2008-12-29 11:48:41 | 显示全部楼层 |阅读模式
突然问有个Office的文档要开,去发现没有装Office软件,就emerge openoffice-bin,好不容易下载完成了,安装却出现错误,那个晕呀~还是二进制包呢!信息出下:
  1. ACCESS DENIED  unlinkat:  /usr/lib64/openoffice/basis-link
  2. rm: 无法删除 “/usr/lib64/openoffice/basis-link”: 权限不够
  3. *
  4. * ERROR: app-office/openoffice-bin-3.0.0 failed.
  5. * Call stack:
  6. *               ebuild.sh, line   49:  Called src_install
  7. *             environment, line 2238:  Called die
  8. * The specific snippet of code:
  9. *       rm -f ${INSTDIR}/basis-link || die;
  10. *  The die message:
  11. *   (no error message)
  12. *
  13. * If you need support, post the topmost build error, and the call stack if relevant.
  14. * A complete build log is located at '/var/tmp/portage/app-office/openoffice-bin-3.0.0/temp/build.log'.
  15. * The ebuild environment file is located at '/var/tmp/portage/app-office/openoffice-bin-3.0.0/temp/environment'.
  16. *
  17. --------------------------- ACCESS VIOLATION SUMMARY ---------------------------
  18. LOG FILE "/var/log/sandbox/sandbox-23277.log"
复制代码


我已经是用sudo来装了呀,为何还权限不够?su来了一次也如此
 楼主| 发表于 2008-12-29 12:02:21 | 显示全部楼层
暂时解决,把Ebuild里
  1. rm -f ${INSTDIR}/basis-link || die
复制代码
这一行注释掉,但不知有没有什么副作用,暂时还能用
回复 支持 反对

使用道具 举报

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

本版积分规则

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