From owner-freebsd-questions@FreeBSD.ORG Fri Apr 17 15:50:33 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7C841429 for ; Fri, 17 Apr 2015 15:50:33 +0000 (UTC) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "ca.infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 1C50D5F0 for ; Fri, 17 Apr 2015 15:50:32 +0000 (UTC) Received: from zero-gravitas.local (no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged)) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.1/8.15.1) with ESMTPSA id t3HFoKEg092007 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Fri, 17 Apr 2015 16:50:21 +0100 (BST) (envelope-from matthew@FreeBSD.org) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org DKIM-Filter: OpenDKIM Filter v2.9.2 smtp.infracaninophile.co.uk t3HFoKEg092007 Authentication-Results: smtp.infracaninophile.co.uk/t3HFoKEg092007; dkim=none reason="no signature"; dkim-adsp=none; dkim-atps=neutral X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged) claimed to be zero-gravitas.local Message-ID: <55312BB4.20907@FreeBSD.org> Date: Fri, 17 Apr 2015 16:50:12 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: pkg upgrade Solver problem References: <4256565.sTWNKMh4Pq@curlew.lan> <5531223E.8020208@gmx.de> <1650408.W1M3ms8bST@curlew.lan> In-Reply-To: <1650408.W1M3ms8bST@curlew.lan> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="nHH7j7jkGqwkshVhpCvSu4uAQ1WTk5L4E" X-Virus-Scanned: clamav-milter 0.98.6 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Apr 2015 15:50:33 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --nHH7j7jkGqwkshVhpCvSu4uAQ1WTk5L4E Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2015/04/17 16:31, Mike Clarke wrote: > The packages were all upgraded with pkg upgrade, nothing was built from= ports=20 > on this run. >=20 > p5-DBD-mysql had been previously built from ports using a version of po= rts=20 > consistent with the packages available at the time. This was the only a= ffected=20 > package which had been built from ports. >=20 > I deleted p5-DBD-mysql before being able to get pkg upgrade to run with= out=20 > errors. When I subsequently reinstalled it I used pkg install to instal= l it=20 > from the FreeBSD package repository. What's happening is this: although the two packages have the same name and version, because one was locally compiled and the other comes from the FreeBSD repository, it looks like they had different dependencies -- probably on different versions of MySQL in this case. In order to force things to progress, try forcing an upgrade of the problem package (which will install the version from the repo, and any dependencies it needs, plus remove anything that conflicts with those changes. In this case the conflicting packages will presumably be those different versions of mysql-client.) pkg upgrade -f qt4-mysql-plugin Pay attention to what pkg(8) says it is going to remove during this process as you may need to reinstall some of the deleted packages. Then try doing a full 'pkg upgrade' This seems to be a problem that is occurring when people switch from locally compiled packages to packages from the repositories. There was a similar case discussed on freebsd-pkg@... earlier today. Cheers, Matthew --nHH7j7jkGqwkshVhpCvSu4uAQ1WTk5L4E 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.22 (Darwin) Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJVMSu7AAoJEABRPxDgqeTnUqkP/idpsrDSJTE9qq0NeXHBezNp w/o3+8ynyHq5BUj3/Zc4M3eVyKYDmy0G5EN39IVaUMubILwO9KHQ0WEpTyeFl2CZ nFNqw/0fYsHgUnJN9W+wVbuYCjLm6AQWHYfRqjmB60LAkdunnfV3M8TDEorW3B2v /y221J0zn3AMjqrdSNlKECr514WBPJ+TOSI2iSd5G6vvhZCOzTY7fyqJdnDTfrEf MfhE8OrBSM5w2XtMSu2LnVum5iYNHrzAdNygmiDk/2zv7k3oLnFRyt2uFBOFYi5Z bmJJ3cpVaCjJZNZHAIRuicTKRgAR5hKudSPUcpxzAWWxxRa6tCtdQT9xl0s0ne5v Et5hIGNAGfDO5Ormu8+1Kw96hOetZNtRMJ9iRnFZsnfQ4E3eYZcV5P4o7beoH60k QqkJL5qPG04TidgzcJ5PMtRyPDk0ta5shaci93aOcphOxfeRwgTKaGsjFBMSmQZc a5CrbmqOcWnts5z8dLfM//h52J4DeTFHUobclZAA8jUKfBPf5nrDkys7Q4nbbTD4 v6xyfzY4HpUeO5MJgkFdeNjsaaaaMJ6avzMy9nJaYdJS9ZwwKuZiSg3ZfFfhpZov krS39veE+dlksxq1FO/XBY6lJ8kHbz/u0ijKuK61PZCZTaZ5fqbZrGPcsHrH7QfP AcqnDLL8tADEYd+Zt6/3 =VZuZ -----END PGP SIGNATURE----- --nHH7j7jkGqwkshVhpCvSu4uAQ1WTk5L4E--