From nobody Mon Apr 29 14:41:25 2024 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VSmHN05GVz5JSS6 for ; Mon, 29 Apr 2024 14:41:36 +0000 (UTC) (envelope-from SRS0=XQGu=MC=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4VSmHM45HWz4Mk3 for ; Mon, 29 Apr 2024 14:41:35 +0000 (UTC) (envelope-from SRS0=XQGu=MC=quip.cz=000.fbsd@elsa.codelab.cz) Authentication-Results: mx1.freebsd.org; none Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 4D746D78A0; Mon, 29 Apr 2024 16:41:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quip.cz; s=private; t=1714401687; bh=RfVwZodgOlFKb25n4Qot71tAECWbhvT0mw1R4B1wOFg=; h=Date:Subject:To:References:From:In-Reply-To; b=alppLQhUPvMHafubcn51T33ZGlwZLBTg46DFErXx2VoxOhjjh1Zbk8at0Cund0ljP MZfrjZTE36y4j1fCZr6nhvKd9bLsYHmajXDYW/u8bt/LXO+VhyOh4jG28rGoubhUiL sXSspv+eiaSRJ6EqGPy9sF8qW10fWcvSjp5tzVgI= Received: from [192.168.145.49] (ip-89-177-27-225.bb.vodafone.cz [89.177.27.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 44B49D78C0; Mon, 29 Apr 2024 16:41:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quip.cz; s=private; t=1714401686; bh=RfVwZodgOlFKb25n4Qot71tAECWbhvT0mw1R4B1wOFg=; h=Date:Subject:To:References:From:In-Reply-To; b=alnQs9YrTP/s3z5vCA3DRRvAUUgG77vkWAkg/I3Bw//tIMXzY/ScFeNTB8Koe0qSF N2MjigiiAiibiqcmNuKCzyrzTRBVZBkH7Pefg2AhHKvu4zLsofZy0xzx20/r51p5G/ SNgnELs/+PoJNRE2+XdClmNKeN7Kxdi5r5llC2Cg= Message-ID: Date: Mon, 29 Apr 2024 16:41:25 +0200 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports@freebsd.org Sender: owner-freebsd-ports@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: pkg upgrade odity To: ports@freebsd.org, Alexander Leidinger References: <6e8aea8cce83e0a82be430be1989980a@Leidinger.net> Content-Language: en-US From: Miroslav Lachman <000.fbsd@quip.cz> In-Reply-To: <6e8aea8cce83e0a82be430be1989980a@Leidinger.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:42000, ipnet:94.124.104.0/21, country:CZ] X-Rspamd-Queue-Id: 4VSmHM45HWz4Mk3 On 29/04/2024 12:49, Alexander Leidinger wrote: > Hi, > > pkg wants to remove some package on upgrade. I do not understand why... > ---snip--- > # pkg upgrade > Updating FreeBSD repository catalogue... > Fetching meta.conf: 100%    178 B   0.2kB/s    00:01 > Fetching data.pkg: 100%  130 KiB 133.5kB/s    00:01 > Processing entries: 100% > FreeBSD repository update completed. 467 packages processed. > All repositories are up to date. > Checking for upgrades (1 candidates): 100% > Processing candidates (1 candidates): 100% > The following 4 package(s) will be affected (of 0 checked): > > Installed packages to be REMOVED: >         mosh: 1.4.0_2 >         netdata: 1.43.2_1 >         protobuf: 24.4,1 > > Installed packages to be UPGRADED: >         rsync: 3.2.7_1 -> 3.3.0 > > Number of packages to be removed: 3 > Number of packages to be upgraded: 1 > > The operation will free 55 MiB. > 405 KiB to be downloaded. > > Proceed with this action? [y/N]: n > ---snip--- > > If I do this instead, it is doing what I expect the former command to do: > ---snip--- > # pkg upgrade mosh netdata protobuf rsync > Updating FreeBSD repository catalogue... > FreeBSD repository is up to date. > All repositories are up to date. > The following 1 package(s) will be affected (of 0 checked): > > Installed packages to be UPGRADED: >         rsync: 3.2.7_1 -> 3.3.0 > > Number of packages to be upgraded: 1 > > 405 KiB to be downloaded. > > Proceed with this action? [y/N]: > ---snip--- > > Any ideas why it wants to remove those packages in the first case? I see similar behavior from time to time. Last time (a few days ago) pkg wanted to uninstall about 30 packages when I tried to install Signal Desktop (I tried to install another package without any dependencies, but pkg behaves the same). I didn't have time to solve it, I just left it alone. The second day (after reboot) everything worked normally and pkg installed only Signal Desktop, no other dependencies/libraries were affected. And similarly, pkg during 'pkg upgrade' installed several packages, which after completing 'pkg upgrade' again uninstalled by command 'pkg autoremove' (I remember mate-desktop, which I don't use at all, I use KDE Plasma) It was right before I tried to install Signal Desktop. Kind regards Miroslav Lachman