pkg upgrade wants to install old postgresql-client-version. why?

Holger Kipp Holger.Kipp at alogis.com
Fri Jan 13 14:24:56 UTC 2017


Dear all,

I have a little FreeBSD system upgraded from 10.2-p24 to 10.3-p11. GENERIC Kernel.
This also included upgrading postgresql from 9.5.4 to 9.5.5_1. and about 220 other ports.
Most were upgraded using pkg upgrade, but postgresql had to be upgraded using the manual
make, make package, make deinstall && make reinstall.

root at gw2:~ # pkg info | grep postgresql
postgresql95-client-9.5.5_1    PostgreSQL database (client)
postgresql95-contrib-9.5.5     The contrib utilities from the PostgreSQL distribution
postgresql95-server-9.5.5_1    PostgreSQL is the most advanced open-source database available anywhere
root at gw2:~ #

All Ports were originally installed from source but with default config.

--------

Now pkg upgrade wants to install postgresql-client 9.3.15_1:

root at gw2:~ # pkg upgrade
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.
Checking for upgrades (28 candidates): 100%
Processing candidates (28 candidates): 100%
The following 3 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        postgresql93-client: 9.3.15_1

Installed packages to be REINSTALLED:
        p5-Pg-2.1.1_4,1 (direct dependency changed: perl5)
        p5-DBD-Pg-3.5.3 (direct dependency changed: p5-DBI)

Number of packages to be installed: 1
Number of packages to be reinstalled: 2

The process will require 9 MiB more space.
2 MiB to be downloaded.

Proceed with this action? [y/N]:

--------
My programs using p5-Pg or p5-DBD-Pg seem to work just fine, and perl5 has current version perl5-5.24.1.r4_1.
However I had to reinstall both packages manually because they were not properly working after upgrade via pkg upgrade.

How can I check where from pkg upgrade gets the idea to install old 9.3.15_1 postgresql client?
And is there a way to rectify this?

Many thanks and best regards,
Holger



__________________________________________________________

Holger Kipp
Diplom-Mathematiker
Senior Consultant

Tel. : +49 30 436 58 114
Fax. : +49 30 436 58 214
Mobil: +49 178 36 58 114
Email: holger.kipp at alogis.com

alogis AG
Alt-Moabit 90b
D-10559 Berlin

http://www.alogis.com
__________________________________________________________

alogis AG
Sitz/Registergericht: Berlin/AG Charlottenburg, HRB 71484
Vorstand: Arne Friedrichs, Joern Samuelson
Aufsichtsratsvorsitzender: Reinhard Mielke



More information about the freebsd-stable mailing list