Subject: pkg/35089: pkg_add kde downloads the same files repeatedly.
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <netbsd001@freeode.co.uk>
List: pkgsrc-bugs
Date: 11/20/2006 20:55:01
>Number:         35089
>Category:       pkg
>Synopsis:       pkg_add kde downloads the same files repeatedly.
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 20 20:55:00 +0000 2006
>Originator:     John Murphy
>Release:        NetBSD 3.1
>Organization:

	
>Environment:
	
	
System: NetBSD chucky.freeode.co.uk 3.1 NetBSD 3.1 (GENERIC_LAPTOP) #0: Tue Oct 31 04:32:05 UTC 2006 builds@b0.netbsd.org:/home/builds/ab/netbsd-3-1-RELEASE/i386/200610302053Z-obj/home/builds/ab/netbsd-3-1-RELEASE/src/sys/arch/i386/compile/GENERIC_LAPTOP i386
Architecture: i386
Machine: i386
>Description:
	'pkg_add kde' will waste a huge amount of a users bandwidth. The
	same files are downloaded repeatedly. If a user does not include:
	ftp://ftp.NetBSD.org/pub/NetBSD/packages/3.0/i386/vulnerable in
	PKG_PATH then the problem starts as soon as 'qt3-libs-3.3.6nb1' is
	required. Else it doesn't start to occur until 'p5-perl-headers-3.0nb3'
	cannot be found. In the latter case, on a 1MB/s connection, 'nas-1.8nb1.tgz'
	is fetched 84 times in ten minutes! Other files are also repeatedly dl'd.

	See http://mail-index.netbsd.org/netbsd-help/2006/11/19/0007.html
	for more details.

	This is also a waste of NetBSD's ftp server bandwidth of course.

	
>How-To-Repeat:
	'export PKG_PATH=ftp://ftp.NetBSD.org/pub/NetBSD/packages/3.0/i386/All'

	'pkg_add kde' and leave it running overnight for worst effect.

	Check the server's xferlog if you have access to it, or check the
	bandwidth used by some other means.
	
>Fix:
	

>Unformatted: