Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jan 2017 14:24:52 +0000
From:      Holger Kipp <Holger.Kipp@alogis.com>
To:        "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org>
Subject:   pkg upgrade wants to install old postgresql-client-version. why?
Message-ID:  <877F58D1-9D84-48D7-BC74-BC20170E901A@alogis.com>

next in thread | raw e-mail | index | archive | help
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 22=
0 other ports.
Most were upgraded using pkg upgrade, but postgresql had to be upgraded usi=
ng the manual
make, make package, make deinstall && make reinstall.

root@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 di=
stribution
postgresql95-server-9.5.5_1    PostgreSQL is the most advanced open-source =
database available anywhere
root@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@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 pro=
perly 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@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?877F58D1-9D84-48D7-BC74-BC20170E901A>