Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Apr 2015 16:50:12 +0100
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: pkg upgrade Solver problem
Message-ID:  <55312BB4.20907@FreeBSD.org>
In-Reply-To: <1650408.W1M3ms8bST@curlew.lan>
References:  <4256565.sTWNKMh4Pq@curlew.lan> <5531223E.8020208@gmx.de> <1650408.W1M3ms8bST@curlew.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55312BB4.20907>