LinuxSir.cn,穿越时空的Linuxsir!

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

想装openoffice,空间不足,只有fat32分区,但是emerge好像不能用,杂整?

[复制链接]
发表于 2007-11-28 12:20:39 | 显示全部楼层 |阅读模式
将我电脑上一个5G的fat32分区挂在在/var/tmp/portage下然后emerge openoffice就出错
Traceback (most recent call last):
  File "/usr/bin/emerge", line 6518, in ?
    retval = emerge_main()
  File "/usr/bin/emerge", line 6512, in emerge_main
    myopts, myaction, myfiles, spinner)
  File "/usr/bin/emerge", line 5971, in action_build
    retval = mergetask.merge(pkglist, favorites, mtimedb)
  File "/usr/bin/emerge", line 3776, in merge
    mode=070, mask=0)
  File "/usr/lib/portage/pym/portage_util.py", line 865, in ensure_dirs
    perms_modified = apply_permissions(dir_path, *args, **kwargs)
  File "/usr/lib/portage/pym/portage_util.py", line 590, in apply_permissions
    raise OperationNotPermitted(func_call)
portage_exception.OperationNotPermitted: chown('/var/tmp/portage', 250, 250)

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++好像是个权限问题,但是不知道如何更改
----------------------------------------------------------------------------
这个是不是fat32的问题?还有能不能不装完整的openoffice 比如它的数据库就用不着,在debian下会默认安装,在gentoo下是不是也是默认安装的?
谢谢
发表于 2007-11-28 12:47:03 | 显示全部楼层
openoffice-bin试了么?
回复 支持 反对

使用道具 举报

发表于 2007-11-28 13:00:26 | 显示全部楼层
编译oo需要5.2G  你最好给宽松点7G ,估计也就oo编译需要那么大的空间了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-11-28 13:26:41 | 显示全部楼层
我硬盘上正好剩余5.2G
openoffice-bin我搜了一下有人说可能中文支持有点问题
目前emerge  openoffice 需要安装46个包,我打算在最后安装oo时清理一下硬盘,然后再emerge oo  但愿能行呵呵
回复 支持 反对

使用道具 举报

发表于 2007-11-28 15:01:01 | 显示全部楼层
你还是多给一点比较好=_= 虽然我df -h 一下是5.2G...........
回复 支持 反对

使用道具 举报

发表于 2007-11-28 15:34:26 | 显示全部楼层
我用bin还没有遇到什么问题
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-11-28 15:59:11 | 显示全部楼层
呵呵   自己编的亲切
先试试吧

如果不行就用bin   呵呵
唉,一开始没分好区,现在主机上有两个硬盘已经有四个主分区了。能腾出空间的地方是个主分区
重新分空间太复杂了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-11-28 16:04:51 | 显示全部楼层
对了  上面那个emerge的错误有没有办法解决?
发现有人和我得到的错误类似,好像是权限的问题,但是安装网页上提示的方法不行
下面是在http://www.gentoo.org/news/en/gw ... xml#doc_chap1_sect4
找到的一个方法  
+++++++++++++++++++++++++++++++++++++++++++++++++++++==
Privilege Separation in Portage

One nice feature of Portage is that it can drop privileges and compile as a less privileged user. It can also sandbox most phases of the installation. This week's tip shows you how to enable these features of Portage to increase the security of your system.

The first step is to create the portage user and group accounts. Portage will use these accounts when running its processes.

Code Listing 8.1: Adding the portage user and group

#  groupadd -g 250 portage
#  useradd -u 250 -g 250 -s /bin/false portage

The next step is to fix the ownership on the areas portage will need access to. By default, these directories are /usr/portage, /var/tmp/portage.

Code Listing 8.2: Fixing ownership on Portage directories

# chown -R portage:portage /usr/portage
# chown -R portage:portage /var/tmp/portage

Note: If you've specified different locations in /etc/make.conf, you will need to ensure that portage has the proper ownership on PORTAGE_TMPDIR, PORTDIR, DISTDIR, PKGDIR, PORT_LOGDIR, and PORTDIR_OVERLAY.

After the ownership has been set properly, you need to enable the features for privilege separate in /etc/make.conf. To do this, you need to edit the FEATURES line.

Code Listing 8.3: /etc/make.conf FEATURES

(FEATURES should look something like the following)
FEATURES="sandbox userpriv usersandbox"

Portage is now set up to drop root privileges and build packages under the portage user account. To test it, use the command top. When you have top open, type u to display processes for a specific user, and type portage at the prompt to display processes for portage. Now emerge something, and watch as the portage user shows up as the owner of all the commands.
回复 支持 反对

使用道具 举报

发表于 2007-11-28 16:09:03 | 显示全部楼层
vfat不支持unix filesystem sementics
换ext3/reiserfs吧
回复 支持 反对

使用道具 举报

发表于 2007-11-28 18:13:13 | 显示全部楼层
oo我只emerge过一次,噩梦般的回忆。后来只用bin。自从oo2以后就没有碰到过什么问题
回复 支持 反对

使用道具 举报

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

本版积分规则

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