View previous topic :: View next topic |
Author |
Message |
AbsoluteZ3r0 n00b
Joined: 10 Jan 2012 Posts: 39 Location: USA
|
Posted: Wed Feb 15, 2012 5:38 pm Post subject: Having a multitude of problems, is there one fix? |
|
|
Hello everyone,
I have posted here on the gentoo forums a couple of times in the past month with various installation problems I had while installing gentoo, most noob mistakes on my part but a learning experience none-the-less.
I also posted a while ago on the network forums here because I am attending a college who uses 'Apogee' for their internet and I had to emerge packages.
Getting to the problem I am having now, I am not sure what to do. I have searched and searched the past 4-5 days and keep trying to understand what the issue is that I have, but to no avail. My frustration was not that at Gentoo, but what I think is rather 'Apogee'.
I'm not sure how to even relate my problems to the forums (because as I followed guides and other threads I found I lacked more and more things that I think I did something majorly wrong in the installation/compiling of the tarball.) Or this could be something that may take one command and its the one left I have not yet tried. But I am going to list off the issues I have been having, in no particular order. If anyone can help with just one I would be thankful.
Problems:
1.) The internet I am on is called Apogee, as I have above mentioned. I can not emerge anything. Everything I try to emerge I get different errors that I have googled and gone all across the web looking into. I have looked into: -my python version, -my /etc/resolv.conf file, (and a bunch more I can't even remember.) When I go into my /etc/resolv.conf it shows me as searching Apogeenet.net and it gives me two nameservers. When I erase all of these lines and put in 'nameserver 8.8.8.8' for google, I can emerge somethings but not other things (like xorg-server, I cannot emerge it and I receive a 'wget' error, which in turn I researched python versions, etc.) But then in about a 5min time span my /etc/resolv.conf gets reset to the same thing it had priorly in it with all of the apogee stuff in it.
2.) Man pages- I cannot open them....at all.
Obviously I know you guys and gals can only do so much with the information I posted above but I am posting this before one of my longer classes (I will be out in a couple of hours) in the hopes that I can get some people who are interested in helping so that I can come back after my class and post the needed information.
I apologize if I come off a bit frazzled. I have really been wanting to mess with Gentoo for a few months now and now that I can I am unable to.
Any help anyone can provide would be much appreciated. I know this is a learning process and I am enjoying that part as I would like to get to a level of understanding to give back to the community in the future |
|
Back to top |
|
|
bigbangnet Apprentice
Joined: 11 Jun 2007 Posts: 174
|
Posted: Wed Feb 15, 2012 6:24 pm Post subject: |
|
|
If you can't emerge anything, you might want to post the output of your error here. You might has well do with with emerge -info too. Post your make.conf just in case. Lets start with that please. _________________ I'm a noob, be gentle with me. TEACH ME |
|
Back to top |
|
|
AbsoluteZ3r0 n00b
Joined: 10 Jan 2012 Posts: 39 Location: USA
|
Posted: Wed Feb 15, 2012 8:28 pm Post subject: |
|
|
How should I mnt the flash drive?
I was looking around the web and found a tutorial that said to type 'fdisk -l' where I did find my flash drive as /dev/sdb1
From there it told me to make a directory like this 'mkdir /gentoo/mnt/flash'
This came and gave me an error that said this:
'Mkdir: cannot create directory '/gentoo/mnt/flash': No such file or directory |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54578 Location: 56N 3W
|
Posted: Thu Feb 16, 2012 12:34 am Post subject: |
|
|
AbsoluteZ3r0,
Your problem with /etc/resolv.conf being reset is due to your dhcp lease being renewed.
Lease times can be anything your ISP likes. If connection times are expected to be short,a low lease validity is set, if they are long, its normally made higher but need not be.
dhcp will ask to extend the lease before it expires.
Provided your static resolv.conf works, you can tell dhcp not to rewrite it. Look at /usr/share/doc/openrc-0.8.3-r1/net.example.bz2 to find out how. Put your version in place of 0.8.3-r1
Hint: nodns
This will allow wget to work, so you can download the sources you need for emerge to work. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
AbsoluteZ3r0 n00b
Joined: 10 Jan 2012 Posts: 39 Location: USA
|
Posted: Thu Feb 16, 2012 3:10 am Post subject: |
|
|
Ok, I was following the file path to net.example.bz2 and opened it to find a maybe currupted file?
It has random letters and white squares on the text lines with various keyboard characters like @ and #.
Is there a website you would suggest that would give me the output of that file?
Thank you both for your help so far |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54578 Location: 56N 3W
|
Posted: Thu Feb 16, 2012 3:31 am Post subject: |
|
|
AbsoluteZ3r0,
The file is bzip2 compressed but less should be able to read it correctly as is.
Code: | $ bzcat /usr/share/doc/openrc-0.8.3-r1/net.example.bz2 | wgetpaste
Your paste can be seen here: http://paste.pocoo.org/show/551780/ |
has decompressed my file to http://paste.pocoo.org/show/551780/ _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
cwr Veteran
Joined: 17 Dec 2005 Posts: 1969
|
Posted: Thu Feb 16, 2012 8:38 am Post subject: |
|
|
AbsoluteZ3r0 wrote: | How should I mnt the flash drive?
I was looking around the web and found a tutorial that said to type 'fdisk -l' where I did find my flash drive as /dev/sdb1
From there it told me to make a directory like this 'mkdir /gentoo/mnt/flash'
This came and gave me an error that said this:
'Mkdir: cannot create directory '/gentoo/mnt/flash': No such file or directory |
The tutorial probably said "mkdir /mnt/gentoo/flash". Check that the directory /mnt exists (just "cd /mnt")
and then that the directory /mnt/gentoo exists, and then run mkdir to build any missing directories.
Will |
|
Back to top |
|
|
AbsoluteZ3r0 n00b
Joined: 10 Jan 2012 Posts: 39 Location: USA
|
Posted: Thu Feb 16, 2012 5:01 pm Post subject: |
|
|
Thank you all for the replies and help thus far!
NeddySeagoon, thank you for giving me the output of net.example.bz2. I tried using 'less' to open it and it wouldn't work for some reason. I am not sure if 'less' and 'more' are any bit related to each other in forms of where they are located and how they are installed for use, but I can use more just fine.
I am away from my desktop (that's where I have Gentoo) right now. So I am unable to play around with it but I am going to read through net.example.bz2 so when I get back I can see if I can get it up and going.
I will report back later to let you all know what I have accomplished.
Thank you all again for all of your help! |
|
Back to top |
|
|
AbsoluteZ3r0 n00b
Joined: 10 Jan 2012 Posts: 39 Location: USA
|
Posted: Thu Feb 16, 2012 8:29 pm Post subject: |
|
|
Ok, I got in and set it to extend the lease. But I found that I am still having issues with emerge. I really can't emerge anything. I tried 'man emerge' and I get: sh: /usr/bin/less: No such file or directory
-Is there anyway to fix this? |
|
Back to top |
|
|
nrezinorn n00b
Joined: 15 Jul 2004 Posts: 52
|
Posted: Thu Feb 16, 2012 9:52 pm Post subject: |
|
|
The paths you are stating seem to indicate you are still in an install enviroment: ie, /gentoo/mnt/
Your problems with less, etc almost seems to me like you did an install, but missed some things somewhere along the lines.
What environment is the system currently in? Did you complete the install and reboot?
edit:
Also is apogeenet dialup? DSL? Cable? |
|
Back to top |
|
|
AbsoluteZ3r0 n00b
Joined: 10 Jan 2012 Posts: 39 Location: USA
|
Posted: Thu Feb 16, 2012 10:11 pm Post subject: |
|
|
I don't think I am in the install environment.
Ya I already rebooted.
I made a usr acc and a password and I su- to root.
Agogeenet is DSL.
I thought it was weird too, because as I looked around the web for answers to my questions it seemed that no one had the exact problem I had. Which I found weird, because I troubleshoot all the time on different things and and can usually find what I am looking for easily. |
|
Back to top |
|
|
cwr Veteran
Joined: 17 Dec 2005 Posts: 1969
|
Posted: Fri Feb 17, 2012 9:00 am Post subject: |
|
|
There's a problem with the current Stage3 files and /usr/bin/less - it was removed,
and packages depending on it weren't adjusted accordingly. The easiest approach
for the new user is to just "emerge less" as the first step after unpacking the Stage 3.
Will |
|
Back to top |
|
|
AbsoluteZ3r0 n00b
Joined: 10 Jan 2012 Posts: 39 Location: USA
|
Posted: Fri Feb 17, 2012 5:42 pm Post subject: |
|
|
Alright,
I ended up doing
dhcp_eth0="nodns", but I was still having a problem (Not totally sure if its them or not but,) with Apogeenet. After not being able to emerge less I went into my nameserver list and erased all of the apogeenet stuff. I then changed it to 'nameserver 8.8.8.8' and I tried emerging less again and it was a SUCCESS!!!!
Any advice on what I should emerge next? I tried xorg-server but had an issue again :/ |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22657
|
Posted: Sat Feb 18, 2012 5:21 am Post subject: |
|
|
Please describe in detail your issue installing x11-base/xorg-server. |
|
Back to top |
|
|
cwr Veteran
Joined: 17 Dec 2005 Posts: 1969
|
Posted: Sun Feb 19, 2012 3:09 pm Post subject: |
|
|
AbsoluteZ3r0 wrote: | Alright,
I ended up doing
dhcp_eth0="nodns", but I was still having a problem (Not totally sure if its them or not but,) with Apogeenet. After not being able to emerge less I went into my nameserver list and erased all of the apogeenet stuff. I then changed it to 'nameserver 8.8.8.8' and I tried emerging less again and it was a SUCCESS!!!!
Any advice on what I should emerge next? I tried xorg-server but had an issue again :/ |
I usually (use a script to) emerge:
less
syslog-ng
logrotate
mlocate
genkernel
gentoolkit
lafilefixer
gentoo-sources
grub
acpid
at
bc
dbus
dhcp
lvm2
meld
ntp
openssh
vixie-cron
wireless-tools
xinetd
(I also unmerge man and emerge man-db, since man's apropos is pretty feeble,
but that's unnecessary. You may not need lvm2 or wireless-tools, either.)
Then build a kernel, reboot and emerge xorg-x11, xterm, xclock, twm
Worked the last time I tried it, a couple of months back.
Will |
|
Back to top |
|
|
AbsoluteZ3r0 n00b
Joined: 10 Jan 2012 Posts: 39 Location: USA
|
Posted: Sun Feb 19, 2012 6:27 pm Post subject: |
|
|
Ok, I followed all that you suggested, cwr.
Everything worked great until I rebooted, where I still had an issue emerging xorg-x11.
I was trying to mnt my flashdrive so I could copy the build log and all of the other error stuff so I followed what you had posted earlier:
Quote: | The tutorial probably said "mkdir /mnt/gentoo/flash". Check that the directory /mnt exists (just "cd /mnt")
and then that the directory /mnt/gentoo exists, and then run mkdir to build any missing directories.
|
I checked to see if /mnt existed and it did, then I checked /mnt/gentoo and it did not exist.
What is your advice on what I should do next?
I apologize I keep having problems and thank you all again for your help thus far |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54578 Location: 56N 3W
|
Posted: Sun Feb 19, 2012 7:45 pm Post subject: |
|
|
AbsoluteZ3r0,
If your internet works by far the easiest way to post files and command output is with wgetpaste.
You emerge it in the normal way the use it as
<command> | wgetpaste
or
wgetpaste /path/to/file
It gives you the URL where you post can be found - share the URL with us.
If /mnt/gentoo does not exist, you need to make it using the mkdir command. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
AbsoluteZ3r0 n00b
Joined: 10 Jan 2012 Posts: 39 Location: USA
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54578 Location: 56N 3W
|
Posted: Sun Feb 19, 2012 8:18 pm Post subject: |
|
|
AbsoluteZ3r0,
Please poust the output of the command.
Your Xorg build is failing because it can't find some libraries that it should insall if they really don't exist and emerge --info will shed some light on this. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
AbsoluteZ3r0 n00b
Joined: 10 Jan 2012 Posts: 39 Location: USA
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54578 Location: 56N 3W
|
Posted: Sun Feb 19, 2012 9:01 pm Post subject: |
|
|
AbsoluteZ3r0,
emerge --info: | default/linux/amd64/10.0/no-multilib |
Is a very bare profile. There is no preset support for any GUI things at all. You will have to set your use flags yourself, pretty much all of them.
If you want a starting point, choose the /desktop/ or /kde/ or /grome/ profiles. Then run emerge --info to see the USE flags set by the closest profile to your needs.
Fix your use flags to match. Now go back to to your no-multilib profile and do
Code: | emerge @world -uDNav --jobs=4 --keep-going |
This will show you what it needs to rebuild to take account of your new USE settings before it actually does it.
Look over the list of packages, look over the USE flag settings on each package. If you are happy, press y, if not fix your make.conf and repeat.
Affected packages will be rebuilt with the new USE flags.
When that completes, you can continue your Xorg build. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
AbsoluteZ3r0 n00b
Joined: 10 Jan 2012 Posts: 39 Location: USA
|
Posted: Sun Feb 19, 2012 9:34 pm Post subject: |
|
|
*just had a light bulb moment*
Ahhhhh ok. This is all coming together for me now!
Ok I understand it much more now. I will be messing with it more today and into this week.
I will definitely report back and tell you guys when I have it done!
Thank you NeddySeagoon and everyone else for your helpful contributions to my problem!!! |
|
Back to top |
|
|
cwr Veteran
Joined: 17 Dec 2005 Posts: 1969
|
Posted: Mon Feb 20, 2012 10:32 am Post subject: |
|
|
AbsoluteZ3r0 wrote: | Ok, I followed all that you suggested, cwr.
Everything worked great until I rebooted, where I still had an issue emerging xorg-x11.
I was trying to mnt my flashdrive so I could copy the build log and all of the other error stuff so I followed what you had posted earlier:
Quote: | The tutorial probably said "mkdir /mnt/gentoo/flash". Check that the directory /mnt exists (just "cd /mnt")
and then that the directory /mnt/gentoo exists, and then run mkdir to build any missing directories.
|
I checked to see if /mnt existed and it did, then I checked /mnt/gentoo and it did not exist.
What is your advice on what I should do next?
I apologize I keep having problems and thank you all again for your help thus far |
Make the directory with "mkdir /mnt/gentoo" (and then make /mnt/gentoo/flash with "mkdir /mnt/gentoo/flash").
Will |
|
Back to top |
|
|
AbsoluteZ3r0 n00b
Joined: 10 Jan 2012 Posts: 39 Location: USA
|
Posted: Mon Feb 20, 2012 3:02 pm Post subject: Solved! |
|
|
Thank you all for your help!
This has been a huge learning experience!
Everything works now!
Thank you all again!m |
|
Back to top |
|
|
|