Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 44916 - possible typo in /usr/sbin/mirrorselect
Summary: possible typo in /usr/sbin/mirrorselect
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Everything (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: John Mylchreest (RETIRED)
URL:
Whiteboard:
Keywords:
: 39845 57255 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-03-16 19:44 UTC by Kim De Smaele
Modified: 2004-12-08 05:07 UTC (History)
3 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 Kim De Smaele 2004-03-16 19:44:03 UTC
possible typo:

357     [ -z "$(portageq envvar USE | grep ' ipv6')" ] && strip_ipv6

--------------------------

error message (stdout):

livecd / # mirrorselect -a -s4 -o >> /mnt/gentoo/etc/make.conf
Downloading a list of mirrors...
/usr/sbin/mirrorselect: line 1: portageq: command not found
Removing IPV6 Only Servers...
Running netselect to determine mirrors, this might take a moment...
livecd / # 


Reproducible: Always
Steps to Reproduce:
1.run `mirrorselect -a -s4 -o >> /mnt/gentoo/etc/make.conf` on the pentium4 livecd
2.
3.

Actual Results:  
same error message
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2004-03-16 21:52:10 UTC
no typo there, can you check if portageq is in your PATH ?
Comment 2 Marius Mauch (RETIRED) gentoo-dev 2004-03-17 00:07:56 UTC
Reposting the mail you sent me:

>>------- Additional Comments From genone@gentoo.org  2004-03-16 21:52 PST >>-------
>> no typo there, can you check if portageq is in your PATH ?
>
> No it wasn't. I found the actual python script and the symbolic link in
> my chrooted environment:
>
> /mnt/gentoo/usr/lib/portage/bin/portageq 	pythonscript
> /mnt/gentoo/usr/bin/portageq 	symbolic link 
>
> But I found only a broken symlink in the actual livecd environment:
> 
> livecd root # file /mnt/cdrom/zisofs/usr/bin/portageq
> /mnt/cdrom/zisofs/usr/bin/portageq: broken symbolic link to
> `../lib/portage/bin/portageq'
> livecd root # 
>
> I hope this helps ?

Looks like the portage installation on the livecd is a bit broken.
Comment 3 John Davis (zhen) (RETIRED) gentoo-dev 2004-03-20 11:33:44 UTC
portage is removed from the livecd to preserve space - johnm is the maintainer. I will add him to the CC.
Comment 4 John Davis (zhen) (RETIRED) gentoo-dev 2004-03-20 11:35:45 UTC
*** Bug 39845 has been marked as a duplicate of this bug. ***
Comment 5 John Mylchreest (RETIRED) gentoo-dev 2004-03-21 03:22:24 UTC
this has now been fixed in 0.83 which will be bumped straight to stable.
this will be in portage shortly, thanks for submitting this
Comment 6 Marius Mauch (RETIRED) gentoo-dev 2004-07-16 01:27:18 UTC
*** Bug 57255 has been marked as a duplicate of this bug. ***
Comment 7 Benoît Segond von Banchet 2004-08-18 16:09:07 UTC
This bug still occurs, using minimal LiveCD 2004.2 and stage 1 for x86.

Is there a workaround? Is it checked that the solution is rolled out?
Comment 8 Chris Gianelloni (RETIRED) gentoo-dev 2004-08-19 05:56:29 UTC
REOPENing
Comment 9 John Mylchreest (RETIRED) gentoo-dev 2004-08-22 04:48:01 UTC
should be fixed in 0.85 - will move into portage shortly.
Comment 10 David Gasaway 2004-12-07 22:00:01 UTC
I've experienced the same problem as the original poster.  I ran the command:
   mirrorselect -a -s4 -o >> /mnt/gentoo/etc/make.conf
as per the handbook.  After letting the mirror select finish, there was was a ton of garbage in the file, and the GENTOO_MIRRORS was at the very end.  The output start of the output from mirror select goes like this:
   Downloading a list of mirrors...
   /usr/sbin/mirrorselect: line 1: portageq: command not found
   Downloading 100k segments from 155 server(s)
Further investigation revealed a broken symlink:
   /usr/bin/portageq -> ../lib/portage/bin/portageq
This was during a stage1 install, booted from the iso:
   install-x86-minimal-2004.3-r1.iso
Running on an old Celeron ...

Linux livecd 2.6.9-gentoo-r1 #1 SMP Thu Nov 25 03:24:02 UTC 2004 i686 Celeron (Mendocino) GenuineIntel GNU/Linux
Comment 11 Chris Gianelloni (RETIRED) gentoo-dev 2004-12-08 05:07:26 UTC
The handbook has been modified to include a grep, which removes the unwanted output.

We don't have a full portage environment on the LiveCD, so portage commands will always fail.