Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Aug 2006 14:35:45 -0700
From:      Micah <micahjon@ywave.com>
To:        Garrett Cooper <youshi10@u.washington.edu>
Cc:        xj2106@columbia.edu, freebsd-questions@freebsd.org
Subject:   Re: Upgrade ghostscript?  How?
Message-ID:  <44F604B1.8010409@ywave.com>
In-Reply-To: <5963FD62-DB7C-4109-BE87-54780FB7D0EF@u.washington.edu>
References:  <87y7t6kly7.fsf@photon.homelinux.org> <5963FD62-DB7C-4109-BE87-54780FB7D0EF@u.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Garrett Cooper wrote:
> On Aug 30, 2006, at 1:28 PM, Xiao-Yong Jin wrote:
> 
>> Hi, I wanna upgrade ghostscript to ghostscript-gpl-8.15 from
>> ghostscript-gnu-7.07.  I've installed the gpl version via port.  But
>> when I tried to pkg_delete the gnu version, it said
>>
>> pkg_delete: package 'ghostscript-gnu-7.07_15' is required by these 
>> other packages
>> and may not be deinstalled:
>> ImageMagick-6.2.8.5
>> auctex-11.83
>> cm-super-0.3.3
>> dvipdfmx-20050831_2
>> dvipsk-tetex-5.95a_1
>> freetype-tools-1.3.1_3
>> ghostscript-gnu-commfont-7.07_3
>> gv-3.6.1
>> hplip-0.9.11
>> html2ps-letter-1.0.b4_1,1
>> teTeX-3.0_1
>> teTeX-base-3.0_9
>> transfig-3.2.4_1
>> xdvik-tetex-22.84.10
>> zh-CJK-4.6.0_1
>> zh-moefonts-cid-1.0_3
>>
>> I'll probably also delete ghostscript-gnu-commfont-7.07_3 and
>> zh-moefonts-cid-1.0_3.  But is there anything more I should consider
>> harmful to my system when I switch ghostscript gnu to gpl?  Or simply
>> pkg_delete by --force is enough?
>>
>> Thank you,
>> Xiao-Yong
> 
> Try pkg_delete -f {name of all ghostscript files here}. Then install the 
> newest port version and be sure to run pkgdb -F afterwards so you can 
> fix the package database, such that it references the right ghostscript.
> -Garrett

Additionally I had to set GHOSTSCRIPT_PORT=print/ghostscript-gpl 
/etc/make.conf in order to get newly installed/upgraded ports to depend 
on gs-gpl instead of gs-gnu. I was never able to get gs-afpl to work 
properly.

HTH,
Micah



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44F604B1.8010409>