NetBSD Problem Report #53728

From www@NetBSD.org  Tue Nov 13 15:25:02 2018
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id C9EDF7A150
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 13 Nov 2018 15:25:01 +0000 (UTC)
Message-Id: <20181113152500.B83FD7A1BB@mollari.NetBSD.org>
Date: Tue, 13 Nov 2018 15:25:00 +0000 (UTC)
From: tschweikle@gmail.com
Reply-To: tschweikle@gmail.com
To: gnats-bugs@NetBSD.org
Subject: pkgin in tcsh wants to install 17G of packages
X-Send-Pr-Version: www-1.0

>Number:         53728
>Category:       pkg
>Synopsis:       pkgin in tcsh wants to install 17G of packages
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          feedback
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 13 15:30:00 +0000 2018
>Closed-Date:    
>Last-Modified:  Wed Dec 05 11:05:00 +0000 2018
>Originator:     Thomas schweikle
>Release:        NetBSD 8
>Organization:
>Environment:
NetBSD 8.0_STABLE
>Description:
giving on a comandline:

pkgin in tcsh

wants to install about 17G packages. tcsh seems to depend on whole X11, ruby in at least three versions, python2, python3, python34, gcc in at least two versions, the whole bunch of x11-programs including various emacs and xemacs packages

I do not think this is normal and ok. tcsh does only depend on a very view libs, together not more than 5MB. Not a complete Desktop including graphics, various compilers and other stuff maybe installed on a developers system!
>How-To-Repeat:
Install NetBSD (does not matter which version. Take one!).
Then install pkgin. Configure pkgin.
Give "pkgin in tcsh"

Same for htop, pdksh, ... and various others. 
>Fix:
Fix would be to cut down dependencies in tcsh package not to include all any every package installed on a developers system.

>Release-Note:

>Audit-Trail:
From: Leonardo Taccari <leot@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/53728: pkgin in tcsh wants to install 17G of packages
Date: Tue, 13 Nov 2018 16:37:07 +0100

 Hello Thomas,

 tschweikle@gmail.com writes:
 > [...]
 > >How-To-Repeat:
 > Install NetBSD (does not matter which version. Take one!).
 > Then install pkgin. Configure pkgin.
 > [...]

 How pkgin was configured?
 (probably the most interesting part is the PKG_PATH used, it should
 be the only non-commented-out line in etc/pkgin/repositories.conf)


 Thank you!

State-Changed-From-To: open->feedback
State-Changed-By: bsiegert@NetBSD.org
State-Changed-When: Wed, 14 Nov 2018 11:36:18 +0000
State-Changed-Why:
Please provide more information, as per Leonardo's reply.


From: Thomas Schweikle <tschweikle@gmail.com>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/53728: pkgin in tcsh wants to install 17G of packages
Date: Wed, 5 Dec 2018 12:01:07 +0100

 pkgin is configured to use:

 PKG_PATH=file:///usr/pkgs;http://nyftp.netbsd.org/pub/pkgsrc/packages/NetBSD/amd64/8.0/All;http://ftp.netbsd.org/pub/pkgsrc/packages
 /NetBSD/amd64/8.0/All;http://nyftp.netbsd.org/pub/pkgsrc/packages/NetBSD/amd64/7.2/All;http://ftp.netbsd.org/pub/pkgsrc/packages/Net
 BSD/amd64/7.2/All;http://nyftp.netbsd.org/pub/pkgsrc/packages/NetBSD/amd64/7.1/All;http://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/
 amd64/7.1/All;http://nyftp.netbsd.org/pub/pkgsrc/packages/NetBSD/amd64/7.0/All;http://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/amd6
 4/7.0/All
 PKG_REPOS=file:///usr/pkgs
 http://nyftp.netbsd.org/pub/pkgsrc/packages/NetBSD/amd64/8.0/All
 http://ftp.netbsd.org/pub/pkgsrc/package
 s/NetBSD/amd64/8.0/All
 http://nyftp.netbsd.org/pub/pkgsrc/packages/NetBSD/amd64/7.2/All
 http://ftp.netbsd.org/pub/pkgsrc/packages/Ne
 tBSD/amd64/7.2/All
 http://nyftp.netbsd.org/pub/pkgsrc/packages/NetBSD/amd64/7.1/All
 http://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD
 /amd64/7.1/All http://nyftp.netbsd.org/pub/pkgsrc/packages/NetBSD/amd64/7.0/All
 http://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/amd
 64/7.0/All


 -- 
 Thomas

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.