Package: netselect-apt
Version: 0.3.ds1-8
Greetings:
netselect-apt uses the mirror_full file as input even if the --infile
parameter
is used in the command line.
to reproduce error
0. switch to su
1. cd /etc/apt
2. netselect-apt -osources.test -nsf sid
3. mv mirrors_full mirrors_test
4. netselect-apt -i mirrors_test -o sources.test -nsf sid
if mirrors_full had been in the directory mirrors_full would be
used
even though the output claims to use mirrors_test. But since we
have renamed
mirrors_full the program claims to use mirrors_test (and doesn't
download a new copy )
but gives an error ( though not the right one ) when it doesn't
have a list of Sites
to give netselect.
this appears to be a mistake in the netselect-apt script.
Suggestion: change "mirror_full" to "$infile" in the script
--- netselect-apt 2006-06-03 11:38:47.000000000 -0400
+++ netselect-apt.fix 2006-11-25 11:47:06.000000000 -0500
@@ -46,7 +46,7 @@
{
SEARCH="$1"
PROTO="$2"
- netselect -v -s 1 $(cat mirrors_full \
+ netselect -v -s 1 $(cat $infile \
| perl -n -e '
$/="\n\n";
while(<>){
I found the problem when trying to find the "second fastest" site
by modifying the mirrors_full to exclude non working sites and kept getting
the same site out.
Sincerley
Jeff Peters
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]