Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 215971

Summary: Installer fails with an ACCEPT_KEYWORDS error
Product: Gentoo Release Media Reporter: Bruce Patton <3bp>
Component: InstallerAssignee: Gentoo Linux Installer <gli-bugs>
Status: RESOLVED INVALID    
Severity: critical CC: releng, whoami2u22
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Bruce Patton 2008-04-02 23:35:14 UTC
Gentoo amd64 Live CD install fails. 

GLI: April 02 2008 23:18:37 - Edited Config file /mnt/gentoo/etc/conf.d/clock
GLI: April 02 2008 23:18:37 - Timezone set.
GLI: April 02 2008 23:18:37 - Starting emerge_kernel, package is livecd-kernel
GLI: April 02 2008 23:19:03 - This is a bad thing. An exception occured outside 
of the normal install errors. The error was: ''ACCEPT_KEYWORDS''
GLI: April 02 2008 23:19:03 - Traceback (most recent call last):
GLI: April 02 2008 23:19:03 - File "/opt/installer/GLIClientController.py", line
 122, in run
    func()
GLI: April 02 2008 23:19:03 - File "/opt/installer/GLIArchitectureTemplate.py", 
line 685, in emerge_kernel_sources
    arch = portage_info["ACCEPT_KEYWORDS"].split(" ")[0].strip("~")
GLI: April 02 2008 23:19:03 - KeyError: 'ACCEPT_KEYWORDS'


Reproducible: Didn't try

Steps to Reproduce:
1.Install gentoo linux with Live CD
2.get below error message 
3. cuss 

Actual Results:  
GLI: April 02 2008 23:18:37 - Edited Config file /mnt/gentoo/etc/conf.d/clock
GLI: April 02 2008 23:18:37 - Timezone set.
GLI: April 02 2008 23:18:37 - Starting emerge_kernel, package is livecd-kernel
GLI: April 02 2008 23:19:03 - This is a bad thing. An exception occured outside 
of the normal install errors. The error was: ''ACCEPT_KEYWORDS''
GLI: April 02 2008 23:19:03 - Traceback (most recent call last):
GLI: April 02 2008 23:19:03 - File "/opt/installer/GLIClientController.py", line
 122, in run
    func()
GLI: April 02 2008 23:19:03 - File "/opt/installer/GLIArchitectureTemplate.py", 
line 685, in emerge_kernel_sources
    arch = portage_info["ACCEPT_KEYWORDS"].split(" ")[0].strip("~")
GLI: April 02 2008 23:19:03 - KeyError: 'ACCEPT_KEYWORDS'


Expected Results:  
Successful install 

2008.beta release 1
Comment 1 Andrew Gaffney (RETIRED) gentoo-dev 2008-04-04 11:59:25 UTC
The only way this could happen is if the profile is bad or not linked up properly inside the chroot. I'll have to fetch the amd64 livecd and find a machine to test on to try to reproduce this.
Comment 2 Bruce Patton 2008-04-04 13:46:09 UTC
(In reply to comment #1)
> The only way this could happen is if the profile is bad or not linked up
> properly inside the chroot. I'll have to fetch the amd64 livecd and find a
> machine to test on to try to reproduce this.
> 
I was able to get it to install by starting from scratch and deleting all partitions, and letting it automatically set the partitions. I may have set up the partitions correctly, so this may have caused the failure the first time.

The other problem I then during installation is that it would fail if I tried to install x11 as additional components. I redid the installation and did not select any additional packages and I was successful. 

After rebooting, I was not able to install x11 due to build errors with mkfontconfig-1.0.3, which is needed by almost every package. 
Comment 3 Andrew Gaffney (RETIRED) gentoo-dev 2008-04-04 14:19:27 UTC
Okay, so it sounds like you didn't reformat your partitions before installing.
Comment 4 Andrew Gaffney (RETIRED) gentoo-dev 2008-04-13 19:42:48 UTC
*** Bug 217546 has been marked as a duplicate of this bug. ***