Search Postgresql Archives

Re: db backup script in gentoo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux