NetBSD Problem Report #47501

From ignatios@cs.uni-bonn.de  Thu Jan 24 16:25:24 2013
Return-Path: <ignatios@cs.uni-bonn.de>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id C465B63C07C
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 24 Jan 2013 16:25:23 +0000 (UTC)
Message-Id: <1359044720.253290.7672.nullmailer@jaguar-eta.cs.uni-bonn.de>
Date: Thu, 24 Jan 2013 17:25:20 +0100
From: ignatios@cs.uni-bonn.de
Reply-To: ignatios@cs.uni-bonn.de
To: gnats-bugs@gnats.NetBSD.org
Subject: pkgin: /var/db/pkgin/cache has not enough space for download
X-Send-Pr-Version: 3.95

>Number:         47501
>Category:       pkg
>Synopsis:       pkgin: cache has not enough space for download (symlinking)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    imil
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 24 16:30:00 +0000 2013
>Closed-Date:    Mon May 30 15:14:23 +0000 2016
>Last-Modified:  Mon May 30 15:14:23 +0000 2016
>Originator:     Ignatios Souvatzis
>Release:        NetBSD 6.0_RC2
>Organization:
computer science department, university of Bonn, Germany
>Environment:


System: NetBSD jaguar-eta 6.0_RC2 NetBSD 6.0_RC2 (XEN3PAE_DOMU) #8: Thu Sep 27 17:08:35 CEST 2012 ignatios@random84.cs.uni-bonn.de:/var/itch/sources/6.0/oi386/sys/arch/i386/compile/XEN3PAE_DOMU i386
Architecture: i386
Machine: i386
>Description:
	I'm using pkgin with a nfs-(auto)mounted (in the LAN) pkg repository.
pkgin has learned to symlink files to the cache, instead of copying them.
Unfortunately, it seems to add the file sizes and refuse to try if /var/db/cache
can't hold the *copied* files.

>How-To-Repeat:
	pkgin up ; pkgin fug
>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->imil
Responsible-Changed-By: asau@NetBSD.org
Responsible-Changed-When: Sat, 26 Jan 2013 20:39:34 +0000
Responsible-Changed-Why:
pkgin problem


State-Changed-From-To: open->feedback
State-Changed-By: stacktic@NetBSD.org
State-Changed-When: Thu, 31 Jan 2013 20:42:06 +0000
State-Changed-Why:
A fix is available in pkgin's CVS, could you please try and confirm it fixes this issue?


From: Ignatios Souvatzis <ignatios@cs.uni-bonn.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/47501 (pkgin: cache has not enough space for download
 (symlinking))
Date: Mon, 4 Feb 2013 11:46:10 +0100

 On Thu, Jan 31, 2013 at 08:42:07PM +0000, stacktic@NetBSD.org wrote:
 > 
 > A fix is available in pkgin's CVS, could you please try and confirm it fixes this issue?

 Yes, latest pkgin.net cvs HEAD seems to work:

 # pkgin in acroread8
 calculating dependencies... done.
 pkgin: /var/db/pkgin/cache does not have enough space for download, (48M required but only 712K are available)

 # ~ignatios/pkgin-exp/pkgin/pkgin in acroread8
 calculating dependencies... done.

 nothing to upgrade.
 1 packages to be installed: acroread8-8.1.7nb3 (0B to download, 116M to install)


 Proceed ? [Y/n] 
 downloading packages...
 symlinking file:///net/random84/var/itch/packages32-60d/All/acroread8-8.1.7nb3.tgz...
 installing packages...
 installing acroread8-8.1.7nb3...
 pkg_install warnings: 0, errors: 0
 reading local summary...
 processing local summary...
 updating database: 100%
 marking acroread8-8.1.7nb3 as non auto-removable


State-Changed-From-To: feedback->analyzed
State-Changed-By: is@NetBSD.org
State-Changed-When: Wed, 13 Feb 2013 17:32:38 +0000
State-Changed-Why:
Submitter has provided the requested feedback information.


From: coypu@SDF.ORG
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/47501 (pkgin: cache has not enough space for download
 (symlinking))
Date: Mon, 30 May 2016 07:00:45 +0000

 New version fixes things and was already imported.

 Close?

 Thanks.

State-Changed-From-To: analyzed->closed
State-Changed-By: bsiegert@NetBSD.org
State-Changed-When: Mon, 30 May 2016 15:14:23 +0000
State-Changed-Why:
Confirmed closed.


>Unformatted:
 Information for pkgin-0.6.3.1:

 Comment:
 Apt / yum like tool for managing pkgsrc binary packages

 Requires:
 pkg_install>=20110215

 Description:
 pkgin is aimed at being an apt / yum like tool for managing
 pkgsrc binary packages. It relies on pkg_summary(5) for
 installation, removal and upgrade of packages and associated
 dependencies, using a remote repository.

 Homepage:
 http://pkgin.net/

 Install notice:
 ===========================================================================
 $NetBSD: MESSAGE,v 1.3 2010/06/10 08:05:00 is Exp $

 First steps before using pkgin.

 . Modify /usr/pkg/etc/pkgin/repositories.conf to suit your platform
 . Initialize the database :

 	# pkgin update

 ===========================================================================

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.