On 2013-08-21, Paul de Weerd <[email protected]> wrote:
> On Wed, Aug 21, 2013 at 12:55:26PM +0000, Stuart Henderson wrote:
>| On 2013-08-19, Paul de Weerd <[email protected]> wrote:
>| >| 
>| >| 12. Re-add packages as per current.html:
>| >| 
>| >| # pkg_add -z -l /root/pkg_list_manual
>| >| # pkg_add -za -l /root/pkg_list_full
>| >
>| > I don't really understand why you're doing the -za dance with the full
>| > pkg list.  For all those dependencies that were required for the
>| > manually installed packages ?  Or for all the dependencies of manually
>| > added packages that you've since deleted ?
>| 
>| It maintains the auto-installed / manually-installed status of packages,
>| rather than putting them all in as "manually installed".
>
> Wouldn't all dependencies be automatically installed with the first
> command anyway ?  Thereby maintaining the auto-installed /
> manually-installed status of packages as you suggest ?

This misses the case where you have something auto-installed as a
dependency, which you then use standalone and then later remove the
depending package. 

> The only difference is that orphaned dependencies get reinstalled.  If
> that is what you want (i.e. you want those dependencies installed),
> you should find out about them being marked as auto-installed by not
> having them after your upgrade and then manually install them.

I think the aim of this is that if you follow the instructions, you end
up with, as close as possible, the same things installed as you had
before (excepting cases like ports for which we cannot distribute the
packages).

Reply via email to