pkg management

James B. Byrne byrnejb at harte-lyne.ca
Thu Jan 12 23:07:17 UTC 2017


In December past I installed these packages using pkg:

        postgresql96-server-9.6.1_1
        postgresql96-client-9.6.1
        postgresql96-contrib-9.6.1
        postgresql96-docs-9.6.1_1

When I ran pkg upgrade today I saw this:

pkg update
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.
[root at inet13 /usr/ports/databases]# pkg upgrade
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.
Checking for upgrades (53 candidates): 100%
Processing candidates (53 candidates): 100%
Checking integrity... done (2 conflicting)
  - postgresql93-client-9.3.15_1 conflicts with
postgresql96-client-9.6.1 on /usr/local/bin/clusterdb
  - postgresql93-client-9.3.15_1 conflicts with
postgresql96-client-9.6.1 on /usr/local/bin/clusterdb
Checking integrity... done (0 conflicting)
The following 6 package(s) will be affected (of 0 checked):

Installed packages to be REMOVED:
        postgresql96-server-9.6.1_1
        postgresql96-client-9.6.1
        postgresql96-contrib-9.6.1
        postgresql96-docs-9.6.1_1

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

Installed packages to be REINSTALLED:
        p5-DBD-Pg-3.5.3 (direct dependency changed: postgresql93-client)

Number of packages to be removed: 4
Number of packages to be installed: 1
Number of packages to be reinstalled: 1

The operation will free 37 MiB.

Proceed with this action? [y/N]: n

Why is pkg trying to remove the version I have installed and replace
it with an older one?  Is there some switch I am to set somewhere to
tell pkg not to do this?


-- 
***          e-Mail is NOT a SECURE channel          ***
        Do NOT transmit sensitive data via e-Mail
 Do NOT open attachments nor follow links sent by e-Mail

James B. Byrne                mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3



More information about the freebsd-questions mailing list