From owner-freebsd-questions@FreeBSD.ORG Fri Mar 13 20:24:53 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C92521065692 for ; Fri, 13 Mar 2009 20:24:53 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 476388FC15 for ; Fri, 13 Mar 2009 20:24:53 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id n2DKOkup060692; Fri, 13 Mar 2009 20:24:47 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.2 smtp.infracaninophile.co.uk n2DKOkup060692 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1236975888; bh=xqu4qchqGGtaxUIAI8rMKgKPLZ32gfu6G8nYnu/aGEU=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<49BAC108.4000800@infracaninophile.co.uk>|Date:=20F ri,=2013=20Mar=202009=2020:24:40=20+0000|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.19=20(X11/20090218)|MIME-Vers ion:=201.0|To:=20David=20Southwell=20|CC:=20 freebsd-questions@freebsd.org|Subject:=20Re:=20Managing=20bsdpan=2 0--=20some=20advice=20please|References:=20<200903130748.56558.dav id@vizion2000.net>|In-Reply-To:=20<200903130748.56558.david@vizion 2000.net>|X-Enigmail-Version:=200.95.6|Content-Type:=20multipart/s igned=3B=20micalg=3Dpgp-sha256=3B=0D=0A=20protocol=3D"application/ pgp-signature"=3B=0D=0A=20boundary=3D"------------enigE35FC25C257E 369C07CD385A"; b=e5MqHQzyid8NVnTR6rnECXuAJg42zxQzugFsWKd/T7JAzed2ggn2l03C791CT2sqh XPyTra/MNBUUoKIiJOuxrbjRAFtmhaVr8gz/qswl6p5ko9vDSpnJGN57BPOn8t1DZw srjmZHLxdnQTXrF6kcJwSXP6bgS/z0PpFEJhlIOI= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <49BAC108.4000800@infracaninophile.co.uk> Date: Fri, 13 Mar 2009 20:24:40 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.19 (X11/20090218) MIME-Version: 1.0 To: David Southwell References: <200903130748.56558.david@vizion2000.net> In-Reply-To: <200903130748.56558.david@vizion2000.net> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigE35FC25C257E369C07CD385A" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (smtp.infracaninophile.co.uk [IPv6:::1]); Fri, 13 Mar 2009 20:24:48 +0000 (GMT) X-Virus-Scanned: ClamAV 0.94.2/9105/Fri Mar 13 11:58:59 2009 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: Managing bsdpan -- some advice please X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Mar 2009 20:24:54 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigE35FC25C257E369C07CD385A Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable David Southwell wrote: > Basically I do not know how to manage the bsdpan "ports". > On portupgrade -a I get long lists like the one below. > How are items "held" > How do I decide whether ort not to hold them. > Some advice would be appreciated. > I have searched for some guidance on the freebsd web site but not found= any. >=20 > ---> Skipping 'bsdpan-B-Debug-1.10' because it is held by user (specif= y -f to=20 > force) > ---> Skipping 'bsdpan-Exporter-5.62' because it is held by user (speci= fy -f=20 > to force) > ---> Skipping 'bsdpan-constant-1.15' because it is held by user (speci= fy -f=20 > to force) [...] Well, for starters, you have no choice but to 'hold' a bsdpan package. The terminology comes from portupgrade, but the same thing applies to whatever FreeBSD package management system you care to use. In portupgrade, a 'held' package is one that is listed in the HOLD_PKGS array in /usr/local/etc/pkgtools.conf. This simply indicates packages tha= t portupgrade should not attempt to upgrade for whatever reason. The default setting is: HOLD_PKGS =3D [ 'bsdpan-*', ] ie. any 'bsdpan' package installed via 'perl -MCPAN -e' or by manually=20 compiling the module source. These bsdpan packages are just normal=20 FreeBSD packages in every respect but one: they have no package origin -- that is, there is no directory in the ports tree for a bsdpan package.= This means that the usual ports system for determining whether a package is out of date -- comparing either directly or indirectly against the version number from the port's Makefile -- is impossible to apply and so ports management software cannot upgrade bsdpan packages. As a general rule, if there is a ported version of a perl module then install that, rather than installing the same thing directly from CPAN. It makes ports management easier and keeping stuff up to date a lot more effective. Most of the packages you list are available in the ports tree. You also have about 15 ordinary p5 ports listed as 'held' -- I'm not sure= why that should be unless you have deliberately chosen to do that. Maybe= because they have dependencies on bsdpan packages? Anyhow, you can proba= bly sort things out by replacing your bsdpan packages with the ports equivale= nts like so: portupgrade -o www/p5-libwww -f bsdpan-libwww-perl-5.813 (That's actually a slight oddity: usually a perl package Foo::Bar::Baz wi= ll appear in ports as mumble/p5-Foo-Bar-Baz) Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enigE35FC25C257E369C07CD385A Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkm6wQ4ACgkQ8Mjk52CukIzTggCdHqz8bZum0k1hAQjI9tZy7I5z KroAn1WauLz0Fqk7hl23ESj205ZxsoSB =lPFA -----END PGP SIGNATURE----- --------------enigE35FC25C257E369C07CD385A--