View previous topic :: View next topic |
Author |
Message |
sircave n00b
Joined: 31 Mar 2005 Posts: 50
|
Posted: Thu Mar 31, 2005 8:22 pm Post subject: Ebuild On Gentoo 2005.0 (Solved) |
|
|
I am following the Gentoo handbook for a stage 3 installation. The problem is that when I "emerge-dev-sources" or "emerge =gentoo-sources-2.6.11.r1" my install tries to connect to a FTP server when I have no working internet access. I am trying to install on an AMD64 3200+ MHz running @ 2.21 machine. I have downloaded and burned both the universal and packages cd but there is no documentation on what to do with the packages. I feel the documentation is either vague or incomplete to a point because I don't know what to do at this point. I have been trying this install for five days now with no progress past the gentoo documentation 7.b., ls -l /usr/src/linux. Once I do this I get the error that the directory does not exist. I have picked up from google and forum chatter that this means my kernel is not installed. I have both .iso's to either install an i686 or AMD64 distro of gentoo but the $(*#&*#( documentation is driving me nuts. To re-iterate, I do not have a working internet connection. How am I getting the downloads? From the T1 at work. I need some help please.
Last edited by sircave on Fri Apr 08, 2005 3:49 am; edited 1 time in total |
|
Back to top |
|
|
donjuan l33t
Joined: 11 May 2004 Posts: 760 Location: At Uni
|
Posted: Thu Mar 31, 2005 8:36 pm Post subject: |
|
|
I believe you missed the step in section 5d which tells you to copy over the source code.
Code: | # mkdir /mnt/gentoo/usr/portage/distfiles
# cp /mnt/cdrom/distfiles/* /mnt/gentoo/usr/portage/distfiles/ |
However, since you're chrooted the command will be a bit different. You probably have to re-mount the cdrom (I've never tried mounting a device in chroot) so the command will probably look something like this
Code: | mkdir /usr/portage/distfiles
cp /mnt/cdrom/distfiles/* /usr/portage/distfiles |
_________________ Command-line ACCEPT_KEYWORDS is considered harmful, use the package.* files.
The Stage 1 on 3 Install |
|
Back to top |
|
|
sircave n00b
Joined: 31 Mar 2005 Posts: 50
|
Posted: Thu Mar 31, 2005 11:17 pm Post subject: |
|
|
Thank you for your reply.
No....I did not miss that step. I copied the original files from the universal cdrom. Am I to also copy the files from the packages cd as well? FYI for everyone....I did not skip any steps up to this point. |
|
Back to top |
|
|
donjuan l33t
Joined: 11 May 2004 Posts: 760 Location: At Uni
|
Posted: Fri Apr 01, 2005 12:32 am Post subject: |
|
|
Sorry, I'm stupid, I just realized that you're doing a 2004.3 install. That's the source of your problem. The documentation you're using is for 2005.0, which includes different sources, hence why you're having a problem. From the distfiles included on that CD, it looks like the kernel sources included are for 2.6.9-r2. Also, on 2005.0 the sources changed names. On 2004.3 the Gentoo 2.6 kernel was known as gentoo-dev-sources. So your command is Code: | emerge =gentoo-dev-sources-2.6.9-r2 |
_________________ Command-line ACCEPT_KEYWORDS is considered harmful, use the package.* files.
The Stage 1 on 3 Install |
|
Back to top |
|
|
sircave n00b
Joined: 31 Mar 2005 Posts: 50
|
Posted: Fri Apr 01, 2005 12:58 am Post subject: |
|
|
I understand why you think I am using the wrong doc for the right install but I was only including both commands so that it would be understood that no matter which install I was doing, the same problem existed. I have tried both versions with the same effects both times. My apologies if I did not make that plain in the beginning. I am so frustrated at wanting to get this so-called great linux package on my computer and I am having the hardest time in doing so. Yeah, they say that Gentoo is not for newbies but I am so freaking tired of Microsuck that I am almost ready to go back to pen and paper and board games. Sorry....venting. Anyway, the problem is the same no matter which install I use, 2005.0 or 2004.3. That is my issue. I am not using the internet to update or install what-so-ever. I am trying to build my basic system and upon reboot I will portage my packages accordingly. So.....I am using the wrong kernel? If I use the kernel that you typed in your response then I won't have problems with my /usr/src/linux link? And since I am not connected to the internet, when I "emerge" where should that kernel "emerge" from??
P.S. You are not stupid. No one is stupid. Just informationally challenged. |
|
Back to top |
|
|
donjuan l33t
Joined: 11 May 2004 Posts: 760 Location: At Uni
|
Posted: Fri Apr 01, 2005 1:15 am Post subject: |
|
|
No, you shouldn't have problems with /usr/src/linux if you use the kernel I mentioned for 2004.3. If you are using 2005.0 the the command in the handbook is correct. In both cases, when you emerge the sources they emerge from the /usr/portage/distfiles directory. Portage never downloads anything that's already in that directory. The files you need for the kernel are Code: | linux-2.6.11.tar.bz2
genpatches-2.6-11.01-base.tar.bz2
genpatches-2.6-11.01-extras.tar.bz2 | for 2005.0, or
Code: | linux-2.6.9.tar.bz2
genpatches-2.6-9.02-base.tar.bz2
genpatches-2.6-9.02-extras.tar.bz2 | for 2004.3
Those files are included on their respective LiveCDs. Portage will only try to connect to the internet if it doesn't find them in /usr/portage/distfiles. _________________ Command-line ACCEPT_KEYWORDS is considered harmful, use the package.* files.
The Stage 1 on 3 Install |
|
Back to top |
|
|
sircave n00b
Joined: 31 Mar 2005 Posts: 50
|
Posted: Fri Apr 01, 2005 1:27 am Post subject: |
|
|
Ok...those are entirely two different kernels from what I was typing from the documentation. For the 2005.0 install the documentation points to a "emerge =gentoo-sources-2.6.11-r1" kernel after masking the dam thing. In the 2004.3 version (And I am looking at the AMD64 versions of both) it states "emerge gentoo-sources" (And everyone is so dam high on the docs.) I will try this once I get home, since I am now at work. I appreciate all of your information and I will post back with my results, success or not. Thank you so much for getting me to temporarily stop banging my head against my woman.
(Banging my head on the desk or the wall would hurt.) |
|
Back to top |
|
|
sircave n00b
Joined: 31 Mar 2005 Posts: 50
|
Posted: Mon Apr 04, 2005 1:33 pm Post subject: |
|
|
okay....back at trying this install one more time. I am using the 2005.0 stage3 install with the latest portage files and following the "Gentoo linux 2005.0 AMD 64 Handbook" to the exact letter for an AMD64 +3200, 1.5Gig mem, 160Gig WD HD, MSI Neo 2 MB. My error is this:
At the:
# echo "sys-kernel/gentoo-sources-2.6.11-r1 ~amd64" >> /etc/portage/package.keywords
# emerge =gentoo-sources-2.6.11.r1
I get this error:
All ebuilds that could satisfy "=gentoo-sources-2.6.11-r1" have been masked.
One of the following masked pacages is required to complete your request. Then it lists the kernel I am trying to compile. And when I execute the very next step, "ls -l /usr/src/linux" I recieve the error no such directory.
Now....what on earth am I doing wrong? I am following the instructions, again, to the letter. _________________ Registered Linux User # 375419
Got Root? |
|
Back to top |
|
|
Lin-Darian Tux's lil' helper
Joined: 24 Mar 2005 Posts: 84
|
Posted: Mon Apr 04, 2005 7:36 pm Post subject: |
|
|
Purhap try just
emerge gentoo-sources (or possiblely gentoo-dev-sources) |
|
Back to top |
|
|
donjuan l33t
Joined: 11 May 2004 Posts: 760 Location: At Uni
|
Posted: Mon Apr 04, 2005 8:54 pm Post subject: |
|
|
Odd...double-check that you didn't make a typo by looking at the file /etc/portage/package.keywords and make sure that the line Code: | sys-kernel/gentoo-sources-2.6.11-r1 ~amd64 | is in there.
Also, so I can double-check some things, what's the output of Code: | emerge -s gentoo-sources | and what's the ACCEPT_KEYWORDS line from
You won't be able to proceed to the next step until you emerge the kernel, because the directory /usr/src/linux is created when you emerge the kernel.
@Lin-Darian: The reason we're doing Code: | emerge =gentoo-sources-2.6.11-r1 | is because the handbook states The Gentoo Handbook wrote: | Note: Running emerge gentoo-sources will fail due to a bug with the Universal Installation CD. |
_________________ Command-line ACCEPT_KEYWORDS is considered harmful, use the package.* files.
The Stage 1 on 3 Install |
|
Back to top |
|
|
sircave n00b
Joined: 31 Mar 2005 Posts: 50
|
Posted: Tue Apr 05, 2005 12:13 am Post subject: |
|
|
The only difference that I notice about that line;
sys-kernel/gentoo-sources-2.6.11-r1 ~amd64,
is that my "tilde ~" does not exactly type on the line directly in front of the amd64 as it does here. At home it types higher, like this 'tick' mark.
Once again, I am at work looking at this post. I will post back once I get home in about seven hours with the information you requested. Thank you for your timely reponse. _________________ Registered Linux User # 375419
Got Root? |
|
Back to top |
|
|
sircave n00b
Joined: 31 Mar 2005 Posts: 50
|
Posted: Tue Apr 05, 2005 11:08 am Post subject: |
|
|
Quote: | sys-kernel/gentoo-sources-2.6.11-r1 ~amd64 |
is typed correctly, no spelling errors. Just the raised tilde like I explained.
Code: | emerge -s gentoo-sources |
[ Results for search key: gentoo-sources]
[applications found: 1 ]
sys-kernel/gentoo-sources [ Masked ]
Latest version available: 2.6.11-r4
Latest version installed: [ Not installed ]
Size of downloaded files 36,460 kB
Homepage: http://dev.gentoo.org/~dsd/gentoo-dev-sources
Description: Full sources including the gentoo patchset for the 2.6 kernel tree
License: GPL-2
This is the information that you requested. I tried the echo then the emerge with the 'r4' along with the 'r1' kernel as well, but that did not work either. So, since it did not work I deleted the 'r4' kernel from the /etc/portage/package.keywords file.
ACCEPT_KEYWORDS="amd64"
Of course, it goes without saying that I have chrooted before this process and my prompt is _________________ Registered Linux User # 375419
Got Root? |
|
Back to top |
|
|
donjuan l33t
Joined: 11 May 2004 Posts: 760 Location: At Uni
|
Posted: Tue Apr 05, 2005 11:16 pm Post subject: |
|
|
sircave wrote: | [ Results for search key: gentoo-sources]
[applications found: 1 ]
sys-kernel/gentoo-sources [ Masked ]
Latest version available: 2.6.11-r4
Latest version installed: [ Not installed ]
Size of downloaded files 36,460 kB
Homepage: http://dev.gentoo.org/~dsd/gentoo-dev-sources
Description: Full sources including the gentoo patchset for the 2.6 kernel tree
License: GPL-2 | Right, I feel stupid now, of course it's going to say something like that.
And we were wrong before, it should be Code: | =sys-kernel/gentoo-sources-2.6.11-r1 ~amd64 | in package.keywords (note the "=" sign), if that is lacking things definitely won't work properly.
If that doesn't fix things, then run Code: | emerge gentoolkit
equery l -p gentoo-sources | and please post the output of the latter command. _________________ Command-line ACCEPT_KEYWORDS is considered harmful, use the package.* files.
The Stage 1 on 3 Install |
|
Back to top |
|
|
sircave n00b
Joined: 31 Mar 2005 Posts: 50
|
Posted: Wed Apr 06, 2005 9:43 am Post subject: |
|
|
Quote: | And we were wrong before, it should be
Code:
=sys-kernel/gentoo-sources-2.6.11-r1 ~amd64
in package.keywords (note the "=" sign), if that is lacking things definitely won't work properly.
|
It was very late in the morning and I could not see straight. I know it is important to get the most accurate information out there so that troubleshooting can be easier. It is just that I am typing everything while using a hotkey to switch back and forth between two computers, one to get on the net and the other to do the networkless gentoo install. Having said that I must say this; there has always been an = sign in front ot the sys-kernel/xxxxxxxxxxxxxxxxxxxxxxxxxx statement. My apologies for that.
equery l -p gentoo-sources
[-P-] [ M ] sys-kernel/gentoo-sources-2.6.1-r2 (2.6.1.r2)
[-P-] [ M~] sys-kernel/gentoo-sources-2.6.11-r4 (2.6.11.r4)
[-P-] [ M ] sys-kernel/gentoo-sources-2.6.9-r14 (2.6.9.r14)
[-P-] [ M~] sys-kernel/gentoo-sources-2.6.11 (2.6.11)
[-P-] [ M-] sys-kernel/gentoo-sources-2.6.8-r3 (2.6.8.r3)
[-P-] [ M ] sys-kernel/gentoo-sources-2.6.7-r19 (2.6.7.r19)
[-P-] [ M~] sys-kernel/gentoo-sources-2.6.11-r2 (2.6.11.r2)
[-P-] [ M~] sys-kernel/gentoo-sources-2.6.11-r3 (2.6.11.r3)
[-P-] [ M~] sys-kernel/gentoo-sources-2.6.11-r1 (2.6.11.r1)
[-P-] [ M ] sys-kernel/gentoo-sources-2.4.28-r8 (2.4.28.r
[-P-] [ M~] sys-kernel/gentoo-sources-2.6.10-r6 (2.6.10.r6)
[-P-] [ M~] sys-kernel/gentoo-sources-2.6.10-r7 (2.6.10.r7)
[-P-] [ M ] sys-kernel/gentoo-sources-2.6.10-r8 (2.6.10.r
[-P-] [ M ] sys-kernel/gentoo-sources-2.4.20-r33 (2.4.20-gentoo-r33)
[-P-] [ M ] sys-kernel/gentoo-sources-2.4.25-r17 (2.4.17.r17)
[-P-] [ M ] sys-kernel/gentoo-sources-2.6.9-r9 (2.6.9.r9)
This is the output from the command. And it is dead on accurate. I did a preview of this post first and the smiley faces I guess are a result of the fact that the number eight is the smilely. _________________ Registered Linux User # 375419
Got Root? |
|
Back to top |
|
|
donjuan l33t
Joined: 11 May 2004 Posts: 760 Location: At Uni
|
Posted: Wed Apr 06, 2005 5:23 pm Post subject: |
|
|
That's not right. It appears that the offline install is a bit buggy. Usually an would fix the problem, but since you don't have internet access you can't fix things that way. So let's see if we can work around it. Try Code: | echo ">=sys-kernel/gentoo-sources-2.6.11-r1" >> /etc/portage/package.unmask
emerge =gentoo-sources-2.6.11-r1 |
_________________ Command-line ACCEPT_KEYWORDS is considered harmful, use the package.* files.
The Stage 1 on 3 Install |
|
Back to top |
|
|
sircave n00b
Joined: 31 Mar 2005 Posts: 50
|
Posted: Wed Apr 06, 2005 7:32 pm Post subject: |
|
|
Hotdam!! The kernel is now configured. I am about to do the "make" command, so I am going to log off in case this takes a while, since I am hotkeying back and fourth. I don't want to take the chance of interrupting the compile. I will post back with the results. THANK YOU SO MUCH FOR GETTING ME PAST THIS POINT DONJUAN!!!!!!! will let you know how it goes. Upon completion I will be adding "solved" to the title of this thread. Is that correct??? _________________ Registered Linux User # 375419
Got Root? |
|
Back to top |
|
|
donjuan l33t
Joined: 11 May 2004 Posts: 760 Location: At Uni
|
|
Back to top |
|
|
sircave n00b
Joined: 31 Mar 2005 Posts: 50
|
Posted: Wed Apr 06, 2005 9:33 pm Post subject: Ebuild On Gentoo 2004.3 (Actually 2005.0 - Solved) |
|
|
I was able to emerge, configue and compile my kernel Thanks to Donjuan. This particular problem is solved. _________________ Registered Linux User # 375419
Got Root? |
|
Back to top |
|
|
donjuan l33t
Joined: 11 May 2004 Posts: 760 Location: At Uni
|
Posted: Thu Apr 07, 2005 4:10 am Post subject: |
|
|
You're actually supposed to edit the first post in the thread since that has the title that shows up at the top of the thread and in the listings etc. _________________ Command-line ACCEPT_KEYWORDS is considered harmful, use the package.* files.
The Stage 1 on 3 Install |
|
Back to top |
|
|
sircave n00b
Joined: 31 Mar 2005 Posts: 50
|
Posted: Fri Apr 08, 2005 3:50 am Post subject: |
|
|
Whoops. Thx for the correction. _________________ Registered Linux User # 375419
Got Root? |
|
Back to top |
|
|
|