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

next in thread | previous in thread | raw e-mail | index | archive | help
On 03/06/24 08:21, Renato Botelho wrote:
> 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.

I just found the issue report I opened back in 2017

https://github.com/freebsd/pkg/issues/1613

Someone mentioned about having more than one repo at #bsdports years ago.

-- 
Renato Botelho




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?dec9cef4-ff28-4932-948c-d2be1a861c83>