/usr/ports/print/ghostscript9-agpl-base gs_ll3.ps: Error: /undefinedresource (fwd)

Julian H. Stacey jhs at berklix.com
Tue May 4 22:26:18 UTC 2021


Hi, Reference:
> From:		=?UTF-8?B?VMSzbA==?= Coosemans <tijl at freebsd.org>
> Date:		Tue, 4 May 2021 22:47:13 +0200

=?UTF-8?B?VMSzbA==?= Coosemans wrote:
> On Tue, 04 May 2021 22:01:46 +0200 "Julian H. Stacey" <jhs at berklix.com>
> wrote:
> >> Delete all those .pkgsave files.  These are backups created by pkg when
> >> it has to install a file over an existing file.  It means a previous
> >> version of ghostscript wasn't deleted properly.  
> > 
> > Thanks Coosemans, I ran my compare+delete
> > http://berklix.com/~jhs/src/bsd/jhs/bin/public/cmpd/cmpd.c
> > cmpd -d -v \
> >  /usr/local/share/ghostscript/fonts/Fontmap.pkgsave \
> >  /usr/local/share/ghostscript/fonts/Fontmap
> > cmpd -d -v \
> >  /usr/local/share/ghostscript/9.52/Resource/Init/Fontmap.pkgsave \
> >  /usr/local/share/ghostscript/9.52/Resource/Init/Fontmap
> > cmpd -d -v \
> >  /usr/local/share/ghostscript/9.52/Resource/Init/Fontmap.GS.pkgsave \
> >  /usr/local/share/ghostscript/9.52/Resource/Init/Fontmap.GS
> > All identical & deleted.
> > 
> > & rebooted but no better, gs still fails.
> 
> In your original message there were more than these 3.  Did you delete
> all of them?  Try "find /usr/local/share/ghostscript -name '*.pkgsave'".

Oops tons of them, so I did this:
cd /usr/local 
find . -name \*\.pkgsave\* | wc -l	# 321798
find . -name \*\.pkgsave\* | xargs rm	# A few with spaces in names
find . -name \*\.pkgsave\* -exec rm {} \;
find . -name \*\.pkgsave\* -print
reboot

Fixed it ! gs works now, brings up a panel inside X11 :-)
Thanks Coosemans <tijl at freebsd.org> !!

I've also purged all pkgsave on all other bootable partitions on
this host & another.

There's no cron driven warning of pollution available from /usr/src
/usr/ports/ports-mgmt/pkg/
	work/pkg-1.16.3/NEWS
	work/pkg-1.16.3/libpkg/pkg_add.c
	work/pkg-1.16.3/tests/frontend/configmerge.sh
	work/pkg-1.16.3/tests/frontend/conflicts.sh
pkg-check would seem a plausible name to include a find of .pkgsave ?

Cheers,
-- 
Julian Stacey  http://berklix.com/jhs/  http://stolenvotes.uk
UK for Brexit stole 750K votes from Brits in EU of 3.7M globaly. Zap BoJo Mogg.


More information about the freebsd-ports mailing list