[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#457049: apt-spy: Confused by Leading Blanks in mirrors.txt



Package: apt-spy
Version: 3.1-17
Severity: important

	apt-spy appears to be confused by lines in mirrors.txt that have
leading blanks.  Once apt-spy hits a line with leading blanks, it seems
to assume it has reached the end of the server list and stops.  This is
especially irritating when trying to scan US servers, as the first entry
(ftp.us.debian.org) is followed by a line with leading blanks (a list of
aliases?).

	To reproduce:
	- Install a fresh copy of apt-spy.
	- Run the following command as root:
		apt-spy -d unstable -s US
	  apt-spy will scan ftp.us.debian.org and then stop.

	Workaround:
	- Load /var/lib/apt-spy/mirrors.txt into an editor.
	- Scroll down to the list of US servers.
	- Delete the line immediately following the entry for
	  ftp.us.debian.org, which contains leading blanks.  (I do not
	  know the significance or meaning of this line.)
	- Save the file.
	- Re-run apt-spy:
		apt-spy -d unstable -s US
	- All US servers in the list will now be scanned.

	Please investigate.

					Schwab


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages apt-spy depends on:
ii  libc6                         2.7-3      GNU C Library: Shared libraries
ii  libcurl3                      7.17.0-1   Multi-protocol file transfer libra

apt-spy recommends no packages.

-- no debconf information



Reply to: