On Sun, 18 May 2025, Jonathan Perkin wrote:
Date: Sun, 18 May 2025 20:13:54 +0100 From: Jonathan Perkin <jperkin%pkgsrc.org@localhost> To: adr <adr%sdf.org@localhost> Cc: pkgsrc-users%netbsd.org@localhost Subject: Re: How to prevent locally compiled packages from upgrading * On 2025-05-18 at 17:21 BST, adr wrote:On the other hand, as you are changing these packages yourself, why don't you change the revision to a higher one, and pass the "<" flag with the -l option to pkgin?This is in case you have to keep your local packages when new revisions get in, I mean, if your packages' versions are the same as the ones in the repository, doing just pkgin -l '<' upgrade should do what you want right now.No, -l is only used for 'pkgin list'. Upgrade always considers every package.
I see... still you could easily combine the output of "pkgin -l '<' list" with pkg_add. It would be nice if pkg_info had this kind of functionality. I didn't remember that -l is only for list. My fault! adr