From nobody Sun Jun 16 20:19:32 2024 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4W2PWN2cjgz5PQ59 for ; Sun, 16 Jun 2024 20:19:44 +0000 (UTC) (envelope-from darcy@druid.net) Received: from mail.vex.net (mail.vex.net [IPv6:2605:2600:1001::44]) (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) by mx1.freebsd.org (Postfix) with ESMTPS id 4W2PWM74G7z4spw for ; Sun, 16 Jun 2024 20:19:43 +0000 (UTC) (envelope-from darcy@druid.net) Authentication-Results: mx1.freebsd.org; none Received: from [192.168.215.109] (unknown [98.158.128.15]) (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) (Authenticated sender: darcy) by mail.vex.net (Postfix) with ESMTPSA id 4DAF64E77E for ; Sun, 16 Jun 2024 16:19:34 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=druid.net; s=VEXNET; t=1718569174; bh=i68+Y6Ihb5tYPNU16w19kpCEsIT6MxslNozlW/0bTGQ=; h=Date:Subject:To:References:From:In-Reply-To; b=WOT6pblglkjEmfQSPum7FYkbLsfYhwn05Sr7U0eKfZUr5ZuVLENPJa3duTYmYOL2G bIle/REr/a4DyUAr122DpyTE/8Nw41LbnA1osmiWJ+LVG55tzoBDQVJizzaivIHDJG DgQwQlTAJN2nLCXG45sDhfffDgQy/2MrydJeNbAw= Message-ID: <7b41f86e-98a5-43d5-b778-99d5d4e89ec4@druid.net> Date: Sun, 16 Jun 2024 16:19:32 -0400 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Orphaned packages To: questions@freebsd.org References: <20240616130208.000069e1@seibercom.net> From: D'Arcy Cain Content-Language: en-US In-Reply-To: <20240616130208.000069e1@seibercom.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:19842, ipnet:2605:2600::/32, country:CA] X-Rspamd-Queue-Id: 4W2PWM74G7z4spw 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 | 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