View previous topic :: View next topic |
Author |
Message |
tfarrow n00b
Joined: 24 Jul 2004 Posts: 2
|
Posted: Mon Jul 26, 2004 4:42 pm Post subject: Error during 2004.2 install - env-update error message |
|
|
I'm a brand noobie; this is probably one of those "ought to already know" questions, but here goes.
I'm attempting to install the new 2004.2 release onto my laptop. Following the handbook online, I've gotten to the point "6.a Chrooting, Code Listing 3". After entering "env-update" I get the following error:
!!! Invalid token (not "=") !DOCTYPE
!!! ParseError: Invalid token (not '='): /etc/make.conf: line 8
!!! Incorrect multiline literals can cause this. Do not use them.
Lines 8 and 9 of my /etc/make.conf are:
<!DOCTYPE HTML PUBLIC "-//W3C/DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
Did I do something wrong, or are others experiencing this?
What do I do to correct this and continue with the install?
Thanks. |
|
Back to top |
|
|
cadaker Tux's lil' helper
Joined: 05 Jun 2004 Posts: 102 Location: Stockholm, Sweden
|
Posted: Mon Jul 26, 2004 4:52 pm Post subject: |
|
|
I have no idea what a doctype declaration is doing in make.conf. Try removing those lines. _________________ ++?????++ Out of Cheese Error. Redo From Start. |
|
Back to top |
|
|
tfarrow n00b
Joined: 24 Jul 2004 Posts: 2
|
Posted: Mon Jul 26, 2004 5:03 pm Post subject: |
|
|
Thanks. It looks like HTML code was inserted during the mirrorselect process? I deleted everything from what was line 8, leaving the last line (GENTOO_MIRRORS="...). Seems OK now, unless I deleted something I shouldn't have which will bite me later.
Thanks again. |
|
Back to top |
|
|
00tux n00b
Joined: 30 May 2004 Posts: 27 Location: British Columbia, Canada
|
Posted: Mon Jul 26, 2004 7:41 pm Post subject: |
|
|
I had the same problem during my install. After I deleted those lines from my make.conf everything went fine, not sure if this is a bug in mirrorselect, env-update or just human error. _________________ "But I don't wanna be a pirate" |
|
Back to top |
|
|
robgue n00b
Joined: 11 Jan 2004 Posts: 7
|
Posted: Tue Jul 27, 2004 8:45 am Post subject: |
|
|
i'm getting this:
!!! Invalid token (not "=") !DOCTYPE
!!! ParseError: Invalid token (not '='): /etc/make.conf: line 7
!!! Incorrect multiline literals can cause this. Do not use them.
how would i edit out? |
|
Back to top |
|
|
Handle n00b
Joined: 04 Jul 2004 Posts: 4
|
Posted: Tue Jul 27, 2004 8:56 am Post subject: |
|
|
Some way or another mirrorselect once put a whole site's source code into my make.conf. |
|
Back to top |
|
|
robgue n00b
Joined: 11 Jan 2004 Posts: 7
|
Posted: Tue Jul 27, 2004 9:00 am Post subject: |
|
|
i got edited it out to just the gentoo mirrors. |
|
Back to top |
|
|
BigMadF n00b
Joined: 27 Jul 2004 Posts: 7
|
Posted: Tue Jul 27, 2004 9:05 am Post subject: |
|
|
Had exactly the same problem with 2004.1
had to comment a line that mirrorselect put into make.conf just before the mirrors.
Just remove the lines or comment them out.... _________________ Don't be afraid of what you are going to find out by walking your desired way. |
|
Back to top |
|
|
ronnie n00b
Joined: 21 Jul 2004 Posts: 66
|
Posted: Tue Jul 27, 2004 9:16 am Post subject: |
|
|
Try the mirrorselect command without the '>> /etc/make.conf' to see output on the screen and if it looks ok. It should not contain any html, just a line starting with 'GENTOO_MIRRORS='.
If you have already got the errors in make.conf you need to remove them of course. Look for lines which do not start with a comment (#) and lines not starting with 'SOMEVAR='. |
|
Back to top |
|
|
ckenda1 Tux's lil' helper
Joined: 19 Feb 2004 Posts: 126
|
Posted: Tue Jul 27, 2004 1:42 pm Post subject: |
|
|
it is not even necessary to run mirrorselect to continute the install... if you do not it will just randomly pick one always... I never use mirrorselect... |
|
Back to top |
|
|
tomk Bodhisattva
Joined: 23 Sep 2003 Posts: 7221 Location: Sat in front of my computer
|
|
Back to top |
|
|
|