Re: db backup script in gentoo

From: "Andrus" <kobruleht2(at)hot(dot)ee>
To: <AelMalinka(at)gmail(dot)com>
Cc: <reid(dot)thompson(at)ateb(dot)com>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: db backup script in gentoo
Date: 2008-12-01 18:16:38
Message-ID: 468426FEE8D34168A8A51F9712DDB4D5@andrusnotebook
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

>your /usr/portage directory is probably not mounted properly check that
>again and then check /etc/make.profile points to a valid directory which
>will be >something along the lines of
>/usr/portage/profiles/default-linux/<arch>/<version>

jomanda etc # ls /etc/make.profile -l
lrwxrwxrwx 1 root root 48 19. juuni 2006 /etc/make.profile ->
../usr/portage/profiles/default-linux/x86/2006.0
jomanda etc # ls -l ../usr/portage/profiles/default-linux/x86/2006.0
ls: ../usr/portage/profiles/default-linux/x86/2006.0: No such file or
directory
jomanda etc # ls -l ../usr/portage/profiles/default-linux/x86/2007.0
kokku 12
drwxr-xr-x 2 root root 54 14. apr 2007 desktop
-rw-r--r-- 1 root root 486 8. aug 2007 make.defaults
-rw-r--r-- 1 root root 664 14. apr 2007 packages
-rw-r--r-- 1 root root 3 14. apr 2007 parent
drwxr-xr-x 2 root root 60 14. apr 2007 server
jomanda amd64 # emerge portage
Calculating dependencies... done!

!!! Error: the <sys-apps/portage-2.1.4_rc1 package conflicts with another
package;
!!! the two packages cannot be installed on the same system together.
!!! Please use 'emerge --pretend' to determine blockers.

For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked

jomanda etc # emerge portage

!!! Your current profile is deprecated and not supported anymore.
!!! Please upgrade to the following profile if possible:
default/linux/x86/2008.0

To upgrade do the following steps:
# cd /etc/
# rm make.profile
# ln -s ../usr/portage/profiles/default/linux/x86/2008.0 make.profile

Calculating dependencies... done!

!!! Error: the <sys-apps/portage-2.1.4_rc1 package conflicts with another
package;
!!! the two packages cannot be installed on the same system together.
!!! Please use 'emerge --pretend' to determine blockers.

For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked

jomanda etc # cd /etc/
jomanda etc # rm make.profile
jomanda etc # ln -s ../usr/portage/profiles/default/linux/x86/2008.0
make.profile
jomanda etc # emerge portage
Traceback (most recent call last):
File "/usr/bin/emerge", line 4049, in ?
emerge_main()
File "/usr/bin/emerge", line 3768, in emerge_main
settings, trees, mtimedb = load_emerge_config()
File "/usr/bin/emerge", line 3679, in load_emerge_config
trees = portage.create_trees(trees=trees, **kwargs)
File "/usr/lib/portage/pym/portage.py", line 6780, in create_trees
config_incrementals=portage_const.INCREMENTALS)
File "/usr/lib/portage/pym/portage.py", line 902, in __init__
addProfile(os.path.realpath(self.profile_path))
File "/usr/lib/portage/pym/portage.py", line 889, in addProfile
raise portage_exception.ParseError(
NameError: global name 'parents_file' is not defined

Andrus.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Sebastian Tennant 2008-12-01 18:18:58 Re: Detecting changes to certain fields in 'before update' trigger functions
Previous Message Malinka Rellikwodahs 2008-12-01 17:56:24 Re: db backup script in gentoo