From owner-freebsd-questions@FreeBSD.ORG Sat Sep 20 21:48:31 2008 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 E775610656A9 for ; Sat, 20 Sep 2008 21:48:30 +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 6D0138FC0A for ; Sat, 20 Sep 2008 21:48:30 +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 m8KLmNZt004426; Sat, 20 Sep 2008 22:48:24 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.7.1 smtp.infracaninophile.co.uk m8KLmNZt004426 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1221947305; bh=Iru44hbgBMhmCC Cd7tSsZCoNms+mmIoKo/AldV3EIC4=; 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=Mes sage-ID:=20<48D56FA0.1000202@infracaninophile.co.uk>|Date:=20Sat,=2 020=20Sep=202008=2022:48:16=20+0100|From:=20Matthew=20Seaman=20|Organization:=20Infracaninophile|User -Agent:=20Thunderbird=202.0.0.16=20(X11/20080726)|MIME-Version:=201 .0|To:=20ipfreak@yahoo.com|CC:=20freebsd=20general=20questions=20|Subject:=20Re:=20upgrade=20packges|Re ferences:=20<820483.44101.qm@web52104.mail.re2.yahoo.com>|In-Reply- To:=20<820483.44101.qm@web52104.mail.re2.yahoo.com>|X-Enigmail-Vers ion:=200.95.6|Content-Type:=20multipart/signed=3B=20micalg=3Dpgp-sh a256=3B=0D=0A=20protocol=3D"application/pgp-signature"=3B=0D=0A=20b oundary=3D"------------enig2DB580BDDDD52E2031BB7CDC"; b=skqUo+CQSod 569Nj63QoZPhTX9nQYoTBvG2BSMICiU6J9cxumXaLgpGMxjNge+AdwM8iceW1PYP6ZT pstaI/5GrMdXGoXlaYAn9xefv9lCrw494CiBBZpAAin9QaPp03W6ZN/mKquGRJo3ZeR P14O7wpDQQoGVEgua8+GBIgFTY= Message-ID: <48D56FA0.1000202@infracaninophile.co.uk> Date: Sat, 20 Sep 2008 22:48:16 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.16 (X11/20080726) MIME-Version: 1.0 To: ipfreak@yahoo.com References: <820483.44101.qm@web52104.mail.re2.yahoo.com> In-Reply-To: <820483.44101.qm@web52104.mail.re2.yahoo.com> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig2DB580BDDDD52E2031BB7CDC" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (smtp.infracaninophile.co.uk [IPv6:::1]); Sat, 20 Sep 2008 22:48:25 +0100 (BST) X-Virus-Scanned: ClamAV 0.94/8294/Sat Sep 20 19:16:04 2008 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 general questions Subject: Re: upgrade packges 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: Sat, 20 Sep 2008 21:48:31 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig2DB580BDDDD52E2031BB7CDC Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable gahn wrote: > Hi all: >=20 > I am trying upgrading some packages and having problems. for example: >=20 > home# pkg_delete mysql-client-5.0.67 > pkg_delete: package 'mysql-client-5.0.67' is required by these other pa= ckages > and may not be deinstalled: > apache-2.2.9_5 > php5-5.2.6_2 > cyrus-sasl-2.1.22_1 > postfix-2.5.4,1 > subversion-1.5.2 >=20 > ok, if i removed it via "pkg_delete -f" and replace it with new > version (5.1), then what would happen to packeges like apach2.2.9.5, > php5-5.2.6_2 ...? are those packages would fail? Usually you can do something like this: portupgrade -o databases/mysql51-client -f mysql-client-5.0.67 which will replace mysql client 5.0.67 with 5.1.26 or whatever the patch levels have got to, while preserving the records of what depends on mysql-client. However, in this specific case, that will cause everything to pretty much= =20 entirely stop working as there is an issue to do with changing the ABI=20 version number of the MySQL shlib. In this case you would also have to go on and do: portupgrade -fr mysql-client-5.1.26 -x mysql-client-5.1.26 to relink all of those applications. Remember too, if you have=20 WITH_MYSQL_VER=3D50 defined in /etc/make.conf then do change it. You can achieve the same effect with other ports management applications like portmaster but I'll leave working out the precise command lines as a= n=20 exercise for the student. 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 --------------enig2DB580BDDDD52E2031BB7CDC 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.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkjVb6cACgkQ8Mjk52CukIzfUgCfZZBn2oYXpcD3DrpBoeKE2w+f liMAn0hLR3tF+ZCSywieVJ6oDJj3ICTF =bmsk -----END PGP SIGNATURE----- --------------enig2DB580BDDDD52E2031BB7CDC--