Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 May 2014 08:21:13 +0100
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: pkg upgrade not working properly [was: pkgng messed up]
Message-ID:  <537C53E9.50905@FreeBSD.org>
In-Reply-To: <537C4D66.6010306@shopzeus.com>
References:  <5374C16E.6000000@shopzeus.com> <44k39n2kg1.fsf@lowell-desk.lan> <5375B772.2050700@shopzeus.com> <537C4D66.6010306@shopzeus.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--7BU2OS8e02Pfdq99nx4DT5iTPcPLTQ3pK
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 21/05/2014 07:53, Nagy L=E1szl=F3 Zsolt wrote:
> Running "pkg upgrade -y "  on  9.2-RELEASE gives lots of warning
> messages, but does not try to upgrade anything. If I understand
> correctly, warnings are just warnings. They should not prevent the
> upgrade. But then why it is not doing anything?

It's doing all the planning stage of the upgrade, and then the package
fetching part -- at which point it has access to the details of all the
files that would be affected, and it can detect the conflicts between
the perl and postgresql packages you have installed and the default
versions the packages on pkg.freebsd.org are compiled against.

At this point it decides operator intervention is required, and gives
up.  pkg-1.3 has now grown the ability to deinstall a conflicting
package in order to replace it with a different version, so it should be
able to proceed in more cases, but given you've installed
postgresql93-client I'm pretty sure you'ld be disappointed if that was
automatically downgraded to postgresql90.

Essentially, if you want other than the default versions of perl,
postgresql etc. then you're going to have to compile any packages in
those dependency trees yourself.  <Obligatory mention of poudriere goes
here.>

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey



--7BU2OS8e02Pfdq99nx4DT5iTPcPLTQ3pK
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.20 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQJ8BAEBCgBmBQJTfFPxXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC
QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkAT4ecP/jw4UTcCdWFbP1CzNTnrwvbA
TkpVe/WHDfT65HNyOvGucd9toesi/uJXphuFSc+kK+3nI/fRH2aA+XV9kWw1aFkq
/S8XsKi8OP7wEmFhgA/68WepoVEgcz4YlhTKm1NoWEvxZXKQt4A6VH0PlVfBgsVp
XVXg3T8g3rUE5sLEkb5gFG7RCcNsQzttxre4/AvIqz8SWAGq6IEfqW1TgbfBvuZs
wc0wSJSWQvVOcCFU9nxyB9mnH6PxUf+M4cnMYLRzR9KjAfVQwvvk+iXk5Moc0eL+
KArGCOrd8vpfvmHq0Hqvp5sqnubO/5ML623z9UiiQS1VtLlnodWx8zv6vFg+Uaeb
aHRWv+M8NvE5VRQWwXwGXKJxIq5c901ImBCFeGcWPbSrz/sVH0qoeifFKy5kVl7L
nbqLe8xVc73fx+ESM8YpYhv48W5ndtW/bNSMCP40HTpUjHLwfroZKHRRr0keTGqZ
a0bquwNUD3VlE/1diRJdAw7woPi/BpXQNLN1B/aiNkttirQYcZvQaoqivs2U7Zah
ibHnFCB8TPtLSmsZB1XxdK1uMqd58kiU3OKltiBSoIdrcCieKZ1BmkHBBNs6qkrM
H1v8tgztDYGnY4XdIM2+ryoCZnjDFb+H9X9z66kuL8gjk4C3/PCyXOcyOp3Et+8e
uBe61lyKqwlP5Si58cJc
=S2Sy
-----END PGP SIGNATURE-----

--7BU2OS8e02Pfdq99nx4DT5iTPcPLTQ3pK--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?537C53E9.50905>