Subject: pkg/35089: pkg_add kde downloads the same files repeatedly.
To: None <,,>
From: None <>
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

System: NetBSD 3.1 NetBSD 3.1 (GENERIC_LAPTOP) #0: Tue Oct 31 04:32:05 UTC 2006 i386
Architecture: i386
Machine: i386
	'pkg_add kde' will waste a huge amount of a users bandwidth. The
	same files are downloaded repeatedly. If a user does not include: 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.

	for more details.

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

	'export PKG_PATH='

	'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.