Jump to content
funtoo forums
  • 0
overkill

meta-repo: Can /usr/portage be deleted now?

Question

10 answers to this question

Recommended Posts

  • 0

If you wipe out /usr/portage, the /etc/portage/make.profile symlink becomes a dead link.

I additionally had to do:

rm /etc/portage/make.profile
ln -sf /var/git/meta-repo/kits/core-kit/profiles/funtoo/1.0/linux-gnu/ /etc/portage/make.profile

I'm not sure if this is correct, as relevant documentation is lacking in https://github.com/funtoo/meta-repo/blob/master/README.rst.

Share this post


Link to post
Share on other sites
  • 0

Thanks. i didn't ask about repos.conf but about make.profile.

I read the README.rst page carefully and did what it says. Nevertheless, I ran into major troubles after removing /usr/portage.

First, no profile is defined anymore:

me@work# epro list

...

WARNING: No arch defined. Please set.
WARNING: No build defined. Please set.
WARNING: No flavor defined. Please set.

If i make /etc/portage/make.profile a link to /var/git/meta-repo/kits/core-kit/profiles/funtoo/1.0/linux-gnu/ as suggested above, epro gets broken:

me@work# epro arch x86-64bit
Traceback (most recent call last):
  File "/usr/bin/epro", line 102, in <module>
    EgoModule.run_ego_module(action, econfig, args, VERSION)
  File "/usr/share/ego/python/ego/module.py", line 64, in run_ego_module
    ego_module(*args)
  File "/usr/share/ego/modules/profile.ego", line 299, in __call__
    super().__call__(*args)
  File "/usr/share/ego/python/ego/module.py", line 49, in __call__
    self.handle(**options)
  File "/usr/share/ego/modules/profile.ego", line 278, in handle
    handler(**options)
  File "/usr/share/ego/modules/profile.ego", line 198, in handle_single_profile_actions
    current_setting = list(self.tree.get_children(profile_type))[0]
IndexError: list index out of range

Second, tools like qsearch etc. do not work any more:

me@work# qsearch base64
search: open failed: /usr/portage: No such file or directory

 

Basically, this means that I cannot emerge anymore and my system is broken, for the first time that I'm using funtoo – and it's quite a couple of years!

Share this post


Link to post
Share on other sites
  • 0

oh your right I got that wrong... sorry but you should have a dir /etc/portage/make.profile with a file called parent

I belive make.profile was a file before the change.

here is mine..

change your subaarch to reflect your hardware.

~$ cat /etc/portage/make.profile/parent
core-kit:funtoo/1.0/linux-gnu/arch/x86-64bit
core-kit:funtoo/1.0/linux-gnu/build/current
core-kit:funtoo/1.0/linux-gnu/arch/x86-64bit/subarch/amd64-piledriver
core-kit:funtoo/1.0/linux-gnu/flavor/workstation
core-kit:funtoo/1.0/linux-gnu/mix-ins/no-systemd
core-kit:funtoo/1.0/linux-gnu/mix-ins/mediadevice-audio-pro
xfce-kit:funtoo/kits/python-kit/3.4-prime
net-kit:funtoo/kits/python-kit/3.4-prime
python-kit:funtoo/kits/python-kit/3.4-prime
core-hw-kit:funtoo/kits/python-kit/3.4-prime
ruby-kit:funtoo/kits/python-kit/3.4-prime
gnome-kit:funtoo/kits/python-kit/3.4-prime
security-kit:funtoo/kits/python-kit/3.4-prime
ml-lang-kit:funtoo/kits/python-kit/3.4-prime
xorg-kit:funtoo/kits/python-kit/3.4-prime
text-kit:funtoo/kits/python-kit/3.4-prime
lisp-scheme-kit:funtoo/kits/python-kit/3.4-prime
java-kit:funtoo/kits/python-kit/3.4-prime
perl-kit:funtoo/kits/python-kit/3.4-prime
games-kit:funtoo/kits/python-kit/3.4-prime
desktop-kit:funtoo/kits/python-kit/3.4-prime
haskell-kit:funtoo/kits/python-kit/3.4-prime
php-kit:funtoo/kits/python-kit/3.4-prime
lang-kit:funtoo/kits/python-kit/3.4-prime
nokit:funtoo/kits/python-kit/3.4-prime
science-kit:funtoo/kits/python-kit/3.4-prime

editors-kit:funtoo/kits/python-kit/3.4-prime
core-kit:funtoo/kits/python-kit/3.4-prime
kde-kit:funtoo/kits/python-kit/3.4-prime
media-kit:funtoo/kits/python-kit/3.4-prime
dev-kit:funtoo/kits/python-kit/3.4-prime

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...