View previous topic :: View next topic |
Author |
Message |
Adel Ahmed Veteran
Joined: 21 Sep 2012 Posts: 1523
|
Posted: Sun Mar 01, 2015 10:58 am Post subject: problems with portage[solved] |
|
|
I'm trying to install gentoo without the stage 3 tarball(using chroot and host system portage)
I have installed several tools to prepare my chroot howeever when I try emerging(or pretend fetches) I get the following error:
ssd ~ # emerge -pv busybox
Traceback (most recent call last):
File "/usr/lib/python-exec/python2.7/emerge", line 50, in <module>
retval = emerge_main()
File "/usr/lib64/python2.7/site-packages/_emerge/main.py", line 1070, in emerge_main
return run_action(emerge_config)
File "/usr/lib64/python2.7/site-packages/_emerge/actions.py", line 4082, in run_action
emerge_config.args, spinner)
File "/usr/lib64/python2.7/site-packages/_emerge/actions.py", line 103, in action_build
chk_updated_cfg_files(settings['EROOT'], ['/etc/portage'])
File "/usr/lib64/python2.7/site-packages/_emerge/chk_updated_cfg_files.py", line 17, in chk_updated_cfg_files
portage.util.find_updated_config_files(target_root, config_protect))
File "/usr/lib64/python2.7/site-packages/portage/util/__init__.py", line 1741, in find_updated_config_files
stderr=subprocess.STDOUT)
File "/usr/lib64/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/usr/lib64/python2.7/subprocess.py", line 1335, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
I can search just fine, here's my world file:
app-portage/gentoolkit
app-shells/bash
sys-apps/man
sys-apps/portage
sys-libs/glibc
I only have these packages and their prerequisites installed, so I think a portage dependancy might be missing(I used gentoolkit and it says portage's dependencies are installed)
ocalhost ~ # ROOT=/media/ssd/ emerge -pv gentoolkit bash man portage glibc
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] sys-apps/man-1.6g to /media/ssd/ USE="-lzma -nls (-selinux)" 0 KiB
[ebuild R ] app-shells/bash-4.2_p53 to /media/ssd/ USE="(readline) -afs -bashlogger -examples -mem-scramble -net -nls -plugins -vanilla" 0 KiB
[ebuild R ] sys-libs/glibc-2.19-r1:2.2 to /media/ssd/ USE="(multilib) -debug -gd (-hardened) -nscd -profile (-selinux) -suid -systemtap -vanilla" 0 KiB
[ebuild R ] sys-apps/portage-2.2.14 to /media/ssd/ USE="(ipc) -build -doc -epydoc (-selinux) -xattr" LINGUAS="-ru" PYTHON_TARGETS="python2_7 python3_3 (-pypy) -python3_4" 0 KiB
[ebuild R ] app-portage/gentoolkit-0.3.0.9-r2 to /media/ssd/ PYTHON_TARGETS="python2_7 python3_3 (-pypy) -python3_4" 0 KiB
Total: 5 packages (5 reinstalls), Size of downloads: 0 KiB
thanks
Last edited by Adel Ahmed on Wed Mar 04, 2015 2:37 pm; edited 1 time in total |
|
Back to top |
|
|
dol-sen Retired Dev
Joined: 30 Jun 2002 Posts: 2805 Location: Richmond, BC, Canada
|
Posted: Sun Mar 01, 2015 5:01 pm Post subject: |
|
|
Creating a new linux system from scratch is complicated. It is not as simple as what you are doing.
Are you trying to build a gentoo system using a custom profile and packages list?
Or are you just trying to learn how to do it?
dev-util/catalyst is the tool we use to create the stages. The portage tree has a list of the files needed for a system set, plus a special bootstrap script. It also require a careful use of the build use flag.
For stage1 it uses a host stage3 to build a bare minimum stage1 to an alternate root.
Then for stage2 it chroots into the new stage1 rebuilds some things adding a few pkgs.
Stage3, chroots into the stage2 and adds the remaining pkgs. _________________ Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch... |
|
Back to top |
|
|
Adel Ahmed Veteran
Joined: 21 Sep 2012 Posts: 1523
|
Posted: Sun Mar 01, 2015 11:09 pm Post subject: |
|
|
I'm doing it for educational purposes, the system set seems to have an interesting array of packages, I'll try out those packages to try and find out what's missing
thanks |
|
Back to top |
|
|
Adel Ahmed Veteran
Joined: 21 Sep 2012 Posts: 1523
|
Posted: Wed Mar 04, 2015 2:36 pm Post subject: |
|
|
I just went ahead and installed packages from the @system, apparently, the findutils package was all that was needed to get portage working |
|
Back to top |
|
|
|
|
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
|
|