pkgsrc-Bugs archive

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

pkg/47060: pkgin is sometimes too terse and operator-unfriendly



>Number:         47060
>Category:       pkg
>Synopsis:       pkgin is sometimes too terse and operator-unfriendly
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 12 10:05:00 +0000 2012
>Originator:     Havard Eidnes
>Release:        NetBSD 6.0_RC2
>Organization:
        None
>Environment:
System: NetBSD jonsvatnet.uninett.no 6.0_RC2 NetBSD 6.0_RC2 (JONSVATNET) #10: 
Mon Sep 24 14:50:04 CEST 2012  
he%jonsvatnet.uninett.no@localhost:/usr/obj/sys/arch/i386/compile/JONSVATNET 
i386
Architecture: i386
Machine: i386
>Description:
        I tried to use "pkgin full-upgrade" after doing "pkgin update"
        on this NetBSD/i386 6.0_RC2 system, pointing towards
          ftp://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/i386/6.0/All
        as the only repository.

        This is what I get:

jonsvatnet# pkgin -V fug
calculating dependencies... done.
pkgin: /var/db/pkgin/cache has not enough space for download

jonsvatnet# 

        (I beleive the error message is not good English, I would
        rather say "/var/db/pkgin/cache does not have enough space
        for download".)

        However, it does not say what it actually wants to do, how
        much it wants to download, or anything like that -- it just
        says "you have too little free space".

        Couple that with the apparent inability to direct it to use
        some other space for caching the binary packages, I'm sort
        of lost what to do.

        I could of course clean out the entire 1.2GB of packages in
        /var/db/pkgin/cache, but pkgin's claim looks ... preposterous,
        and I would like to have more information to go on before
        trusting that it did indeed get its calculation right.

        My /var file system has after all 2.9GB space free:

jonsvatnet# df -h /var
Filesystem         Size       Used      Avail %Cap Mounted on
/dev/wd0f          4.8G       1.6G       2.9G  35% /var
jonsvatnet# 

        and my /usr/pkg in total contains 4.7GB:

jonsvatnet# du -hs /usr/pkg
4.7G    /usr/pkg
jonsvatnet# 

        Doing just a "pkgin upgrade", on the other hand, says that there
        is nothing to do:

jonsvatnet# pkgin upgrade
nothing to do.
jonsvatnet# 

        so I am somewhat doubdtful that it wants to replace all my
        packages under the "full-upgrade" command.

>How-To-Repeat:
        Don't quite know, but see above.

>Fix:
        Sorry, don't know.



Home | Main Index | Thread Index | Old Index