Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 156836 - "Could not emerge sys-kernel/gentoo-sources-2.6.17-r5" when installing Gentoo with Gentoo Linux Installer (Command Line)
Summary: "Could not emerge sys-kernel/gentoo-sources-2.6.17-r5" when installing Gentoo...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Installer (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux Installer
URL:
Whiteboard:
Keywords:
: 157798 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-12-01 11:54 UTC by lk
Modified: 2006-12-11 01:31 UTC (History)
2 users (show)

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


Attachments
Yildirim's installprofile.xml (installprofile.xml,4.35 KB, application/xml)
2006-12-03 22:33 UTC, Yildirim Karal
Details
Yildirim's installer.log.failed (installer.log.failed,6.35 KB, text/plain)
2006-12-03 22:34 UTC, Yildirim Karal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lk 2006-12-01 11:54:36 UTC
gentoo@livecd / $ cat /var/log/installer.log.failed

GLI: December 01 2006 17:57:35 - Gentoo Linux Installer version 0.4.1
GLI: December 01 2006 17:57:35 - Setting root password.
GLI: December 01 2006 17:57:37 - Portmap started.
GLI: December 01 2006 17:57:37 - Completed pre_install steps
GLI: December 01 2006 18:02:24 - partition(): Processing /dev/sda...
GLI: December 01 2006 18:02:24 -   Partition 1 has origminor 1...saving start sector 63 and end sector 168072029
GLI: December 01 2006 18:02:24 - _partition_delete_step(): Deleting partitions that aren't being resized
GLI: December 01 2006 18:02:24 -   No match in new layout for old minor 2...deleting
GLI: December 01 2006 18:02:24 -   No match in new layout for old minor 5...deleting
GLI: December 01 2006 18:02:24 - _partition_delete_step(): logicals for extended part 4: [5]
GLI: December 01 2006 18:02:24 - _partition_delete_step(): newminor is 0
GLI: December 01 2006 18:02:24 -   No logical partitions are being resized...deleting extended
GLI: December 01 2006 18:02:24 -   No match in new layout for old minor 3...deleting
GLI: December 01 2006 18:02:24 -   Deleting old minor 1 to be recreated later
GLI: December 01 2006 18:02:25 - _partition_resize_step(): Resizing partitions
GLI: December 01 2006 18:02:25 - _partition_recreate_step(): Recreating partitions
GLI: December 01 2006 18:02:25 -   Drive has 234441648 sectors
GLI: December 01 2006 18:02:25 -   Partition 1 has 82066MB
GLI: December 01 2006 18:02:25 -     Old start sector 63 retrieved
GLI: December 01 2006 18:02:25 -     Retrieved start sector is not the same as the calculated next start sector (usually not an issue)
GLI: December 01 2006 18:02:25 -     Old end sector 168072029 retrieved
GLI: December 01 2006 18:02:25 -   Adding primary partition 1 from 63 to 168072029
GLI: December 01 2006 18:02:25 -   Partition 2 has 100MB
GLI: December 01 2006 18:02:25 -     Start sector calculated to be 168072030
GLI: December 01 2006 18:02:25 -     End sector calculated to be 168276830
GLI: December 01 2006 18:02:25 -   Adding primary partition 2 from 168072030 to 168276830
GLI: December 01 2006 18:02:25 -   Partition 3 has 2004MB
GLI: December 01 2006 18:02:25 -     Start sector calculated to be 168276831
GLI: December 01 2006 18:02:25 -     End sector calculated to be 172381023
GLI: December 01 2006 18:02:25 -   Adding primary partition 3 from 168276831 to 172381023
GLI: December 01 2006 18:02:25 -   Partition 4 has 30299MB
GLI: December 01 2006 18:02:25 -     Start sector calculated to be 172381024
GLI: December 01 2006 18:02:25 -     End sector calculated to be 234433376
GLI: December 01 2006 18:02:25 -   Adding primary partition 4 from 172381024 to 234433376
GLI: December 01 2006 18:02:25 - _partition_format_step(): Formatting new partitions
GLI: December 01 2006 18:02:26 -   Formatting partition 2 as ext2 with: mkfs.ext2  /dev/sda2
GLI: December 01 2006 18:02:27 -   Formatting partition 3 as linux-swap with: mkswap  /dev/sda3
GLI: December 01 2006 18:02:32 -   Formatting partition 4 as ext3 with: mkfs.ext3  /dev/sda4
GLI: December 01 2006 18:03:01 - Mounted mountpoint: /
GLI: December 01 2006 18:03:01 - Created mountpoint /boot
GLI: December 01 2006 18:03:02 - Mounted mountpoint: /boot
GLI: December 01 2006 18:08:46 - Stage3 was generated successfully
GLI: December 01 2006 18:08:48 - fstab configured.
GLI: December 01 2006 18:08:48 - Edited Config file /mnt/gentoo/etc/rc.conf
GLI: December 01 2006 18:08:48 - Config files updated using etc-update.  make.conf/fstab/rc.conf restored.
GLI: December 01 2006 18:08:48 - Make.conf configured
GLI: December 01 2006 18:08:49 - Chroot environment ready.
GLI: December 01 2006 18:10:13 - Portage tree install was custom.
GLI: December 01 2006 18:10:18 - Root Password set on the new system.
GLI: December 01 2006 18:10:19 - Edited Config file /mnt/gentoo/etc/conf.d/clock
GLI: December 01 2006 18:10:19 - Timezone set.
GLI: December 01 2006 18:10:19 - Starting emerge_kernel
GLI: December 01 2006 18:11:03 - Coldplug emerged.  Now they should be added to the boot runlevel.
GLI: December 01 2006 18:11:03 - Added coldplug to runlevel boot
GLI: December 01 2006 18:11:04 -  -- MARK -- 
GLI: December 01 2006 18:11:04 - Starting build_kernel
GLI: December 01 2006 18:11:13 - Added syslog-ng to runlevel default
GLI: December 01 2006 18:11:13 - Logging daemon installed: syslog-ng
GLI: December 01 2006 18:11:23 - Added vixie-cron to runlevel default
GLI: December 01 2006 18:11:23 - Cron daemon installed and configured: vixie-cron
GLI: December 01 2006 18:11:25 - Edited Config file /mnt/gentoo/etc/conf.d/hostname
GLI: December 01 2006 18:11:25 - Edited Config file /mnt/gentoo/etc/conf.d/domainname
GLI: December 01 2006 18:11:25 - ERROR! Failure adding domainname to runlevel default because it was not found!
GLI: December 01 2006 18:11:25 - ERROR! Could not add domainname to runlevel default. returned a bad status code.
GLI: December 01 2006 18:11:25 - Edited Config file /mnt/gentoo/etc/hosts
GLI: December 01 2006 18:11:25 - Added net.eth0 to runlevel default
GLI: December 01 2006 18:11:25 - Edited Config file /mnt/gentoo/etc/conf.d/net
GLI: December 01 2006 18:11:28 - dhcpcd emerged.
GLI: December 01 2006 18:11:33 - Emerged the selected bootloader.
GLI: December 01 2006 18:11:34 - Output of Kernel Names:
/mnt/gentoo/boot/kernel-genkernel-x86-2.6.17-gentoo-r7

GLI: December 01 2006 18:11:34 - Output of Initrd Names:
/mnt/gentoo/boot/initramfs-genkernel-x86-2.6.17-gentoo-r7

GLI: December 01 2006 18:11:34 - Bootloader: the three information gathering commands have been run
GLI: December 01 2006 18:11:34 - Grub installed and configured. Contents of grub.conf:
default 0
timeout 30
splashimage=(hd0,1)/grub/splash.xpm.gz
title=Gentoo Linux
root (hd0,1)
kernel /kernel-genkernel-x86-2.6.17-gentoo-r7 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda4  doscsi
initrd /initramfs-genkernel-x86-2.6.17-gentoo-r7

title=Possible Windows P1
rootnoverify (hd0,0)
makeactive
chainloader +1


GLI: December 01 2006 18:11:34 - Grub has not yet been run.  If a normal install, it will now be run.
GLI: December 01 2006 18:11:34 - Bootloader: grub has been installed!
GLI: December 01 2006 18:11:36 - fstab configured.
GLI: December 01 2006 18:11:36 - Edited Config file /mnt/gentoo/etc/rc.conf
GLI: December 01 2006 18:11:36 - Config files updated using etc-update.  make.conf/fstab/rc.conf restored.
GLI: December 01 2006 18:11:37 - User lk was added.
GLI: December 01 2006 18:42:44 - Exception received during 'Installing additional packages.': EmergePackageError :FATAL: emerge: Could not emerge sys-kernel/gentoo-sources-2.6.17-r5!
GLI: December 01 2006 18:42:44 - Traceback (most recent call last):
GLI: December 01 2006 18:42:44 - File "/opt/installer/GLIClientController.py", line 197, in run
    self._install_steps[self._install_step]['function']()
GLI: December 01 2006 18:42:44 - File "/opt/installer/GLIArchitectureTemplate.py", line 357, in install_packages
    self._portage.emerge(installpackages)
GLI: December 01 2006 18:42:44 - File "/opt/installer/GLIPortage.py", line 265, in emerge
    raise GLIException("EmergePackageError", "fatal", "emerge", "Could not emerge " + pkg + "!")
GLI: December 01 2006 18:42:44 - GLIException: EmergePackageError :FATAL: emerge: Could not emerge sys-kernel/gentoo-sources-2.6.17-r5!
Comment 1 Yildirim Karal 2006-12-03 22:29:35 UTC
I just got the same!
Comment 2 Yildirim Karal 2006-12-03 22:33:14 UTC
Created attachment 103305 [details]
Yildirim's installprofile.xml
Comment 3 Yildirim Karal 2006-12-03 22:34:04 UTC
Created attachment 103306 [details]
Yildirim's installer.log.failed
Comment 4 Yildirim Karal 2006-12-03 22:37:49 UTC
I remember something like: "file genpatch... not foundon the server"
maybe this helps.
Comment 5 Andrew Gaffney (RETIRED) gentoo-dev 2006-12-04 03:44:28 UTC
The reporter did not provide the installprofile.xml that was used, but I can only assume that you used the same setup as the 2nd person in this bug.

What's happening is that there is some package you selected in your extra packages that *requires* kernel sources. It tries to pull in gentoo-sources-2.6.17-r5, which is the latest in the portage snapshot that is provided on the LiveCD. That snapshot is already 3-4 months out of date. That kernel is no longer in the "live" portage tree, which means that the necessary distfiles for it are no longer on the mirrors.

If you want to use the snapshot, you need to use the Networkless option or at least the GRP option. This is not an installer bug.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-12-11 01:31:08 UTC
*** Bug 157798 has been marked as a duplicate of this bug. ***