Your message dated Wed, 07 Jul 2021 13:33:34 +0000
with message-id <[email protected]>
and subject line Bug#920907: fixed in netselect 0.3.ds1-29
has caused the Debian Bug report #920907,
regarding netselect-apt: Wrong host - and invalid file generated as a result
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
920907: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=920907
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: netselect-apt
Version: 0.3.ds1-28
Severity: important
Tags: patch

Dear Maintainer,

There is a bug in the netselect package that output some of the hosts
with negative value. There is logic in netselect-apt to detect it and it
works, but the logic to ignore those doesn't witch results in generatin
invalid file.
The problem is detected with regular expression on line 197: egrep '^ *-'
But the logic to remove those lines on line 200 doesn't account for the
whitespaces: sed -e '/^-/d' As a result the generated source.list file has the line: deb - stable main contrib which is invalid. The solution is to modify the sed call on line 200 to sed -e '/^ *-/d'

-- System Information:
Debian Release: 9.6
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-8-amd64 (SMP w/8 CPU cores)
Locale: LANG=bg_BG.UTF-8, LC_CTYPE=bg_BG.UTF-8 (charmap=UTF-8), LANGUAGE=bg_BG.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages netselect-apt depends on:
ii netselect 0.3.ds1-28+b1
ii wget 1.18-5+deb9u2

Versions of packages netselect-apt recommends:
ii curl 7.52.1-5+deb9u8

Versions of packages netselect-apt suggests:
ii dpkg-dev 1.18.25

-- no debconf information


--- /tmp/netselect-apt  2019-01-30 15:58:18.105147031 +0200
+++ /usr/bin/netselect-apt      2019-01-30 15:58:29.689200937 +0200
@@ -197,7 +197,7 @@
        corruptedhosts=$(echo "$out" | egrep '^ *-')
        if [ $? -eq 0 ]; then
                log "Detected corrupt scores from bug in netselect: 
$corruptedhosts"
-               out=$(echo "$out" | sed -e '/^-/d')
+               out=$(echo "$out" | sed -e '/^ *-/d')
        fi
 
 


--- End Message ---
--- Begin Message ---
Source: netselect
Source-Version: 0.3.ds1-29
Done: Javier Fernández-Sanguino Peña <[email protected]>

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.

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.
Javier Fernández-Sanguino Peña <[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: SHA256

Format: 1.8
Date: Sun, 04 Jul 2021 23:04:35 +0200
Source: netselect
Architecture: source
Version: 0.3.ds1-29
Distribution: unstable
Urgency: high
Maintainer: Javier Fernández-Sanguino Peña <[email protected]>
Changed-By: Javier Fernández-Sanguino Peña <[email protected]>
Closes: 788793 920907 989674
Changes:
 netselect (0.3.ds1-29) unstable; urgency=high
 .
   * netselect-apt:
     - Fix bug that makes it output some hosts with negative value (Closes: 
920907)
     - Fix bug in the Pelr parsing which prevented it from processing properly
       the mirrors listed in the Debian website (Closes: 989674)
   * debian/control: Move curl to depends as it is required by netselect-apt
    (Closes: 788793)
Checksums-Sha1:
 1d289a4949f0e0b4eaceb460ce0f074062da7148 1715 netselect_0.3.ds1-29.dsc
 e2437f67fe10419f5d7f6375094f512d3afe25e6 53992 netselect_0.3.ds1-29.tar.gz
 33a2761179e65d871e08ae83d018870e1050452a 7176 
netselect_0.3.ds1-29_i386.buildinfo
Checksums-Sha256:
 9438e4f4d5c8f246f8e5928b2153da03563023aef42a18a705f65a6faba105af 1715 
netselect_0.3.ds1-29.dsc
 35ad851c8644e95e4428661bb0910cdbf3ef0c1b30f3d8bc308bf592fd72b00c 53992 
netselect_0.3.ds1-29.tar.gz
 01d79f0425b0b7cb5a3bf55bf59c29b71e0a42edc54d5ffc87552ddb21153eb9 7176 
netselect_0.3.ds1-29_i386.buildinfo
Files:
 56b127977fa298a406e63f592cd1453f 1715 net optional netselect_0.3.ds1-29.dsc
 54de380557d18151258b52c4885a9382 53992 net optional netselect_0.3.ds1-29.tar.gz
 b22ad46722e2ee8c59875cc5687f2dd9 7176 net optional 
netselect_0.3.ds1-29_i386.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEFQ8Kq6ttIR3DT+AOix9vSKslf5gFAmDiMqUACgkQix9vSKsl
f5i60xAAxJgLlAJpPoHSQWrvujZKXrmT7ZQLxjQx0O7NakslTPwRhS/O6Zi/lgj0
SVTueL7escqIofYByZPbbrXk4aTve0FvlkIdQvvQg7gf5+is+4J58NgzsMwzwSul
7mBGtX1aQ1S8h2YL2PZEG+g3HNxxUuvhvVZZNDUT8lEuWOjo0IaPWqWwwSH4IrEh
TlHiJxJiC7KT33SBgC6buR9vNes7V3S2TH/mT0KaZxzJJhLv2HOFBZOuYfkyCxu5
YOyhm4+0oQ4qPaUGD6Y9GK5Mjwhk324LREFvc1gkXfGALDKXWs8pRFhreDRnF0Py
W8dMQv3HQU3sel4bX9/y6ybliSZrCnOO9oPvteNPYyOcrMwWCZ/YSNDdtpOXKIeH
QCvG6QXHoWk2/DmQyiU0prEthyA5ysTkJ6vU61SS0coD7XhRUpJrsGQoRH/DDAbi
7SmOZuTsaTNAAWGxRZewSFtccJHj1THHpoddqMuh0p89p5aI56kzz4hR7Os3KbCm
sju8QIVK9K+rJALtGOUOfN9pjvGniCQ5jV0h5sh5daMVJqm22IR60jhVnk1kSyA5
z8ev6MpcCkhdUp77d3INh5Xyw1Ysln0lyRoKtNZjYfWzPZj6o04kLqF5bB3u+cxp
dgJb9Myrle+LLpEpcEgN87jymY/Uym8yOyJ9wQnTfMuTVReN/W4=
=bLqc
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to