Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27174 - problem installing kernel and system logger
Summary: problem installing kernel and system logger
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Desktop Configuration Guide (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Sven Vermeulen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-23 07:04 UTC by Jon Allbon
Modified: 2003-08-27 01:02 UTC (History)
1 user (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 Jon Allbon 2003-08-23 07:04:09 UTC
Section 15.1 has a code listing of:
emerge -k sys-kernel/gentoo-sources to use the gentoo-sources kernel.  Entering 
this gives the following results:

Calculating dependencies ...done!
emerge (1 of 1) sys-kernel/gentoo-sources-2.4.20.r5 to /
Downloading http://gentoo.oregonstate.edu/distfiles/linux-2.4.20.tar.bz2
[gentoo-sources-2.4.20-r5] bash: line 1: /usr/bin/proz: No such file or 
directory
etc
etc
etc
Couldn't download linuz-2.4.20.tar.bz2. Aborting

This is when doing a GRP install with no internet/network connection.  What am 
I doing wrong?

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Sven Vermeulen (RETIRED) gentoo-dev 2003-08-25 02:03:25 UTC
Have you by any chance ran "emerge sync"? If so, then "emerge -k foobar" won't always work. Try using "-K" instead of "-k".
Comment 2 Sven Vermeulen (RETIRED) gentoo-dev 2003-08-25 02:04:44 UTC
It can also be that you've somehow mistyped some commands that placed the sourcecode in /usr/portage/packages. Check its content (after chrooting). It should contain a directory called "All", and inside that directory all Gentoo packages should reside.
Comment 3 Jon Allbon 2003-08-26 01:12:49 UTC
Sadly that didn't work.  

I looked in /usr/portage/packages and there were lots of .bz2 files, but no directory named "All".  I'm a bit confused as to why it's trying to connect to the internet to download these packages. Is there a config file somewhere that tells it where to look?

Comment 4 Sven Vermeulen (RETIRED) gentoo-dev 2003-08-26 02:15:48 UTC
That's actually the problem. emerge can't find the packages, since emerge searches in /usr/portage/packages/All, not in /usr/portage/packages. You should move them all into a directory called "All":

"""
cd /usr/portage
mv packages tmpAll
mkdir -p packages/All
mv tmpAll/* packages/All/
rmdir tmpAll
"""

Quite some time ago, the installation docs had the wrong GRP instructions. Perhaps you were using an old installation doc (or an old LiveCD). This is now fixed.
Comment 5 Sven Vermeulen (RETIRED) gentoo-dev 2003-08-27 01:02:54 UTC
I'm marking this as "FIXED" since it is probably due to old documentation.