org; s=dkim; t=1714508522; 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=5UbIrepJcGNuMGC3nPfXC+elorKBDcOqrs+Jkb2rGdc=; b=P+9KbbUW5YwA09C1ndZJyFj+JLj0076Wn2RLZ/t432fC7hJeyOkkNGzkrLnx9fYMYA5v96 xfzF75SePPs6tONkcR8H/jDW9GSfQ1sXPfwC2mvj4p4fjyLfbEKSOxhQffHHAbOSJi5sCP x4ui1CoQDQ7pa5gsnwpi1cgWXv3vzkGCWDqXIQKy6C2jS77Vs9tbjBQ04EfpRxTBMZ0xyi EOrp06HGGm2rZ0kpCgrHW9ax72ruw9/R6M3+Mtvb0sGAPg8klGjsAKl6UFHltR40XWOLWA Y8KttH2XMpyNkUqfrdcLI5fGGYd6z7foReJf7/FA5hECZbPFFgKlsEfSq1wmsg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714508522; a=rsa-sha256; cv=none; b=w4i45ANQToTcb5LxCTEcLM0ph7oh4nhE+i+s8tb4I/CNoQuqWf/Cjo21lPHlJBKwDVmzoh v+eDI2auJuNzdqLkp+HR/gmJaMzuUlKs5JJtieTFDWR2gA5cGE7Rh4BEX5S5jDS95cMHbj Qg7Cm++GznJi1pUR9TK2Drw6MQl0vUdz1agiC5zyWVsosmOw0fka0CCTgVoXIENznBJXX3 Xj3/cEK8SgbWFfPPnuHiqb5Wvi92P+V0EHIKhRtUp91KVHT3mrbYyEzMcsp8xlgmdurYGE s1e7Gihbob13OQitYGMWmE2Z7oxyrYwP4ETWfh4V77o+gtY4vMGz6SfD3K4r1A== 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=1714508522; 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=5UbIrepJcGNuMGC3nPfXC+elorKBDcOqrs+Jkb2rGdc=; b=ak/HPUdongrHhtys7UJAX0fYe2KN7lxB08ph1o8NqdKLBgv5hPyR4bCIbsh/cXW4Wr/JxH b6QaylBFk85UbGR0J0itkG75U7s4dUL7l1YYMzoJc5+THnPg6BjREcFFjfFmUvA25fL866 fA/ibPdj/i9lEDlLEXO0tLNfPwXMU96+YN0AY3mgxRTClroxazOzqah6n7EuoIjlcpZblc /KR6IcdK9E4ZR0ogWKugnFqBisl//+FHxx0FuK+2eYlWq04O3l5OB+jb5LDMXs7fmFCF5p gAVtkpcGw9iwq39Su4y0PaK3lBKsU0i8i6y6gocTn/o2DMdIjD+dPSIYaS5Zqw== 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 4VTWnk1W6gz1PFl; Tue, 30 Apr 2024 20:22:02 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from [IPv6:::1] (2a02-8428-078f-2200-cb90-33b9-3d7a-2cbd.rev.sfr.net [IPv6:2a02:8428:78f:2200:cb90:33b9:3d7a:2cbd]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aniel.nours.eu (Postfix) with ESMTPSA id 8BBE41E9344; Tue, 30 Apr 2024 22:21:59 +0200 (CEST) Date: Tue, 30 Apr 2024 22:21:59 +0200 From: Baptiste Daroussin To: Alexander Leidinger CC: Miroslav Lachman <000.fbsd@quip.cz>, ports@freebsd.org Subject: Re: pkg upgrade odity User-Agent: K-9 Mail for Android In-Reply-To: <8fd2687ae88582ccc74ba6309056dbce@Leidinger.net> References: <6e8aea8cce83e0a82be430be1989980a@Leidinger.net> <8fd2687ae88582ccc74ba6309056dbce@Leidinger.net> Message-ID: <5D2405B5-DE58-4CBB-84D7-86B41CB7AB5D@FreeBSD.org> 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=utf-8 Content-Transfer-Encoding: quoted-printable Le 30 avril 2024 13:18:41 GMT+02:00, Alexander Leidinger a =C3=A9crit=C2=A0: >Am 2024-04-29 17:21, schrieb Baptiste Daroussin: >> 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=2E I do not understand w= hy=2E=2E=2E >>> > ---snip--- >>> > # pkg upgrade >>> > Updating FreeBSD repository catalogue=2E=2E=2E >>> > Fetching meta=2Econf: 100%=C2=A0=C2=A0=C2=A0 178 B=C2=A0=C2=A0 0=2E2= kB/s=C2=A0=C2=A0=C2=A0 00:01 >>> > Fetching data=2Epkg: 100%=C2=A0 130 KiB 133=2E5kB/s=C2=A0=C2=A0=C2= =A0 00:01 >>> > Processing entries: 100% >>> > FreeBSD repository update completed=2E 467 packages processed=2E >>> > All repositories are up to date=2E >>> > 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: >>> > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 mosh: 1=2E4=2E0_2 >>> > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 netdata: 1=2E43=2E2_1 >>> > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 protobuf: 24=2E4,1 >>> > >>> > Installed packages to be UPGRADED: >>> > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 rsync: 3=2E2=2E7_1 -> 3= =2E3=2E0 >>> > >>> > Number of packages to be removed: 3 >>> > Number of packages to be upgraded: 1 >>> > >>> > The operation will free 55 MiB=2E >>> > 405 KiB to be downloaded=2E >>> > >>> > Proceed with this action? [y/N]: n >>> > ---snip--- >>> > >>> > If I do this instead, it is doing what I expect the former command t= o do: >>> > ---snip--- >>> > # pkg upgrade mosh netdata protobuf rsync >>> > Updating FreeBSD repository catalogue=2E=2E=2E >>> > FreeBSD repository is up to date=2E >>> > All repositories are up to date=2E >>> > The following 1 package(s) will be affected (of 0 checked): >>> > >>> > Installed packages to be UPGRADED: >>> > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 rsync: 3=2E2=2E7_1 -> 3= =2E3=2E0 >>> > >>> > Number of packages to be upgraded: 1 >>> > >>> > 405 KiB to be downloaded=2E >>> > >>> > Proceed with this action? [y/N]: >>> > ---snip--- >>> > >>> > Any ideas why it wants to remove those packages in the first case? >>>=20 >>>=20 >>> I see similar behavior from time to time=2E Last time (a few days ago)= pkg >>> wanted to uninstall about 30 packages when I tried to install Signal D= esktop >>> (I tried to install another package without any dependencies, but pkg >>> behaves the same)=2E I didn't have time to solve it, I just left it al= one=2E The >>> second day (after reboot) everything worked normally and pkg installed= only >>> Signal Desktop, no other dependencies/libraries were affected=2E >>>=20 >>> And similarly, pkg during 'pkg upgrade' installed several packages, wh= ich >>> after completing 'pkg upgrade' again uninstalled by command 'pkg autor= emove' >>> (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=2E >>>=20 >>>=20 >>> Kind regards >>> Miroslav Lachman >>>=20 >>>=20 >>=20 >> This is usually due to shlibs_provided and shlibs_required,, pkg check = -d should >> be able to highlight some of the issues > >In my case it complains about missing shared libs for exactly those ports= which it wants to deinstall, but they are present in the system=2E=2E=2E >---snip--- > # pkg check -da >Checking all packages: 100% >mosh is missing a required shared library: libabsl_time_zone=2Eso=2E2301= =2E0=2E0 >mosh is missing a required shared library: libabsl_time=2Eso=2E2301=2E0= =2E0 >mosh is missing a required shared library: libabsl_throw_delegate=2Eso=2E= 2301=2E0=2E0 >mosh is missing a required shared library: libabsl_synchronization=2Eso= =2E2301=2E0=2E0 >mosh is missing a required shared library: libabsl_symbolize=2Eso=2E2301= =2E0=2E0 >mosh is missing a required shared library: libabsl_strings_internal=2Eso= =2E2301=2E0=2E0 >mosh is missing a required shared library: libabsl_strings=2Eso=2E2301=2E= 0=2E0 >mosh is missing a required shared library: libabsl_strerror=2Eso=2E2301= =2E0=2E0 >mosh is missing a required shared library: libabsl_str_format_internal=2E= so=2E2301=2E0=2E0 >mosh is missing a required shared library: libabsl_statusor=2Eso=2E2301= =2E0=2E0 >mosh is missing a required shared library: libabsl_status=2Eso=2E2301=2E0= =2E0 >mosh is missing a required shared library: libabsl_stacktrace=2Eso=2E2301= =2E0=2E0 >mosh is missing a required shared library: libabsl_spinlock_wait=2Eso=2E2= 301=2E0=2E0 >mosh is missing a required shared library: libabsl_raw_logging_internal= =2Eso=2E2301=2E0=2E0 >mosh is missing a required shared library: libabsl_raw_hash_set=2Eso=2E23= 01=2E0=2E0 >netdata is missing a required shared library: libabsl_time_zone=2Eso=2E23= 01=2E0=2E0 >netdata is missing a required shared library: libabsl_time=2Eso=2E2301=2E= 0=2E0 >netdata is missing a required shared library: libabsl_throw_delegate=2Eso= =2E2301=2E0=2E0 >netdata is missing a required shared library: libabsl_synchronization=2Es= o=2E2301=2E0=2E0 >netdata is missing a required shared library: libabsl_symbolize=2Eso=2E23= 01=2E0=2E0 >netdata is missing a required shared library: libabsl_strings_internal=2E= so=2E2301=2E0=2E0 >netdata is missing a required shared library: libabsl_strings=2Eso=2E2301= =2E0=2E0 >netdata is missing a required shared library: libabsl_strerror=2Eso=2E230= 1=2E0=2E0 >netdata is missing a required shared library: libabsl_str_format_internal= =2Eso=2E2301=2E0=2E0 >netdata is missing a required shared library: libabsl_statusor=2Eso=2E230= 1=2E0=2E0 >netdata is missing a required shared library: libabsl_status=2Eso=2E2301= =2E0=2E0 >netdata is missing a required shared library: libabsl_stacktrace=2Eso=2E2= 301=2E0=2E0 >netdata is missing a required shared library: libabsl_spinlock_wait=2Eso= =2E2301=2E0=2E0 >netdata is missing a required shared library: libabsl_raw_logging_interna= l=2Eso=2E2301=2E0=2E0 >netdata is missing a required shared library: libabsl_raw_hash_set=2Eso= =2E2301=2E0=2E0 >protobuf is missing a required shared library: libabsl_time_zone=2Eso=2E2= 301=2E0=2E0 >protobuf is missing a required shared library: libabsl_time=2Eso=2E2301= =2E0=2E0 >protobuf is missing a required shared library: libabsl_throw_delegate=2Es= o=2E2301=2E0=2E0 >protobuf is missing a required shared library: libabsl_synchronization=2E= so=2E2301=2E0=2E0 >protobuf is missing a required shared library: libabsl_symbolize=2Eso=2E2= 301=2E0=2E0 >protobuf is missing a required shared library: libabsl_strings_internal= =2Eso=2E2301=2E0=2E0 >protobuf is missing a required shared library: libabsl_strings=2Eso=2E230= 1=2E0=2E0 >protobuf is missing a required shared library: libabsl_strerror=2Eso=2E23= 01=2E0=2E0 >protobuf is missing a required shared library: libabsl_str_format_interna= l=2Eso=2E2301=2E0=2E0 >protobuf is missing a required shared library: libabsl_statusor=2Eso=2E23= 01=2E0=2E0 >protobuf is missing a required shared library: libabsl_status=2Eso=2E2301= =2E0=2E0 >protobuf is missing a required shared library: libabsl_stacktrace=2Eso=2E= 2301=2E0=2E0 >protobuf is missing a required shared library: libabsl_spinlock_wait=2Eso= =2E2301=2E0=2E0 >protobuf is missing a required shared library: libabsl_raw_logging_intern= al=2Eso=2E2301=2E0=2E0 >protobuf is missing a required shared library: libabsl_raw_hash_set=2Eso= =2E2301=2E0=2E0 > ># locate libabsl_time=2Eso=2E2301=2E0=2E0 >/usr/local/lib/libabsl_time=2Eso=2E2301=2E0=2E0 > ># ll /usr/local/lib/libabsl_time=2Eso=2E2301=2E0=2E0 >-rwxr-xr-x 1 root wheel 68K 22 Dez=2E 19:38 /usr/local/lib/libabsl_tim= e=2Eso=2E2301 > ># pkg which /usr/local/lib/libabsl_time_zone=2Eso=2E2301=2E0=2E0 >/usr/local/lib/libabsl_time_zone=2Eso=2E2301=2E0=2E0 was installed by pac= kage abseil-20230125=2E3 > ># pkg show abseil | head >abseil-20230125=2E3 >Name : abseil >Version : 20230125=2E3 >Installed on : Tue Dec 26 23:37:59 2023 UTC >Origin : devel/abseil >Architecture : FreeBSD:15:amd64 >Prefix : /usr/local >Categories : devel >Licenses : APACHE20 >Maintainer : danfe@FreeBSD=2Eorg >---snip--- > >Does this sound like "pkg check -B" would help here? > >Bye, >Alexander=2E > Not at all! I need the output of pkg info -R --raw-format ucl abseil This is a real issue on your system, which usually comes from local buildi= ng, is it your case? Best regards, Bapt