ghostscript8 vs. ghostscrip9 conflict during portupgrade

Ewald Jenisch a at
Fri Aug 5 11:29:00 UTC 2011


Today I ran into an interesing problem while trying to run a regular
portupgrade on one of my machines (8.2, AMD64): 

Seems like some ports depend on ghostscript8 whereas other depend on
ghostscript9. Unfortunately both ghostscript variants can't coexist on
the same system. To be specific:

I've got ghostscript8 installed (ghostscript8-8.71_8) which is
required by a bunch of ports as per "pkg_info -Rx ghostscript8". When
running "pkgdb -F" it wants to install ghostscript9 since ImageMagick
depens on ghostscript9:

 # pkgdb -F
--->  Checking the package registry database
Stale dependency: ImageMagick- -> ghostscript9-9.02_4 (print/ghostscript9):
ghostscript8-8.71_8 (score:64%) ? ([y]es/[n]o/[a]ll) [no]

# make search name=ImageMagick
Port:   ImageMagick-
Path:   /usr/ports/graphics/ImageMagick
B-deps: ... ghostscript9-9.02_4

So how do I go about it - how do I resolve these dependencies?

Thanks much in advance for any clue,

More information about the freebsd-ports mailing list