Date: Tue, 30 Apr 2024 01:50:14 +0200 From: Baptiste Daroussin <bapt@FreeBSD.org> To: Miroslav Lachman <000.fbsd@quip.cz> Cc: ports@freebsd.org, Alexander Leidinger <Alexander@leidinger.net> Subject: Re: pkg upgrade odity Message-ID: <293C3E9D-9BF0-4283-9C64-11925989D1C8@FreeBSD.org> In-Reply-To: <1c50381c-ba8e-4a72-a621-e9b8e3d4ed37@quip.cz> References: <6e8aea8cce83e0a82be430be1989980a@Leidinger.net> <f64b7244-5cb1-450d-8aad-525f8673410a@quip.cz> <zypr5fta76iochorlmqbikm5ygdzpk5vqq66yta5ulprgbtjwe@fmhgiee2ugte> <42392cc8-db69-4316-840b-dae5beeea396@quip.cz> <3AEDC553-F5D8-448F-AAD8-3DE19973022B@FreeBSD.org> <1c50381c-ba8e-4a72-a621-e9b8e3d4ed37@quip.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
Le 29 avril 2024 22:33:09 GMT+02:00, Miroslav Lachman <000=2Efbsd@quip=2Ecz= > a =C3=A9crit=C2=A0: >On 29/04/2024 19:36, Baptiste Daroussin wrote: >> Le 29 avril 2024 19:33:35 GMT+02:00, Miroslav Lachman <000=2Efbsd@quip= =2Ecz> a =C3=A9crit=C2=A0: >>> On 29/04/2024 17:21, Baptiste Daroussin wrote: > >>>>> I see similar behavior from time to time=2E Last time (a few days ag= o) pkg >>>>> wanted to uninstall about 30 packages when I tried to install Signal= Desktop >>>>> (I tried to install another package without any dependencies, but pk= g >>>>> behaves the same)=2E I didn't have time to solve it, I just left it = alone=2E The >>>>> second day (after reboot) everything worked normally and pkg install= ed only >>>>> Signal Desktop, no other dependencies/libraries were affected=2E >>>>>=20 >>>>> And similarly, pkg during 'pkg upgrade' installed several packages, = which >>>>> after completing 'pkg upgrade' again uninstalled by command 'pkg aut= oremove' >>>>> (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 >>>>=20 >>>> This is usually due to shlibs_provided and shlibs_required,, pkg chec= k -d should >>>> be able to highlight some of the issues >>>=20 >>> Speaking of pkg check, should it work with a changed root directory (p= kg -r /some/path check) or chroot (pkg -c /some/path check)? I'm doing a pk= g upgrade of a desktop in a cloned BE and if I run pkg check after pkg upgr= ade (with -c), pkg check prints an error for hundreds or thousands of files= =2E So it seems I cannot check before the reboot to newly updated BE (I kno= w I can run it as jail but it more work than pkg -c) >>>=20 >>> Kind regards >>> Miroslav Lachman >>>=20 >>=20 >> Yes it is supposed to work with -r, all it needs is the db access=2E > >My notes from 2024-04-23: > ># pkg -r /tmp/be_mount=2EbN62 check -Ba >Checking all packages: >(0ad-0=2E0=2E26_23) /usr/local/bin/ActorEditor - required shared library = =2E=2E/=2E=2E/=2E=2E/binaries/system/libAtlasUI=2Eso not found >Checking all packages=2E=2E=2E >pkg: fstat() failed for(/usr/local/lib/libappstream=2Eso=2E1=2E0=2E1): No= such file or directory >pkg: fstat() failed for(/usr/local/share/licenses/AppStream-1=2E0=2E1/GPL= v2+): No such file or directory >pkg: fstat() failed for(/usr/local/share/licenses/AppStream-1=2E0=2E1/LGP= L21+): No such file or directory >pkg: fstat() failed for(/usr/local/share/licenses/AppStream-1=2E0=2E1/LIC= ENSE): No such file or directory >pkg: fstat() failed for(/usr/local/share/licenses/AppStream-1=2E0=2E1/cat= alog=2Emk): No such file or directory >pkg: fstat() failed for(/usr/local/share/man/man1/appstreamcli=2E1=2Egz):= No such file or directory >Checking all packages=2E=2E=2E >pkg: fstat() failed for(/usr/local/lib/libAppStreamQt5=2Eso=2E1=2E0=2E1):= No such file or directory >pkg: fstat() failed for(/usr/local/share/licenses/AppStreamQt5-1=2E0=2E1/= GPLv2+): No such file or directory >pkg: fstat() failed for(/usr/local/share/licenses/AppStreamQt5-1=2E0=2E1/= LGPL21+): No such file or directory >pkg: fstat() failed for(/usr/local/share/licenses/AppStreamQt5-1=2E0=2E1/= LICENSE): No such file or directory >pkg: fstat() failed for(/usr/local/share/licenses/AppStreamQt5-1=2E0=2E1/= catalog=2Emk): No such file or directory >Checking all packages=2E=2E=2E >pkg: fstat() failed for(/usr/local/lib/ImageMagick-7=2E1=2E1/config-Q16HD= RI/configure=2Exml): No such file or directory >pkg: fstat() failed for(/usr/local/lib/ImageMagick-7=2E1=2E1/modules-Q16H= DRI/coders/aai=2Ela): No such file or directory >=2E=2E >=2E=2E > >this list was really long and all files were there (in a BE) but it seems= like if pkg check does not see them=2E > >I didn't try it at 2024-04-23, but from my memory I thinkg pkg -c works, = but pkg -r doesn't=2E > >Kind regards >Miroslav Lachman > pkg check -d is rootdir safe pkg check -B is another beast I haven yet loo= ked at it=2E Bapt
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?293C3E9D-9BF0-4283-9C64-11925989D1C8>