Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Oct 2014 15:07:22 -0700
From:      John Vinopal <john@vinopal.com>
To:        freebsd-doc@FreeBSD.org
Subject:   5.4.1. Getting Started with pkg
Message-ID:  <5435B59A.1050204@vinopal.com>

next in thread | raw e-mail | index | archive | help
Hi there,

I have a suggest improvement to the handbook.
https://www.freebsd.org/doc/handbook/pkgng-intro.html

Section "5.4.1. Getting Started with pkg" should discuss an issue with 
pkg2ng, namely that packages converted in this manner do not have 
correct meta-data regarding their "automatic" or "directly-installed" 
status.  Here is a suggested paragraph that will illuminate the issue 
for people upgrading via pkg2ng.

After <span class="application">pkg2ng</span> has finished, converted 
packages are marked as "non-automatic". Non-automatic packages are those 
directly installed, while "automatic" packages are installed as a 
dependency.  The older package system did not record this meta-data.  In 
order to use tools such as <code class="command">pkg autoremove</code>, 
you must manually set the "automatic" state for dependencies.  For 
example, <code class="command">pkg set -A 1 perl-5.14</code>.  See 
pkg(8) for more information.

Thanks for your hard work!

-john




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5435B59A.1050204>