From nobody Mon Apr 29 15:21:30 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 4VSn9S00jHz5JXWm for ; Mon, 29 Apr 2024 15:21:32 +0000 (UTC) (envelope-from bapt@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VSn9R6dFmz4QgQ; Mon, 29 Apr 2024 15:21:31 +0000 (UTC) (envelope-from bapt@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1714404091; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=9dgNES+/JTuYqrmbygF3e9YJGmNCteGhJGDtIU8Cw5Q=; b=VKOgZSI6DbojGyYqmY7+c/M86tj1SRSfMkF698L8NSbDssgstDWK1pbKjXAvCOfVvj4CeA GE+zQXtSDUfG+YpwgxfDYgf2aTjCGzIcSRRotFygRnLOX70pTJ6PZEVkPOeSpYuH5hMLpD cKR5KuujqCwgWOHen33zsDtVEJ5U5lrHK1p0ldZW3Fc0Z44NI121l3fk3cl3SaDpJs8iMl e6KbTM1+/P396OuDj4i9ErwNo9RQSYpxyuvwTTBwxoLrzYFtST5lDwrDUnciz8PBrGUy1/ Zx9K1CGKKgpN+wkMi++w8lcDJr4PgYRRbqXiyfJvT0AoJ4chh3yDgwdMOpTZ+w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714404091; a=rsa-sha256; cv=none; b=mzpppqQMonh/1njfcU5pnLWuwdRUOnPht2Btiz2hUxyb2fHZiUA5OVNK0Lelnyo8RYSAbT PIZNwLlsoagokVVgNCqXHqTySG6XzSGQiKYk9T7TRxal9fVeX7f9v/E5MuJrvtovV6YEQD Nz8CE/Xi7FKeIqZa+xBUo1qBfmx086/Sctkuk5kSIXuVdM/nQJAsX0vVQ/+0heL/5nkWYc Xv6eY5MXV8IDu0HqB/DJ2SyGzT02zRoL9oiS1IIeMVKI7K9bK6+ImZOv2ElLAtvtFCqVHH 9a7M40PeZ+1m25JHjaJnioRCQsTIXjzuZA3CyhCd4PNvOZV/W44n5IIKHH8Mow== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1714404091; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=9dgNES+/JTuYqrmbygF3e9YJGmNCteGhJGDtIU8Cw5Q=; b=Z05ouzQ/0a1j8IPvMngQ0oB7UKbVDSvRpR1Ai4kfmAr1GNU6hh/r6HDLNkhEF+hopKhmxg 7V9sc7xNorzvArKcxqPRXka57CpOQHE8sIbNMrk5Qfb7EiENjOC87ObKFy+JMLFmrTEJU6 963d7bYe/Qh5Ja4JSHcX2RjELu0o2FYK8vx+OQsDMKox5u4rjX5VkEmDWf2ux5FY1AdSsm qBOtrDMQuGH+fsnwYy3teWVpsynji5CxlOAS5vKoRML6cd5OMW/eVqFY1iu3Iyih3f6IXe s5waLt+fmI22+LxiB3jSiD24+5O/lFDxiz0A2JJ6YEOxd3K1Zn4RlIgKVW/32Q== Received: from aniel.nours.eu (nours.eu [IPv6:2001:41d0:8:3a4d::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: bapt) by smtp.freebsd.org (Postfix) with ESMTPSA id 4VSn9R5WxXzchN; Mon, 29 Apr 2024 15:21:31 +0000 (UTC) (envelope-from bapt@freebsd.org) Received: by aniel.nours.eu (Postfix, from userid 1001) id 460F61E7DEE; Mon, 29 Apr 2024 17:21:30 +0200 (CEST) Date: Mon, 29 Apr 2024 17:21:30 +0200 From: Baptiste Daroussin To: Miroslav Lachman <000.fbsd@quip.cz> Cc: ports@freebsd.org, Alexander Leidinger Subject: Re: pkg upgrade odity Message-ID: References: <6e8aea8cce83e0a82be430be1989980a@Leidinger.net> 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 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Mon 29 Apr 16:41, Miroslav Lachman wrote: > 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 > > This is usually due to shlibs_provided and shlibs_required,, pkg check -d should be able to highlight some of the issues Best regards, Bapt