Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Apr 2020 11:16:12 +0200
From:      Axel Rau <Axel.Rau@Chaos1.DE>
To:        FreeBSD <freebsd-ports@freebsd.org>
Subject:   Re: NEED HELP: Poudriere error: Refuses to install postgresql11-server
Message-ID:  <E8E5D045-8D66-4185-BE73-D58EC7913B42@Chaos1.DE>
In-Reply-To: <03F16262-2FC6-412B-90C1-2299647B2CA6@Chaos1.DE>
References:  <03F16262-2FC6-412B-90C1-2299647B2CA6@Chaos1.DE>

next in thread | previous in thread | raw e-mail | index | archive | help


--Apple-Mail=_258944CE-DE28-4E53-8291-3F9083D6C887
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Update:

It seems that I have a problem with pkg update -f
There are other packages which depend on postgresqlxx-client.
Even if I build them against postgresql11-client and poudriere committs =
them to the repo,
pkg tries to install the wrong packages:

root@db3:~ # pkg update -f
Updating lrau-repo repository catalogue...
lrau-repo repository is up to date.
All repositories are up to date.
root@db3:~ # pkg install rsyslog8l
Updating lrau-repo repository catalogue...
lrau-repo repository is up to date.
All repositories are up to date.
The following 2 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
	postgresql12-client: 12.2
	rsyslog8l: 8.1908.0

Axel

> Am 04.04.2020 um 11:03 schrieb Axel Rau <Axel.Rau@chaos1.de>:
>=20
> While preparing upgrading postgresql11 to 12, I changed
> the poudriere make.conf from
> 	DEFAULT_VERSIONS=3D pgsql=3D11
> to
> 	DEFAULT_VERSIONS=3D pgsql=3D12
> and installed the postgresql12 packages in a different root.
>=20
> Now while testing migration of data with pg_upgrade, I got
> 	ld-elf.so.1: Shared object "libicuuc.so.66" not found, required =
by "postgres"
>=20
> pg_upgrade requires the none-postgresql libraries on the default path =
and
> devel/icu has been moved from 65 to 66 meanwhile.
>=20
> I switched poudrieres make.conf back to pgsql=3D11 and did a bulk =
build:
> =E2=80=94
> [00:00:48] Committing packages to repository: =
/hpool/poudriere/data/packages/121amd64-default/.real_1585987682 via =
.latest symlink
> [00:00:48] Removing old packages
> [00:00:48] Built ports: databases/postgresql11-client databases/ip4r =
devel/icu databases/postgresql11-contrib databases/postgresql11-server
>=20
> pkg now refuses to upgrade these packages on the server:
>=20
> solver: cannot find provide for requirement libicui18n.so.65 when =
processing package: postgresql11-server
> solver: cannot find provide for requirement libLLVM-9.so when =
processing package: postgresql11-server
> solver: cannot find provide for requirement libicuuc.so.65 when =
processing package: postgresql11-server
>=20
> No problems to install the pkgs on a test host.
>=20
> I now deleted the packages on the server and tried to re-install them, =
but pkg refuses it:
>=20
> root@db3:~ # pkg update -f
> Updating lrau-repo repository catalogue...
> lrau-repo repository is up to date.
> All repositories are up to date.
> root@db3:~ # pkg install postgresql11-server
> Updating lrau-repo repository catalogue...
> lrau-repo repository is up to date.
> All repositories are up to date.
> The following 3 package(s) will be affected (of 0 checked):
>=20
> New packages to be INSTALLED:
> 	icu: 66.1,1
> 	postgresql11-client: 11.7
> 	postgresql11-server: 11.7_1
>=20
> Number of packages to be installed: 3
>=20
> The process will require 69 MiB more space.
> 16 MiB to be downloaded.
>=20
> Proceed with this action? [y/N]: y
>=20
> How to fix this?
>=20
> help urgently needed as DBs on db3 are down!
>=20
> Axel
> ---
> PGP-Key: CDE74120  =E2=98=80  computing @ chaos claudius
>=20

---
PGP-Key: CDE74120  =E2=98=80  computing @ chaos claudius


--Apple-Mail=_258944CE-DE28-4E53-8291-3F9083D6C887
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.2
Comment: GPGTools - http://gpgtools.org

iQIzBAEBCAAdFiEEl5evOTfnjZdhkBzKaPxTRM3nQSAFAl6IUFwACgkQaPxTRM3n
QSDiGg//WX/R6OJdGTkxXrzKqCJgNZYUiAsnJ7ID9ryFcAbfcgypdVQ5QqQNaHtl
VNb1T2bfamaSfMz0qEVPfmyWMabVIiGPuqj3gUOb//JpsYV/tNDZMJprY4ppsCyD
2wX3GGUW9IhiPtu/8QW+rDprWUL21lKT1UlLDyVXcLsL36A1v+E/xYHUyd+y313d
P1q7005UE4dDhTh6LtxBjB6bEWtzP3gte48k/uaAIIQtecxJptH/z/0goW+rI18X
uS4ag4Z+aY16pA3B/ebCePsnd91qRahucEd+CbsnirpdTwRVH+QSBP800bt8F9l6
EFan/NOQloCNQrW2umQ5MxOCUFB6r8zt7MXZDQMv4QEuQB3qH/qdeO8K/5AnqaP5
wpP3ZMI2ElDFeE+1R9QjgcMzu9qGhCNiVduYG8VLNDybRHG8KTn77EH04OqlgrAJ
D9BAUuOcu4+Z5DiJWdlyG94htk6wWttMHhf0M66oC/+EaW+/pv9B4GNs5kq+41Bl
XC3T7Yev9Z0Od810noK3Zj5qmzheV+7wIiuqYnL5GjZHUs81iyACMF3Tm2OYqFSg
KNob+XUFuTnrrTAMzMMrSBeQcwHtSR6o/u0ao9TBOp+M/IqdtVBScIcBNz+zFAMz
XR0mibXtc/R5BROk0j01HAOc/5BLk7cu43wO1K+PFebAXBJ/TG8=
=HvOD
-----END PGP SIGNATURE-----

--Apple-Mail=_258944CE-DE28-4E53-8291-3F9083D6C887--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E8E5D045-8D66-4185-BE73-D58EC7913B42>