View previous topic :: View next topic |
Author |
Message |
MasterX Veteran
Joined: 26 Jun 2003 Posts: 1165
|
Posted: Wed Jul 23, 2003 4:32 pm Post subject: Problem with export PORTAGE_TMPDIR |
|
|
Hi,
I want to install openoffice 1.1_rc1 and the folder /var is about 3Gb, so I will win out of space (this actually happened to me )
Anyway, I have a windows partition which has about 8Gb and I want to use it temporaly to install the program.
For that I will use the export PORTAGE_TMPDIR
First I created a folder in /mnt to mount the partition then I mounted the partition and in the folder /mnt/blah I created a new folder var to save the files.
The next command is
export PORTAGE_TMPDIR='/mnt/blah/var"
and final I run
emerge openoffice-1.1_rc from /usr/portage/app-office/openoffice
The program gave me the following error
Code: |
alculating dependencies ...done!
>>> emerge (1 of 1) app-office/openoffice-1.1_rc1 to /
!!! File system problem. (ReadOnly? Out of space?)
!!! Perhaps: rm -Rf /mnt/Internet/var/portage
!!! [Errno 1] Operation not permitted: '/mnt/blah/var/portage'
|
Two things bother me:
1. I did all the above as a root
2. If it does not have permision to write, then how did it create the folder portage?
Did anybody encounter a similar problem?
Thank you in advance for your advice |
|
Back to top |
|
|
Pythonhead Developer
Joined: 16 Dec 2002 Posts: 1801 Location: Redondo Beach, Republic of Calif.
|
Posted: Wed Jul 23, 2003 6:09 pm Post subject: |
|
|
I'm not sure what the problem is, but the fact that these lines show two different locations seems odd:
Quote: |
!!! Perhaps: rm -Rf /mnt/Internet/var/portage
!!! [Errno 1] Operation not permitted: '/mnt/blah/var/portage' |
How about changing PORTAGE_TMPDIR in /etc/make.conf instead of using export and see if that works. |
|
Back to top |
|
|
MasterX Veteran
Joined: 26 Jun 2003 Posts: 1165
|
Posted: Wed Jul 23, 2003 10:51 pm Post subject: |
|
|
Pythonhead wrote: | I'm not sure what the problem is, but the fact that these lines show two different locations seems odd:
Quote: |
!!! Perhaps: rm -Rf /mnt/Internet/var/portage
!!! [Errno 1] Operation not permitted: '/mnt/blah/var/portage' |
How about changing PORTAGE_TMPDIR in /etc/make.conf instead of using export and see if that works. |
Well, I made a small typo. It should be /mnt/Internet/var/portage.
Could the problem be because I used a windows partition, FAT32 ? |
|
Back to top |
|
|
Bar n00b
Joined: 21 Jun 2003 Posts: 73
|
Posted: Thu Jul 24, 2003 4:50 am Post subject: |
|
|
i dont know it offhand, but it looks like the drive was mounted read only, which means you either need to make your /etc/fstab show it as writable or...
im not positive but it should be
Code: |
$ mount -t vfat -o rw
|
if that doesnt work go look up the mount options, im emerging and on other comp so dont feel like sifting through man pages to find out exact commands |
|
Back to top |
|
|
MasterX Veteran
Joined: 26 Jun 2003 Posts: 1165
|
Posted: Thu Jul 24, 2003 5:04 am Post subject: |
|
|
Nope it does not work, but thanks for trying.
I remembered that I add thes export command in the make.conf file, but it also gave me the error. |
|
Back to top |
|
|
anonazyet n00b
Joined: 16 Apr 2002 Posts: 38
|
Posted: Thu Jul 24, 2003 5:07 am Post subject: |
|
|
I have the exact same problem. entry in fstab
Code: |
/dev/hda6 /mnt/wine vfat rw,gid=407,umask=0227 0 0
|
where gid of 407 is for group windows. groups portage gives:
portage windows
could anyone plz.. solve this? |
|
Back to top |
|
|
MasterX Veteran
Joined: 26 Jun 2003 Posts: 1165
|
Posted: Thu Jul 24, 2003 5:42 am Post subject: |
|
|
I think I know what the problem is.
Because I mount the partition as root, the group portage does not have permissions to write.
I tried to change the owner and the group of the folder /mnt/Internet/var/portage to portage but I got permission denied.
I read the forum about this problem, but I think my situation is kind different.
Any idea about how can I do that ?
Thank you |
|
Back to top |
|
|
tagswitch n00b
Joined: 19 Jul 2003 Posts: 31
|
Posted: Thu Jul 24, 2003 7:38 am Post subject: |
|
|
Hi,
This may be a temporary solution:
add umask=6000 to your /etc/fstab, thus giving read/write/execute permissions to everybody... this may work.
regards,
R.
PS/ I'm interested in what you are doing (I tried once to compile OOo, but after 2 Gb of temp. disk space it stoppped "disk full") but I have a fat32 partition _________________ emerge -p lightsaber |
|
Back to top |
|
|
MasterX Veteran
Joined: 26 Jun 2003 Posts: 1165
|
Posted: Thu Jul 24, 2003 2:25 pm Post subject: |
|
|
tagswitch wrote: | Hi,
This may be a temporary solution:
add umask=6000 to your /etc/fstab, thus giving read/write/execute permissions to everybody... this may work.
regards,
R.
PS/ I'm interested in what you are doing (I tried once to compile OOo, but after 2 Gb of temp. disk space it stoppped "disk full") but I have a fat32 partition |
I used umask=000, but it did not work.
I'll try what you wrote, you never know
Thanks for the info |
|
Back to top |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9527 Location: beyond the rim
|
Posted: Thu Jul 24, 2003 3:06 pm Post subject: |
|
|
Are you running this as root ? And what was the exact command you executed ? |
|
Back to top |
|
|
MasterX Veteran
Joined: 26 Jun 2003 Posts: 1165
|
Posted: Thu Jul 24, 2003 11:45 pm Post subject: |
|
|
Ok, I give up.
I put an entry for the partition in the fstab and I used the gid, uid option so that the group portage can read and write, but it does not work.
Mybe I should report it as bug.
Thank you all for your help |
|
Back to top |
|
|
|