Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 193072 - 2007.0 LiveCD gtk+ installer fails at kernel compilation installation (read only filesystem)
Summary: 2007.0 LiveCD gtk+ installer fails at kernel compilation installation (read ...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Installer (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Gentoo Linux Installer
URL:
Whiteboard:
Keywords:
: 204192 208655 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-09-19 15:30 UTC by Jeremy Johnson
Modified: 2008-02-03 01:32 UTC (History)
2 users (show)

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 Jeremy Johnson 2007-09-19 15:30:37 UTC
the gtk+ GLI installer on the 2007.0 LiveCD fails during networkless install. First of all, it doesn't re-format the partitions before copying files (bug or feature?) and then fails if  it can't overwrite a previous file (easily fixed by shelling out to correct the problem). But then it fails complaining about an empty dependency list (but /usr/portage/* and /var/db/* exist with correct permissions):
GetDepListError: FATAL get_deps: Dep list empty

#cat /var/tmp/installer.log
GLI: September 12 2007 10:52:32 - Mounted mountpoint: /
GLI: September 12 2007 10:52:32 - Mounted mountpoint: /boot
GLI: September 12 2007 10:52:32 - Mounted mountpoint: /home
GLI: September 12 2007 10:52:32 - Mounted mountpoint: /mnt/windows
GLI: September 12 2007 11:26:37 - Stage3 was generated successfully
GLI: September 12 2007 11:26:40 - fstab configured.
GLI: September 12 2007 11:26:40 - Config files updated using etc-update.  make.conf/fstab/rc.conf restored.
GLI: September 12 2007 11:26:40 - Make.conf configured
GLI: September 12 2007 11:26:42 - Chroot environment ready.
GLI: September 12 2007 11:31:24 - Portage tree install was custom.
GLI: September 12 2007 11:31:31 - fstab configured.
GLI: September 12 2007 11:31:31 - Config files updated using etc-update.  make.conf/fstab/rc.conf restored.
GLI: September 12 2007 11:31:31 - Make.conf configured
GLI: September 12 2007 11:32:34 - Root Password set on the new system.
GLI: September 12 2007 11:32:36 - Edited Config file /mnt/gentoo/etc/conf.d/clock
GLI: September 12 2007 11:32:36 - Timezone set.
GLI: September 12 2007 11:32:36 - Starting emerge_kernel, package is livecd-kernel
GLI: September 12 2007 11:33:19 - This is a bad thing. An exception occured outside of the normal install errors. The error was: '[Errno 17] File exists: '/mnt/gentoo/var/db/pkg/sys-kernel/livecd-kernel-1''
GLI: September 12 2007 11:33:19 - Traceback (most recent call last):
GLI: September 12 2007 11:33:19 - File "/opt/installer/GLIClientController.py", line 122, in run
    func()
GLI: September 12 2007 11:33:19 - File "/opt/installer/GLIArchitectureTemplate.py", line 708, in emerge_kernel_sources
    os.mkdir(vdbdir)
GLI: September 12 2007 11:33:19 - OSError: [Errno 17] File exists: '/mnt/gentoo/var/db/pkg/sys-kernel/livecd-kernel-1'
GLI: September 12 2007 11:34:33 - Starting emerge_kernel, package is livecd-kernel
GLI: September 12 2007 11:34:47 -  -- MARK -- 
GLI: September 12 2007 11:34:47 - Starting build_kernel
GLI: September 12 2007 11:35:05 - Edited Config file /mnt/gentoo/etc/conf.d/hostname
GLI: September 12 2007 11:35:05 - Edited Config file /mnt/gentoo/etc/conf.d/domainname
GLI: September 12 2007 11:35:05 - ERROR! Failure adding domainname to runlevel default because it was not found!
GLI: September 12 2007 11:35:05 - ERROR! Could not add domainname to runlevel default. returned a bad status code.
GLI: September 12 2007 11:35:05 - Edited Config file /mnt/gentoo/etc/hosts
GLI: September 12 2007 11:35:27 - Exception received during 'Installing system logger': GetDepListError :FATAL: get_deps: Dep list is empty. This usually means there is no portage tree in the chroot
GLI: September 12 2007 11:35:27 - Traceback (most recent call last):
GLI: September 12 2007 11:35:27 - File "/opt/installer/GLIClientController.py", line 122, in run
    func()
GLI: September 12 2007 11:35:27 - File "/opt/installer/GLIArchitectureTemplate.py", line 956, in install_logging_daemon
    exitstatus = self._portage.emerge(logging_daemon_pkg, self._install_profile.get_grp_install())
GLI: September 12 2007 11:35:27 - File "/opt/installer/GLIPortage.py", line 292, in emerge
    pkglist = self.get_deps(packages, grp_install)
GLI: September 12 2007 11:35:27 - File "/opt/installer/GLIPortage.py", line 54, in get_deps
    raise GLIException("GetDepListError", 'fatal', 'get_deps', "Dep list is empty. This usually means there is no portage tree in the chroot")
GLI: September 12 2007 11:35:27 - GLIException: GetDepListError :FATAL: get_deps: Dep list is empty. This usually means there is no portage tree in the chroot





#cat /var/tmp/installer.log.failed
GLI: September 12 2007 09:54:18 - Gentoo Linux Installer version 0.5.4
GLI: September 12 2007 09:55:59 - Mounted mountpoint: /
GLI: September 12 2007 09:55:59 - Mounted mountpoint: /boot
GLI: September 12 2007 09:55:59 - Mounted mountpoint: /home
GLI: September 12 2007 09:55:59 - Mounted mountpoint: /mnt/windows
GLI: September 12 2007 10:30:57 - Stage3 was generated successfully
GLI: September 12 2007 10:30:59 - Chroot environment ready.
GLI: September 12 2007 10:35:50 - Portage tree install was custom.
GLI: September 12 2007 10:36:24 - Edited Config file /mnt/gentoo/etc/make.conf
GLI: September 12 2007 10:36:24 - Edited Config file /mnt/gentoo/etc/make.conf
GLI: September 12 2007 10:36:24 - Edited Config file /mnt/gentoo/etc/make.conf
GLI: September 12 2007 10:36:24 - Edited Config file /mnt/gentoo/etc/make.conf
GLI: September 12 2007 10:36:24 - Edited Config file /mnt/gentoo/etc/make.conf
GLI: September 12 2007 10:36:24 - Make.conf configured
GLI: September 12 2007 10:37:00 - Root Password set on the new system.
GLI: September 12 2007 10:37:01 - Edited Config file /mnt/gentoo/etc/conf.d/clock
GLI: September 12 2007 10:37:01 - Timezone set.
GLI: September 12 2007 10:41:09 - Starting emerge_kernel, package is livecd-kernel
GLI: September 12 2007 10:41:45 - This is a bad thing. An exception occured outside of the normal install errors. The error was: '[Errno 17] File exists: '/mnt/gentoo/var/db/pkg/sys-kernel/livecd-kernel-1''
GLI: September 12 2007 10:41:45 - Traceback (most recent call last):
GLI: September 12 2007 10:41:45 - File "/opt/installer/GLIClientController.py", line 122, in run
    func()
GLI: September 12 2007 10:41:45 - File "/opt/installer/GLIArchitectureTemplate.py", line 708, in emerge_kernel_sources
    os.mkdir(vdbdir)
GLI: September 12 2007 10:41:45 - OSError: [Errno 17] File exists: '/mnt/gentoo/var/db/pkg/sys-kernel/livecd-kernel-1'


#tail compile_output.log.failed
var/cache/edb/dep/usr/portage/x11-wm/
var/cache/edb/dep/usr/portage/x11-wm/metacity-2.14.5
var/cache/edb/dep/usr/portage/x11-wm/metacity-2.16.3
var/cache/edb/dep/usr/portage/x11-wm/twm-1.0.1
var/cache/edb/dep/usr/portage/x11-wm/twm-1.0.2
var/cache/edb/dep/usr/portage/x11-wm/twm-1.0.3
FATAL: Could not open /lib/modules/2.6.19-gentoo-r5/modules.dep.temp for writing: Read-only file system

Reproducible: Always

Steps to Reproduce:
1.run gtk+ installer
2.
3.
Comment 1 Andrew Gaffney (RETIRED) gentoo-dev 2007-11-16 21:28:50 UTC
Starting with 2007.1, the installer will be for networkless installs only,
which makes this bug moot.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2008-01-03 19:48:43 UTC
*** Bug 204192 has been marked as a duplicate of this bug. ***
Comment 3 Rich Holmes 2008-01-03 20:26:00 UTC
(In reply to comment #1)
> Starting with 2007.1, the installer will be for networkless installs only,
> which makes this bug moot.
> 

Pardon me if I'm being dense, but why does "the gtk+ GLI installer on the 2007.0 LiveCD fails during networkless install" become moot when there are only networkless installs?
Comment 4 Andrew Gaffney (RETIRED) gentoo-dev 2008-01-03 20:41:40 UTC
When I closed this bug, I only looked at the summary which mentions kernel compilation. However, the reporter's problems stem not reformatting the filesystem he's installing on to (which is a feature, not a bug). Looking at your bug, you probably did the same thing.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2008-02-03 01:32:53 UTC
*** Bug 208655 has been marked as a duplicate of this bug. ***