Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52264 - mirrorselect breaks make.conf with comment output in installation isntruction 6.a
Summary: mirrorselect breaks make.conf with comment output in installation isntruction...
Status: RESOLVED DUPLICATE of bug 59988
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Portage Tools Team
URL: http://www.gentoo.org/doc/en/handbook...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-28 07:33 UTC by Quitch
Modified: 2005-07-17 13:06 UTC (History)
2 users (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 Quitch 2004-05-28 07:33:52 UTC
The 2004.1 installation guide (current at time of writing as shown by URL link) contains instructions for using the mirrorselect command to change the download mirrors used by Gentoo.  The output of this command is sent to make.conf.  However, mirrorselect can return comments (in my case the comment is always "Netselect is currently unable to handle ipv6, changing to Deep Test") which leads to a complaint further down the line about an eror on the line the comment is to be found on (since it isn't commented out).

This comment has to be removed before installation can continue.  It's easy enough to work around, you're told the problem and what line it's on.

The installation instructions need to include getting the user to scan make.conf for such comments and removing them if required.
Comment 1 Ian Ravick 2004-05-28 10:42:17 UTC
Here's a thread from the forums on this bug:
http://forums.gentoo.org/viewtopic.php?p=1186574
Comment 2 Xavier Neys (RETIRED) gentoo-dev 2004-05-30 08:08:55 UTC
It is actually a bug in mirrorselect itself. The message should have been sent to STDERR and not STDOUT.

In /usr/sbin/mirrorselect :

-  echo "Netselect is currently unable to handle ipv6, changing to Deep Test" 
+  echo "Netselect is currently unable to handle ipv6, changing to Deep Test" >&2

Reassigned to bug-wranglers.

Rogue line filtered out with grep in the docs until next release. 
Comment 3 caspar-gentoo-bugs 2004-07-18 13:24:09 UTC
Hello,

mirrorselect 0.84

I tried the commandline from install handbook today:

mirrorselect -a -s4 -o | grep -ve '^Netselect' >> /mnt/gentoo/etc/make.conf[1]


I got the intended mirrorlist but 209 additional lines of HTML crap.  This renders /etc/make.conf useless.


bye

caspar


[1] http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#book_part1_chap6
Comment 4 caspar-gentoo-bugs 2004-07-18 13:24:52 UTC
Hello,

mirrorselect 0.84

I tried the commandline from install handbook today:

mirrorselect -a -s4 -o | grep -ve '^Netselect' >> /mnt/gentoo/etc/make.conf[1]


I got the intended mirrorlist but 209 additional lines of HTML crap.  This renders /etc/make.conf useless.


bye

caspar


[1] http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#book_part1_chap6
Comment 5 Wernfried Haas (RETIRED) gentoo-dev 2004-07-30 01:01:07 UTC
There still seem to be problems with this according to these threads on the forums:
http://forums.gentoo.org/viewtopic.php?t=202704
http://forums.gentoo.org/viewtopic.php?t=203529
Comment 6 Marius Mauch (RETIRED) gentoo-dev 2004-08-21 10:45:27 UTC

*** This bug has been marked as a duplicate of 59988 ***