Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127879 - Installer fails: chroot cannot run etc-update, missing make.conf
Summary: Installer fails: chroot cannot run etc-update, missing make.conf
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Installer (show other bugs)
Hardware: All Linux
: High blocker (vote)
Assignee: Gentoo Linux Installer
URL:
Whiteboard:
Keywords:
: 127878 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-03-28 10:22 UTC by Nils Stoeckmann
Modified: 2006-03-28 10:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nils Stoeckmann 2006-03-28 10:22:01 UTC
Hi!

When I try to install gentoo off the 2006.0LiveCD the installer stops shortly after unpacking the portage tree. This is experienced on all stages, LiveCD and updated portage trees.
I can only guess that something is wrong creating/using/modifying the chrooted make.conf (/mnt/gentoo/etc/).
Any Ideas what I did wrong?

Appended: 1. Error Msg.  2. Log output  3. xml-installprofile


1.
chroot: cannot run command `etc-update': No such file or directory
Exception received:
[Errno 2] No such file or directory: '/mnt/gentoo/etc/make.conf'


2.
GLI: March 29 2006 19:12:27 - file:///home/gentoo/Desktop/Downloads/portage-20060320.tar.bz2 was fetched and unpacked.
GLI: March 29 2006 19:12:27 - DEBUG: waiting at top of 'while' loop in CC in secondary thread...waiting to start step 4, Updating config files
GLI: March 29 2006 19:12:27 - DEBUG: next_step(): setting Event() flag...starting step 4, Updating config files
GLI: March 29 2006 19:12:27 - DEBUG: Event() cleared at top of 'while' loop in CC in secondary thread...starting step 4, Updating config files
GLI: March 29 2006 19:12:27 - DEBUG: update_config_files(): running: echo "-5" | chroot /mnt/gentoo etc-update
GLI: March 29 2006 19:12:27 - ERROR! : Could not update the config files!
GLI: March 29 2006 19:12:27 - DEBUG: waiting at top of 'while' loop in CC in secondary thread...waiting to start step 5, Configure /etc/make.conf
GLI: March 29 2006 19:12:28 - DEBUG: next_step(): setting Event() flag...starting step 5, Configure /etc/make.conf
GLI: March 29 2006 19:12:28 - DEBUG: Event() cleared at top of 'while' loop in CC in secondary thread...starting step 5, Configure /etc/make.conf
GLI: March 29 2006 19:12:28 - DEBUG: _edit_config() called with {u'MAKEOPTS': ''} and flags: =quotes: True value: False
GLI: March 29 2006 19:12:28 - DEBUG: Contents of file /mnt/gentoo/etc/make.conf: [u'MAKEOPTS=""\n']
GLI: March 29 2006 19:12:28 - This is a bad thing. An exception occured outside of the normal install errors. The error was: '[Errno 2] No such file or directory: '/mnt/gentoo/etc/make.conf''
GLI: March 29 2006 19:12:28 - Traceback (most recent call last):
GLI: March 29 2006 19:12:28 - File "/opt/installer/GLIClientController.py", line 165, in run
    self._install_steps[self._install_step]['function']()
GLI: March 29 2006 19:12:28 - File "/opt/installer/GLIArchitectureTemplate.py", line 491, in configure_make_conf
    self._edit_config(filename, {key: make_conf[key]})
GLI: March 29 2006 19:12:28 - File "/opt/installer/GLIArchitectureTemplate.py", line 207, in _edit_config
    f = open(filename,'w')
GLI: March 29 2006 19:12:28 - IOError: [Errno 2] No such file or directory: '/mnt/gentoo/etc/make.conf'
GLI: March 29 2006 19:12:28 - DEBUG: waiting at top of 'while' loop in CC in secondary thread...waiting to start step 6, Preparing chroot
GLI: March 29 2006 19:12:28 - DEBUG: install_failed_cleanup(): gathering mounts to unmount
GLI: March 29 2006 19:12:29 - DEBUG: install_failed_cleanup(): running: umount -l /mnt/gentoo/mnt/windows
GLI: March 29 2006 19:12:29 - DEBUG: install_failed_cleanup(): running: umount -l /mnt/gentoo/home
GLI: March 29 2006 19:12:30 - DEBUG: install_failed_cleanup(): running: umount -l /mnt/gentoo
GLI: March 29 2006 19:13:04 - DEBUG: install_failed_cleanup(): running: umount -l 
GLI: March 29 2006 19:13:04 - DEBUG: install_failed_cleanup(): running: swapoff /dev/hda2
GLI: March 29 2006 19:13:04 - DEBUG: install_failed_cleanup(): running: cp /tmp/compile_output.log /tmp/compile_output.log.failed then removing /tmp/compile_output.log


3.
<?xml version="1.0" ?>
<gli-profile>
	<kernel-build-method>
		genkernel
	</kernel-build-method>
	<cron-daemon>
		none
	</cron-daemon>
	<domainname>
		eminenz
	</domainname>
	<portage-snapshot>
		file:///home/gentoo/Desktop/Downloads/portage-20060320.tar.bz2
	</portage-snapshot>
	<kernel-source>
		gentoo-sources
	</kernel-source>
	<install-pcmcia-cs>
		False
	</install-pcmcia-cs>
	<time-zone>
		Europe/Berlin
	</time-zone>
	<install-distcc>
		False
	</install-distcc>
	<boot-device>
		/dev/hda
	</boot-device>
	<dynamic-stage3>
		False
	</dynamic-stage3>
	<kernel-bootsplash>
		True
	</kernel-bootsplash>
	<bootloader-mbr>
		True
	</bootloader-mbr>
	<hostname>
		exitus
	</hostname>
	<bootloader-kernel-args/>
	<post-install-script-uri/>
	<nisdomainname/>
	<install-stage>
		1
	</install-stage>
	<ftp-proxy/>
	<rsync-proxy/>
	<stage-tarball>
		file:///home/gentoo/Desktop/Downloads/portage-20060320.tar.bz2
	</stage-tarball>
	<bootloader>
		grub
	</bootloader>
	<root-pass-hash>
		$1$1SSohetX$n.3sD2kbajIjS5tSD6XPE0
	</root-pass-hash>
	<http-proxy/>
	<mta/>
	<grp-install>
		False
	</grp-install>
	<logging-daemon>
		syslog-ng
	</logging-daemon>
	<kernel-config/>
	<portage-tree-sync>
		snapshot
	</portage-tree-sync>
	<kernel-initrd>
		True
	</kernel-initrd>
	<install-rp-pppoe>
		False
	</install-rp-pppoe>
	<install-packages>
		sim-im gnome xorg-x11 chkrootkit nmap xpdf gnupg netcat mod_php proftpd mysql apache traceroute cups slocate ethereal xmms realplayer openoffice gftp mplayer xchat gimp
	</install-packages>
	<network-interfaces>
		<device ip="dhcp" options="">
			eth1
		</device>
	</network-interfaces>
	<network-mounts/>
	<partitions>
		<device devnode="/dev/hda" disklabel="msdos">
			<partition format="True" mb="21451" minor="1" mkfsopts="" mountopts="defaults" mountpoint="/mnt/windows" origminor="0" resized="False" type="fat32"/>
			<partition format="True" mb="1241" minor="2" mkfsopts="" mountopts="" mountpoint="" origminor="0" resized="False" type="linux-swap"/>
			<partition format="True" mb="5700" minor="3" mkfsopts="" mountopts="defaults" mountpoint="/" origminor="0" resized="False" type="ext3"/>
			<partition format="True" mb="67000" minor="4" mkfsopts="" mountopts="defaults" mountpoint="/home" origminor="0" resized="False" type="reiserfs"/>
		</device>
	</partitions>
	<services>
		alsasound,proftpd
	</services>
	<users>
		<user comment="" groups="users,wheel,audio,video,games,apache,cdrom" hash="$1$Y.xSlibY$mHSVI6xcqIeAHyh0vUdrF0" homedir="" shell="" uid="">
			Sherlock
		</user>
	</users>
	<etc-files>
		<file name="rc.conf">
			<entry name="DISPLAYMANAGER">
				gdm
			</entry>
			<entry name="XSESSION">
				Gnome
			</entry>
			<entry name="EDITOR">
				/bin/nano
			</entry>
		</file>
		<file name="conf.d/clock">
			<entry name="CLOCK">
				local
			</entry>
		</file>
		<file name="conf.d/keymaps">
			<entry name="KEYMAP">
				de-latin1-nodeadkeys
			</entry>
			<entry name="SET_WINDOWSKEYS">
				Yes
			</entry>
		</file>
		<file name="conf.d/consolefont">
			<entry name="CONSOLEFONT">
				8859-1.a0-ff.08
			</entry>
		</file>
		<file name="make.conf">
			<entry name="MAKEOPTS"/>
			<entry name="USE">
				 16bit S3TC X a52 aac acpi aim aimextras alsa -amrr aotuv apache apache2 apm applet arts asf audacious audiofile authfile avi bash-completion berkdb bitmap-fonts bl bluetooth buttons bzip2 capi ccache cdparanoia cdr cli cpudetection -cracklib crypt css ctype cups dba dga directfb -dnd dpms dri dvd dvdr dvdread ecc -eds elibc_glibc emboss emerald encode esd ethereal exif expat fam fame -fastbuild fat fbcon fbsplash ffmpeg flac fltk foomaticdb force-cgi-redirect -fortran ftp gd gdbm geoip geometry gif -gimp gimpprint glut glx gmp gnome gnome-print gphoto2 -gpm gps -gs gstreamer gtk gtk2 gtkhtml gtkspell guile -i8x0 ibam icq id3 idn ieee1394 imlib insecure-savers ipppd -ipv6 irc -irda isdnlog john joystick jpeg -kde kernel_linux ladspa lame -lcd -lcms -libg++ libwww lirc mad memlimit -mikmod -mng motif mounts-check -mouse -mozilla moznocompose moznoirc moznomail moznoxft mp3 mp4live -mpe mpeg mpeg2 mplayer -mpm-peruser mpm-worker mysql mysqli ncurses netboot network new-login nls no-htdocs -no_wxgtk1 noamazon nomac nosendmail nptl nvram offensive ogg oggvorbis opengl oss overload pam pcre pdflib perl php player pmu png pnp posix pppd python qt quicktime radiotap rar readline reiser4 reiserfs samba sdl sendfile session sharedmem simplexml slang sndfile soap sockets speex spell spl sql ssl subversion tcltk -tcpd tga theora tiff tokenizer truetype truetype-fonts type1-fonts udev userland_GNU utf8 v4l v4l2 vidix vorbis wifi win32codecs x264 x86 xanim -xatrix xine xml xml2 xmlreader xmms xpm xrandr xscreensaver xsl xv xvid zip zlib
			</entry>
			<entry name="FEATURES">
				buildpkg
			</entry>
			<entry name="ACCEPT_KEYWORDS"/>
			<entry name="CHOST">
				i686-pc-linux-gnu
			</entry>
			<entry name="CFLAGS">
				-march=pentium-m -O2 -pipe
			</entry>
		</file>
	</etc-files>
</gli-profile>
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-03-28 10:24:13 UTC
*** Bug 127878 has been marked as a duplicate of this bug. ***
Comment 2 Preston Cody (RETIRED) gentoo-dev 2006-03-28 10:28:20 UTC
The install failed because you used your portage snapshot URI as your stage3 tarball URI, which means you got no stage3, and thus no working environment.  Please try your installation again with a valid stage3 tarball URI or select Dynamic.