Thread View: muc.lists.freebsd.current
3 messages
3 total messages
Started by Ruslan Zalata
Sat, 14 Nov 2026 20:21
Fwd: suspend/resume regression on -head sometime in the last three months
Author: Ruslan Zalata
Date: Sat, 14 Nov 2026 20:21
Date: Sat, 14 Nov 2026 20:21
28 lines
5859 bytes
5859 bytes
Hello Tomoaki, On 2026-11-14 17:20, Tomoaki AOKI wrote: > You excessively narrowed down on grep. You are totally correct! > graphics/drm-kmod is just a metaport to choose actual port/pkg > to be installed depending on OS version. > > Try `pkg version | grep drm` > > Or if you want to a bit narrowing down, try below. > `pkg version -o | grep 'drm-[0-9]*-kmod'` The only problem with this method is that to extract data it unpacks every package installed. As I have more than 4000 pkgs installed in the system, it takes quite some time to complete. Thanks anyway. --- WBR, Ruslan. PGP: D7545516DF544C4A, Get by finger rz@fabmicro.ru -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: Fwd: suspend/resume regression on -head sometime in the last three months
Author: Tomoaki AOKI
Date: Sun, 15 Nov 2026 00:12
Date: Sun, 15 Nov 2026 00:12
60 lines
5594 bytes
5594 bytes
Hi. You don't have /usr/ports/INDEX-* but having ports tree, right? Your regression should happen only when the situation above (or you've intentionally specifying to use ports tree as version source in pkg.conf), if pkg is working as documented in DESCRIPTION of pkg-version(8) manpage. Otherwise INDEX-* or repository catalogue db should be used for version comparison, thus, not so slow. If you hesitate to run time-consuming `make index` on every ports tree updates, use `make fetchindex`. Note that this could cause showing "?" as version comparison results for anything NOT in official ports tree (i.e., any ports you added yourself including resurrected old ones). And usuall a bit behind the tree (should not be generated on every commit as it's quite time consuming). But for this very use-case, it would be ignorable for you. Regards. On Sun, 15 Nov 2026 01:21:50 +0500 Ruslan Zalata <rz@fabmicro.ru> wrote: > Hello Tomoaki, > > On 2026-11-14 17:20, Tomoaki AOKI wrote: > > > You excessively narrowed down on grep. > > You are totally correct! > > > graphics/drm-kmod is just a metaport to choose actual port/pkg > > to be installed depending on OS version. > > > > Try `pkg version | grep drm` > > > > Or if you want to a bit narrowing down, try below. > > `pkg version -o | grep 'drm-[0-9]*-kmod'` > > The only problem with this method is that to extract data it unpacks > every package installed. As I have more than 4000 pkgs installed in the > system, it takes quite some time to complete. Thanks anyway. > > --- > WBR, Ruslan. > PGP: D7545516DF544C4A, Get by finger rz@fabmicro.ru > -- Tomoaki AOKI <junchoon@dec.sakura.ne.jp> -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
Fwd: suspend/resume regression on -head sometime in the last three months
Author: Ruslan Zalata
Date: Sun, 15 Nov 2026 01:02
Date: Sun, 15 Nov 2026 01:02
21 lines
5677 bytes
5677 bytes
Hello Tomoaki, On 2026-11-15 05:12, Tomoaki AOKI wrote: > You don't have /usr/ports/INDEX-* but having ports tree, right? That's right, none of my machines has this INDEX file, I did not even know about its existence. :) Thank you for explaining how 'pkg version' works. Just to try it, I renamed /usr/ports and ran 'pkg version'. It worked very fast. --- WBR, Ruslan. PGP: D7545516DF544C4A, Get by finger rz@fabmicro.ru -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads