Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jun 2024 08:21:13 -0300
From:      Renato Botelho <garga@FreeBSD.org>
To:        Yuri <yuri@FreeBSD.org>, "ports@freebsd.org" <ports@freebsd.org>
Subject:   Re: Why does 'pkg install -A xx' reinstall pkg?
Message-ID:  <badc5369-dca7-4fd5-b1f3-c53f4bb7f60d@FreeBSD.org>
In-Reply-To: <0d254498-0783-4394-982a-8c126220d166@FreeBSD.org>
References:  <0d254498-0783-4394-982a-8c126220d166@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 02/06/24 17:50, Yuri wrote:
> I saw it many times how 'pkg install -A xx' reinstalls pkg:
> 
> 
>  > Installed packages to be REINSTALLED:
> 
>  >        pkg-1.21.3
> 
> 
> 
> 
> It doesn't explain the reason.
> 
> 
> Why is such operation ever needed?
> 
> 
> The package version doesn't change, and there are no dependencies that 
> change, so why does it need to reinstall pkg?
> 

Do you have multiple pkg repositories on this system?  I've been seeing 
this behavior to happen for years when more than one repository is 
configured.

We always had 2 repositories on pfSense and it was not something trivial 
to see on FreeBSD systems, but nowadays with pkgbase it's becoming more 
common so I guess more people will see it happening.

-- 
Renato Botelho




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?badc5369-dca7-4fd5-b1f3-c53f4bb7f60d>