Re: Orphaned packages

From: D'Arcy Cain <darcy_at_druid.net>
Date: Sun, 16 Jun 2024 20:19:32 UTC
On 2024-06-16 13:02, Gerard E. Seibert wrote:
> I recently updated to FreeBSD 14.1-RELEASE. I use pourdriere and
> updated its jail. I then ran "/usr/sbin/pkg version -voPL= | sort -d"
> to get a list of packages that needed updating. There are over a dozen
> files listed as "orphaned" in the list. I fed the list to poudriere and
> it appears to have updated all of the packages; however when I ran
> "/usr/sbin/pkg version -voPL= | sort -d" again, it still listed the
> same packaged as orphaned.
> 
> Shouldn't poudriere have taken care of this automatically, or is there
> something I have to do to get things in order?

I ran that command on my build server and the output seemed reasonable. 
I had a few packages that needed updating.  Of more interest was running 
it on one of my client servers and got "pkg: Cannot find ports tree: 
unable to open /usr/ports/Makefile".  Perhaps your /usr/ports is not the 
same as the ports tree that poudriere uses.  The pkg command has a 
--jail option but when I added that it gave me an invalid option error.

I have /usr/ports set as a symlink to my primary jail's ports folder. 
Maybe that's why mine is more normal.

   ports -> /usr/local/poudriere/ports/local

Cheers.

-- 
D'Arcy J.M. Cain <darcy@druid.net>         |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 788 2246     (DoD#0082)    (eNTP)   |  what's for dinner.
IM: darcy@Vex.Net, VoIP: sip:darcy@druid.net