You're on an OVH server, no way to reach the table because they are all mounted partiton. Never mind: Create the directory / home / portage tree and then copy into this directory and delete the old tree.
Code:
# Mkdir / home / portage
# Chown portage: portage / home / portage
# Cp-R / usr / portage / * / home / portage /
# Rm-R / usr / portage
Then enter or return to portage tree: edit / etc / make.conf and add to the guidelines:
Code:
PORTDIR = "/ home / portage"
DISTDIR = "/ home / portage / distfiles" or "$ {PORTDIR} / distfiles"
PKGDIR = "/ home / portage / packages" or "$ {PORTDIR} / packages"
Well, this is done, we are proud (e) the work done. We check that port has moved:
Code:
# Emerge - search bash
..
! ARCH is not set ... Are you missing the / etc / make.profile symlink?
! Is the symlink correct? Is your portage tree complete?
You guessed it: by moving the tree, it has nullified the symbolic link that defines the ARCH (Architecture) system: / etc / make.profile. You will need resettlement, you can do by hand:
Code:
# Ls-alh / etc / make.profile
///// Note the line which is then displayed. It should look like "lrwxrwxrwx 1 root root 55 9:42 p.m. Jan. 22 / etc / make.profile -> / usr/portage/profiles/default-linux/x86/2007.0/desktop /"
/ / / / The part that concerns us is the end of the road; here: default-linux/x86/2007.0/desktop / it's your profile.
# Cd / etc
# Rm-i make.profile
# Ln-s / home / portage / profiles / <path> / <votre> / <profile> make.profile
or do it using eselect with the profile option.
Bookmarks