From owner-freebsd-questions@FreeBSD.ORG Fri Nov 7 01:45:11 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B35DC16A4CE for ; Fri, 7 Nov 2003 01:45:11 -0800 (PST) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A51B43FDF for ; Fri, 7 Nov 2003 01:45:10 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) hA79imwk073799 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 7 Nov 2003 09:45:06 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id hA79iltO073794; Fri, 7 Nov 2003 09:44:47 GMT (envelope-from matthew) Date: Fri, 7 Nov 2003 09:44:47 +0000 From: Matthew Seaman To: whizkid@ValueDJ.com Message-ID: <20031107094447.GC73219@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , whizkid@ValueDJ.com, freebsd-questions@freebsd.org References: <32390.208.253.246.93.1068168815.squirrel@www.ValueDJ.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Izn7cH1Com+I3R9J" Content-Disposition: inline In-Reply-To: <32390.208.253.246.93.1068168815.squirrel@www.ValueDJ.com> User-Agent: Mutt/1.5.4i X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.60 X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-questions@freebsd.org Subject: Re: pkgdb -F and a few other questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Nov 2003 09:45:11 -0000 --Izn7cH1Com+I3R9J Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 06, 2003 at 05:33:35PM -0800, whizkid@ValueDJ.com wrote: > Hey All, > By now I have posted alot of questions and you are probably getting > tired of seeing my name in your inbox... But I have yet another for > you. I am currently running FreeBSD 5.1-Current, I have SquirrelMail > 1.4.2 and Courier Imap installed. I installed a plugin for > SquirrelMail that required Perl 5.8 or above. Look to find out I have > 5.6.1 installed. I ran CVSup -x -L 2 sup-ports and then a portupgrade > -Rra and wala, still Perl 5.6.1. So I de-installed 5.6.1 and make > install on perl 5.8.1, ran the pkgdb -Fa and all these errors poped > up. Some of the app's were dependent on Perl 5.6.1, so I had it point > to the Perl 5.8.1 and all is well, and ran a use.perl port command.=20 > For what ever reason I had to re-install SpamAssassin, and the > razor-agents ports too. Yes -- replacing the main perl installation does tend to blow away large chunks of any previously installed perl modules. However, you seem to have managed to cope very well so far. > Now if i run pkgdb -F I get what you see below: >=20 > ---> Checking the package registry database > Missing origin: bsdpan-CPAN-1.7.6 > -> Ignored. (the package is held; specify -f to force) > Missing origin: bsdpan-Data-Dumper-2.121 > -> Ignored. (the package is held; specify -f to force) > Missing origin: bsdpan-ReadLine-Perl-1.0203 > -> Ignored. (the package is held; specify -f to force) > Missing origin: bsdpan-TermReadKey-2.21 > -> Ignored. (the package is held; specify -f to force) > Missing origin: bsdpan-Text-Aspell-0.04 > -> Ignored. (the package is held; specify -f to force) >=20 > obviously I have updated the perl incorrectly. Not so -- you just haven't finished yet... All of the packages in question are modules you've installed directly using perl's CPAN module, rather than an explicit FreeBSD port. That's why they are missing an origin -- there's no directory under the ports tree that corresponds to those packages. If you check your /usr/local/etc/pkgtools.conf you'll probably find that all of the BSDPAN packages are marked as held (this is the default). That's basically because of the way that BSDPAN packages are generated is different to normal packages, and portupgrade doesn't really have the smarts to cope with maintianing them. > 1) what would of been the correct way to update the perl from version > 5.6.1 to 5.8.1 without causing package db problems? Now, all of the modules you list above either come with the default perl installation, or have regular ports eg. devel/p5-ReadLine-Perl devel/p5-Term-ReadKey I'd recommend that if there's a port for any perl module, you should use that for preference and only install modules via CPAN/BSDPAN failing that. I'd also recommend deleting and re-installing every module your system as a part of the perl-5.6.1 -> 5.8.1 update. This will help keep your installed perl stuff coherent and make managing upgrades via portupgrade smoother. You've apparently done most of this already. It's also a good opportunity to review exactly what you have installed and prune out the unused stuff. There's no need to re-install any of the packages that come as standard with 5.8.1, since they're all right up to date already. =20 > 2) how do i fix the above Missing origin errors? You don't need to: any BSDPAN package will inevitably have a missing origin. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --Izn7cH1Com+I3R9J Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/q2mPdtESqEQa7a0RAuO/AKCYfnYPdtzLgvobQbs83Z4GK3UACwCgm7VX HvWmjDSj2JLlqODo+Gr68f0= =fEvV -----END PGP SIGNATURE----- --Izn7cH1Com+I3R9J--