Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge --sync and error 2
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
womperm
n00b
n00b


Joined: 09 Nov 2010
Posts: 12

PostPosted: Tue Nov 23, 2010 11:49 pm    Post subject: emerge --sync and error 2 Reply with quote

Code:
/ # emerge --sync
>>> Starting rsync with rsync://88.198.83.249/gentoo-portage...
Traceback (most recent call last):
  File "/usr/bin/emerge", line 42, in <module>
    retval = emerge_main()
  File "/usr/lib/portage/pym/_emerge/main.py", line 1326, in emerge_main
    return action_sync(settings, trees, mtimedb, myopts, myaction)
  File "/usr/lib/portage/pym/_emerge/actions.py", line 1799, in action_sync
    fd, tmpservertimestampfile = mkstemp()
  File "/usr/lib/python2.6/tempfile.py", line 286, in mkstemp
    dir = gettempdir()
  File "/usr/lib/python2.6/tempfile.py", line 254, in gettempdir
    tempdir = _get_default_tempdir()
  File "/usr/lib/python2.6/tempfile.py", line 201, in _get_default_tempdir
    ("No usable temporary directory found in %s" % dirlist))
IOError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/']

Code:
/ # ls -ld /tmp /var/tmp /usr/tmp /
drwxr-xr-x 18 root root 4096 Nov  2 15:09 /
drwxrwxrwt  2 root root 4096 Nov  8 23:12 /tmp
lrwxrwxrwx  1 root root    8 Nov  8 23:08 /usr/tmp -> /var/tmp
drwxrwxrwt  2 root root 4096 Nov  2 21:53 /var/tmp
Back to top
View user's profile Send private message
idella4
Retired Dev
Retired Dev


Joined: 09 Jun 2006
Posts: 1600
Location: Australia, Perth

PostPosted: Wed Nov 24, 2010 8:29 am    Post subject: Reply with quote

womperm

post output of grep /PORTAGE_TMPDIR etc/make.conf, like
Code:

genny src # grep PORTAGE_TMPDIR /etc/make.conf               
PORTAGE_TMPDIR="/var/tmp/portage"

_________________
idella4@aus
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum