Your message dated Mon, 26 Nov 2007 20:47:38 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#451889: fixed in netselect 0.3.ds1-11
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: netselect-apt
Version: 0.3.ds1-10
Severity: grave
Justification: renders package unusable


I noticed after installing a new version of Debian Etch that netselect-apt 
fails with the message:

netselect was unable to find a mirror, this probably means that
you are behind a firewall and it is blocking traceroute.

It seems the Perl code within run_netselect() fails to parse the HTML of the 
Debian worldwide mirror sites page at http://www.debian.org/mirror/mirrors_full 
because that page no longer contains \n\n delimiters.

I resolved the problem by modifying run_netselect() to use "<br><br>" instead 
(highlighted):

run_netselect()
{
        SEARCH="$1"
    PROTO="$2"
    netselect -v -s 1 $(cat "$infile" \
        | perl -n -e '
            $/="<br><br>";
            while(<>){
              next if $_ !~ /Site:/;
              if( m@'"$SEARCH"':.*<a href="('"$PROTO"'://.*?)">@i ){
                    print("$1\n");
              }
            }') \
        | awk '{print $2}'
}

I also removed the check for Archive Architectures, since the phrase no longer 
appears on the page.  Perhaps this is needed, however?

I've attached a patch to this e-mail with the changes.  I created it with the 
following commands:

claude:~/tmp$ find old new
old
old/netselect-apt
new
new/netselect-apt

claude:~/tmp$ diff -Naur old new > netselect-apt.patch

Also, I noticed after patching netselect-apt that running netselect-apt 
occassionally fails due to negative values for netselect field host->num_out, 
but this is a bug for the netselect package, not netselect-apt .

Please let me know if you have any comments, questions, or concerns.

Sincerely,

Kevin


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-5-k7
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages netselect-apt depends on:
ii  netselect                     0.3.ds1-10 Choose the fastest server automati
ii  wget                          1.10.2-2   retrieves files from the web

netselect-apt recommends no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: netselect
Source-Version: 0.3.ds1-11

We believe that the bug you reported is fixed in the latest version of
netselect, which is due to be installed in the Debian FTP archive:

netselect-apt_0.3.ds1-11_all.deb
  to pool/main/n/netselect/netselect-apt_0.3.ds1-11_all.deb
netselect_0.3.ds1-11.diff.gz
  to pool/main/n/netselect/netselect_0.3.ds1-11.diff.gz
netselect_0.3.ds1-11.dsc
  to pool/main/n/netselect/netselect_0.3.ds1-11.dsc
netselect_0.3.ds1-11_powerpc.deb
  to pool/main/n/netselect/netselect_0.3.ds1-11_powerpc.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Filippo Giunchedi <[EMAIL PROTECTED]> (supplier of updated netselect package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Mon, 26 Nov 2007 19:15:42 +0000
Source: netselect
Binary: netselect netselect-apt
Architecture: source powerpc all
Version: 0.3.ds1-11
Distribution: unstable
Urgency: low
Maintainer: Filippo Giunchedi <[EMAIL PROTECTED]>
Changed-By: Filippo Giunchedi <[EMAIL PROTECTED]>
Description: 
 netselect  - Choose the fastest server automatically
 netselect-apt - Choose the fastest Debian mirror with netselect
Closes: 412491 420362 437623 439695 451889
Changes: 
 netselect (0.3.ds1-11) unstable; urgency=low
 .
   * updated portuguese translation (Closes: #420362, #439695)
   * fix the new mirrors_full format (Closes: #451889)
   * added galician translation (Closes: #412491)
   * remove stripping option from Makefile (Closes: #437623)
Files: 
 d9fac68f5c391c836bce9680744e543f 605 net optional netselect_0.3.ds1-11.dsc
 c099261cc52e3aeca06f7a25db98fafd 17923 net optional 
netselect_0.3.ds1-11.diff.gz
 8e508fef3359237862a42f6682579dc6 9186 net optional 
netselect-apt_0.3.ds1-11_all.deb
 4bc5e5ee2fcefb57941a38e8964c592d 23062 net optional 
netselect_0.3.ds1-11_powerpc.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHSydRABzeamt51AERAo9dAJ4h1qAoE7SzeEKI6x2dz6WnFtjXdgCfVurc
vC8EnrkUG7uocUAZLwiUqUs=
=miuj
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to