Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 May 2021 00:25:49 +0200
From:      "Julian H. Stacey" <jhs@berklix.com>
To:        =?UTF-8?B?VMSzbA==?= Coosemans <tijl@freebsd.org>
Cc:        freebsd-ports@freebsd.org, Gary Jennejohn <gljennjohn@gmail.com>
Subject:   Re: /usr/ports/print/ghostscript9-agpl-base gs_ll3.ps: Error: /undefinedresource (fwd)
Message-ID:  <202105042225.144MPnc9067053@fire.js.berklix.net>
In-Reply-To: Your message "Tue, 04 May 2021 22:47:13 %2B0200." <20210504224713.163bbe6a@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi, Reference:
> From:		=?UTF-8?B?VMSzbA==?= Coosemans <tijl@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@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@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.



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