My system complains that postgresql-contrib succeeds index as follows:
I find it strange that portversion -v reports databases/postgresql-8.4.3_2 while pkg_version -voIL= reports databases/postgresql82-contrib. I took over this system from a previous sysadmin so I'm guessing at one point databases/postgresql-contrib was installed as a package.
I saw in another thread on this forum that someone ran make index in /usr/ports and succeeded in resolving the conflict. I tried that and it didn't succeed.
Looking at contents of /usr/ports:
I see that I have several indexes. This system started out using FBSD 5.x and over time it was upgraded to version 6.x and is now at 7.3 p1 which, I assume, would account for these indexes.
How can I best fix this? As a side note, do I really need all of these indexes? What is the minimum I need to maintain ports? I regularly use portmaster but on occasion I have used portupgrade and portmanager to upgrade ports. I do not use packages. The handbook does not appear to provide me the answers I am seeking.
~Doug
Code:
orion-root@~: pkg_version -voIL=
databases/postgresql82-contrib > succeeds index (index has 8.2.17_1)
orion-root@~: portversion -v | g "<"
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 191 packages found (-5 +5)
(...)..... done]
[Updating the portsdb <format:bdb_btree> in /usr/ports ... - 21935 port entries found
.........1000.........2000.........3000.........4000.........5000.........6000.........
7000.........8000.........9000.........10000.........11000.........12000.........13000.
........14000.........15000.........16000.........17000.........18000.........19000....
.....20000.........21000......... ..... done]
orion-root@~: portversion -v | g ">"
postgresql-contrib-8.4.3_2 > succeeds port (port has 8.2.17_1)
orion-root@~:
I find it strange that portversion -v reports databases/postgresql-8.4.3_2 while pkg_version -voIL= reports databases/postgresql82-contrib. I took over this system from a previous sysadmin so I'm guessing at one point databases/postgresql-contrib was installed as a package.
I saw in another thread on this forum that someone ran make index in /usr/ports and succeeded in resolving the conflict. I tried that and it didn't succeed.
Looking at contents of /usr/ports:
Code:
orion-root@~: ll /usr/ports
total 110606
-rw-r--r-- 1 root wheel 19 Jul 14 1997 .cvsignore
-rw-r--r-- 1 root wheel 1878245 Jun 29 15:20 .portsnap.INDEX
-rw-r--r-- 1 root wheel 56860 Jun 6 10:17 CHANGES
-rw-r--r-- 1 root wheel 1498 Dec 31 08:47 COPYRIGHT
-rw-r--r-- 1 root wheel 2396 Jun 28 00:10 GIDs
-rw-r--r-- 1 root wheel 10441465 Nov 24 2008 INDEX
-rw-r--r-- 1 root wheel 17370624 Jun 29 15:20 INDEX-5
-rw-r--r-- 1 root wheel 21985723 Jun 29 15:20 INDEX-6
-rw-r--r-- 1 root wheel 21870880 Jun 29 15:21 INDEX-7
-rw-r--r-- 1 root wheel 38115328 Jun 29 17:52 INDEX-7.db
-rw-r--r-- 1 root wheel 4631 Feb 7 03:51 KNOBS
-rw-r--r-- 1 root wheel 34225 Jun 8 00:18 LEGAL
-rw-r--r-- 1 root wheel 334852 Jun 27 06:06 MOVED
-rw-r--r-- 1 root wheel 6018 Dec 18 2009 Makefile
drwxr-xr-x 2 root wheel 1536 Jun 23 13:50 Mk
-rw-r--r-- 1 root wheel 1298 May 22 2006 README
drwxr-xr-x 2 root wheel 512 May 24 2007 Templates
drwxr-xr-x 4 root wheel 512 Jun 29 15:20 Tools
-rw-r--r-- 1 root wheel 12087 Jun 28 00:10 UIDs
-rw-r--r-- 1 root wheel 336477 Jun 26 01:33 UPDATING
drwxr-xr-x 31 root wheel 1024 Jun 2 10:39 accessibility
<..snip..>
drwxr-xr-x 145 root wheel 3072 Jun 29 15:20 x11-wm
orion-root@~:
I see that I have several indexes. This system started out using FBSD 5.x and over time it was upgraded to version 6.x and is now at 7.3 p1 which, I assume, would account for these indexes.
How can I best fix this? As a side note, do I really need all of these indexes? What is the minimum I need to maintain ports? I regularly use portmaster but on occasion I have used portupgrade and portmanager to upgrade ports. I do not use packages. The handbook does not appear to provide me the answers I am seeking.
~Doug