Re: How to do with the offensive ghc-text?

Kow KURODA <[email protected]> Fri, 6 Mar 2020 12:27:17 +0900
Newsgroups gmane.os.apple.fink.devel
Message-ID <[email protected]>
Hi Hanspeter,

Thanks for your help. I appreciate it.

My gcc7 issue was solved.

> Regarding ghc-text:
> 
> Its PostInstScript (/sw/var/lib/dpkg/info/ghc-text.postinst) runs the script "/sw/share/doc/ghc-text/register.sh".
> And its PreRmScript (/sw/var/lib/dpkg/info/ghc-text.prerm) runs the script "/sw/share/doc/ghc-text/unregister.sh --force"
> 
> But you're getting the error that 'register.sh' and 'unregister.sh' do not exist.
> 
> Are register.sh and unregister.sh present in the output of this command (one line)?
> 
> dpkg-deb -c /sw/var/cache/apt/archives/ghc-text_1.2.1.3-2_darwin-x86_64.deb

This returned the following:

> $ dpkg-deb -c /sw/var/cache/apt/archives/ghc-text_1.2.1.3-2_darwin-x86_64.deb
> /sw/bin/dpkg-deb: failed to read archive `/sw/var/cache/apt/archives/ghc-text_1.2.1.3-2_darwin-x86_64.deb': No such file or directory

I am not sure why I get this, but I remember I had tried to remove ghc-text
and failed, at least apparently.
> 
> In my case, I see both scripts contained within the deb at the very end of the output.
> Also, what is the output from 'dpkg -s ghc-text | grep Status:' ?

This returned the following:

> 
> $ dpkg -s ghc-text | grep Status:
> Status: deinstall reinstreq half-configured


Thanks in advance.

Kow

_______________________________________________
Fink-devel mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel