Date: Thu, 6 Sep 2012 01:41:44 GMT From: Benjamin Close <benjsc@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/171361: [pkgng] Regressions from pkg_ tools Message-ID: <201209060141.q861fiqc017399@red.freebsd.org> Resent-Message-ID: <201209060150.q861o2kt082679@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 171361 >Category: ports >Synopsis: [pkgng] Regressions from pkg_ tools >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Sep 06 01:50:02 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Benjamin Close >Release: 9.1-PRERELEASE >Organization: >Environment: FreeBSD taurus.clearchain.com 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0: Tue Sep 4 07:05:34 CST 2012 root@taurus.clearchain.com:/usr/obj/usr/src/sys/GENERIC amd64 >Description: I'm in the process of testing pkgng: benjsc@taurus:/usr/ports | pkg -v 1.0 Overall I've very impressed. However I've discovered a number of features that appear to be a regression from what is currently available via the pkg_ tools. I've listed these below. 1> Package fetch continue I have a intermittent network connection. If a package fails part way through download, the entire package is refetched. When your connection drops out 5 times downloading qt-docs (100mb) this is a big issue. Please implement fetch continue (as fetch does) 2> Unable to multiple instances of pkgng at the same time. If I have one instance of pkg installing then at the same time you can't perform commands which would be read only. Ie status, which, etc. This is a regression from the old pkg_info where you could query at the same time 3> Not a regression but a bug: pkg check -a doesn't work. 4> No documentation on meaning of kb/ status when fetching When fetching 2 stats displaying kb's are displayed. There is no documentation on the meaning of these. The first appears to be kb/s the second I could not find a meaning for: qt4-doc-4.8.2.txz 100% 95MB 66.7KB/s 94.5KB/s 24:20 ^^^^^^^^ What's this? 5> auto remove after pkg2ng finds no candidates After using pkg2ng there is no candidates listed. I'm sure some packages could be auto removed 6> pkg checks for updated reposity information every time install is run If I chose a package to install then upon running install an update run is also performed. Update should be it's own task and not related to install. (I might want the current version not a later version) 7> pkg2ng needs to provide some help. Upon a completed run of pkg2ng I ran pkg update. Only to be told no repository is found. An easy fix but I had to work out what it was. Perhaps a one line printf indicating that a config file is needed and an example in /usr/local/etc/pkg.conf.sample is available. It'd just make it much more user friendly for anyone trying pkg2ng out. Thanks and keep up the good work. Ben >How-To-Repeat: 1> pkg install qt4-docs <pull network cable out> pkg install qt4-docs 2> pkg install qt4-docs Whilst download is running pkg which /usr/local/bin/bash Result: benjsc@taurus:/usr/ports | pkg which /usr/local/bin/bash pkg: sqlite: database is locked (pkgdb.c:2363) 5> pkg2ng pkg autoremove 6> root@taurus:/home/benjsc $BUILD_ENV$GITBRANCH| pkg install virtualbox-ose virtualbox-ose-kmod Updating repository catalogue Repository catalogue is up-to-date, no need to fetch fresh copy The following packages will be installed: Same for status, version etc. 3> benjsc@taurus:/usr/ports | pkg check -a usage: pkg check [-Bdsr] [-vy] [-a | -gxX <pattern>] For more information see 'pkg help check'. >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209060141.q861fiqc017399>