From owner-freebsd-questions@FreeBSD.ORG Mon Jan 30 15:33:12 2012 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 9B8461065673 for ; Mon, 30 Jan 2012 15:33:12 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id F176D8FC17 for ; Mon, 30 Jan 2012 15:33:11 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [IPv6:2001:8b0:151:1:fa1e:dfff:feda:c0bb]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id q0UFX7gk025580 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Mon, 30 Jan 2012 15:33:07 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: OpenDKIM Filter v2.4.3 smtp.infracaninophile.co.uk q0UFX7gk025580 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1327937588; bh=KAMfTrD2rSEo1pb5AhwzfAM9oii+OC4BhCF2vAISoqw=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Cc; b=ABSuUqzK+QDpN6mq8dtOvq3iY1z9Vm0A9AxlXnXXZhICA3e/yIl5UbsR0CB+oZAGS z92vPm8Q6oHHsD7s+1E3IcE5+aJtjtOcaq2KYQ/slUgYkNZmjgsAp/SstWKlXU5x8b 8HIegJhz2rK7F6sGfQLk80ovKbQyfGey1DkHl8CY= Message-ID: <4F26B82C.10202@infracaninophile.co.uk> Date: Mon, 30 Jan 2012 15:33:00 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4F26A866.1050605@infracaninophile.co.uk> In-Reply-To: X-Enigmail-Version: 1.3.4 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigF6DF65C2CC379C99DE4E322E" X-Virus-Scanned: clamav-milter 0.97.3 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Subject: Re: problem installing Firefox using pkg_add -r 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: Mon, 30 Jan 2012 15:33:12 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigF6DF65C2CC379C99DE4E322E Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 30/01/2012 14:43, hvn wrote: > On Mon, 30 Jan 2012 14:25:42 +0000, Matthew Seaman wrote: >=20 >> On 30/01/2012 13:57, hvn wrote: >>> Using v.FreeBSD 8.2, I'm trying to install Firefox 9 by pkg_add -r >>> firefox. According to the docs, this should work. However, instead of= >>> v9 it tries to install v 3.6 which goes wrong because of dependency >>> conflicts. Any idea on how to solve this or what goes wrong? >> >> What FTP URL are you connecting to in order to download the firefox >> package? Firefox 9.0 postdates FreeBSD 8.2 release, so it won't be in= >> the packages-8.2-release collection: >=20 > The FTP URL is ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.= 2- > release/Latest/ > So this effectively means I should upgrade or do a clean install. I did= =20 > try to install PC-BSD 9 on an x64, but the BIOS somehow doesn't like th= e=20 > partitioning. This 8.2 runs on an old PIII with 500 MB RAM (xfce), so n= ot=20 > really suitable for demanding stuff. Well, if you want to go through all the palaver of upgrading the OS, then it is up to you. However, if prefer not to spend all that time, and just update your installed pkgs, you could do this: setenv PACKAGESITE ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable/All (csh-like shells) or export PACKAGESITE=3Dftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-sta= ble/All (sh-like shells) Now, you will have to update the packages that firefox depends on. That's a pretty tedious chore if done manually. The sort of boring, repetitive task that computers excel at, given appropriate programming. Which in this case (IMHO) means portmaster(8). Once you've set PACKAGESITE as above, install portmaster: # pkg_add -r portmaster-3.11.tbz # rehash (if using csh style shell) Then use portmaster to update dependencies as necessary and install the firefox-9 port -- obviously, make sure you have good backups before doing this, even though portmaster does create a backup package of everything it updates. # portmaster -PP -w www/firefox '-PP' says to only use pre-compiled packages. '-w' says to keep a copy of any updated shared libraries on-line, a helpful anti-foot-shooting move. Actually, if the update starts replacing low-level stuff which a great number of packages depend on, you might find it more productive to just upgrade everything (portmaster -PP -a). You will be getting about 11 months worth of updates all in one go in that case, which is going to affect lots of what you have installed. If in doubt, please feel free to ask again here. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enigF6DF65C2CC379C99DE4E322E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk8muDMACgkQ8Mjk52CukIxyGwCfXka6YVRUQe8QvhGHhkhNDDSV RlMAn27eZfGWNFXugecY4IGx4JzE1ouq =Jxr/ -----END PGP SIGNATURE----- --------------enigF6DF65C2CC379C99DE4E322E--