vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Trying to install gentoo from stage 3 on a machine that has no internet connection yet. All is well up until step 16.1: ---- Choose a kernel and then merge as follows: Code listing 16.1: Emerging Kernel Sources # emerge -k sys-kernel/gentoo-sources ---- each variation of the 'emerge' command i have tried has returned the following error: -------- Performing Global Updates: /usr/portage/profiles/updates/3Q-2003 (Could take a couple minutes if you have a lot of binary packages.) .='update pass' *='binary update' @='/var/db move' ..Traceback (most recent call last): File "/usr/bin/emerge", line 13, in ? import portage File "/usr/lib/python2.2/site-packages/portage.py", line 5032, in ? do_upgrade(mykey) File "/usr/lib/python2.2/site-packages/portage.py", line 4966, in do_upgrade db["/"]["bintree"].move_ent(mysplit) File "/usr/lib/python2.2/site-packages/portage.py", line 3814, in move_ent self.populate() File "/usr/lib/python2.2/site-packages/portage.py", line 3900, in populate mytbz2=xpak.tbz2(self.pkgdir+"/All/"+mypkg) File "/usr/lib/python2.2/site-packages/xpak.py", line 209, in __init__ self.scan() File "/usr/lib/python2.2/site-packages/xpak.py", line 260, in scan a.seek(-16,2) IOError: [Errno 22] Invalid argument -------- I have tried the -k and -K switches, I have also pointed emerge to the absolute path of the current 'gentoo-sources' directory, (i.e. "emerge -K /usr/portage/sys-kernel/gentoo-sources"), no luck.... any ideas? |
| |||
| If it makes any difference, the target machine is running on 80MB of ram with an AMD-K6 450. 4GB hard drive too (256MB swap). I'm thinking Gentoo maybe doesn't like the K6-450, I couldn't get Mandrake 9.2rc1 installed either. Though it's running Slackware 9 now like a champ! My Gentoo iso's were all `md5sum`ed before being burnt and used for install... This problem will probably maybe work itself out by the time I run another network cable to this side of the house, but running that cable I thought would have taken longer than getting a stage 3 GRP install up and running. oh well..... bsd@sdf.lonestar.org (Brian Douglas) wrote in message news:<de1e4d48.0309021930.da91682@posting.google.c om>... > Trying to install gentoo from stage 3 on a machine that has no > internet connection yet. All is well up until step 16.1: |
| |||
| Brian Douglas wrote: > Trying to install gentoo from stage 3 on a machine that has no > internet connection yet. All is well up until step 16.1: > ---- > Choose a kernel and then merge as follows: > Code listing 16.1: Emerging Kernel Sources > # emerge -k sys-kernel/gentoo-sources > ---- > > each variation of the 'emerge' command i have tried has returned the > following error: > > -------- > Performing Global Updates: /usr/portage/profiles/updates/3Q-2003 > (Could take a couple minutes if you have a lot of binary packages.) > .='update pass' *='binary update' @='/var/db move' > .Traceback (most recent call last): > File "/usr/bin/emerge", line 13, in ? > import portage > File "/usr/lib/python2.2/site-packages/portage.py", line 5032, in ? > do_upgrade(mykey) > File "/usr/lib/python2.2/site-packages/portage.py", line 4966, in > do_upgrade > db["/"]["bintree"].move_ent(mysplit) > File "/usr/lib/python2.2/site-packages/portage.py", line 3814, in > move_ent > self.populate() > File "/usr/lib/python2.2/site-packages/portage.py", line 3900, in > populate > mytbz2=xpak.tbz2(self.pkgdir+"/All/"+mypkg) > File "/usr/lib/python2.2/site-packages/xpak.py", line 209, in > __init__ > self.scan() > File "/usr/lib/python2.2/site-packages/xpak.py", line 260, in scan > a.seek(-16,2) > IOError: [Errno 22] Invalid argument > -------- > > I have tried the -k and -K switches, I have also pointed emerge to the > absolute path of the current 'gentoo-sources' directory, (i.e. "emerge > -K /usr/portage/sys-kernel/gentoo-sources"), no luck.... > > any ideas? Does the CD actually have the kernel sources on it? If not why not download them and burn them to a CDRW -- Registered Linux User # 286635 |
| ||||
| Good point, but I think that's what steps 8.3 and 8.4 were taking care of: http://www.gentoo.org/doc/en/gentoo-x86-install.xml -------------------------------------------- GRP Users: There is a Portage snapshot on the Live CD. You will need to use this snapshot so that you can skip the emerge sync step later in this document, since emerge sync requires a network connection. Untar this snapshot as follows: Code listing 8.3: Using Portage snapshot # tar -xvjf /mnt/cdrom/snapshots/portage-yyyymmdd.tar.bz2 -C /mnt/gentoo/usr This will extract a snapshot of the Portage tree to your fresh Gentoo install. Now you won't need to connect to the Internet and use emerge sync to download a Portage tree. Now, copy distfiles and packages from the Live CD into place: Code listing 8.4: Copying GRP files # cp -R /mnt/cdrom/distfiles /mnt/gentoo/usr/portage/distfiles # cp -a /mnt/cdrom/packages /mnt/gentoo/usr/portage/packages All relevant files are now in place for using GRP. You should now have everything copied over and unpacked that you'll need to install Gentoo Linux -- even without a network connection. -------------------------------------------- I did have a '/usr/portage/sys-kernel/gentoo-sources' directory after steps 1-15, but next time I try the install I'll double check it's contents. Whyld-Chyld <test@example.com> wrote in message news:<TlN5b.22794$Ad4.9541835@news3.news.adelphia. net>... > Does the CD actually have the kernel sources on it? If not why not download > them and burn them to a CDRW |