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

Hanspeter Niederstrasser <[email protected]> Thu, 5 Mar 2020 21:39:21 -0600
Newsgroups gmane.os.apple.fink.devel
Organization Snaggled Works
Message-ID <[email protected]>
On 3/5/20 9:27 PM, Kow KURODA wrote:
> 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

Do `ls -l /sw/var/cache/apt/archives/ghc-text* /sw/fink/debs/ghc-text*`

If you do get an existing deb out of eithr of those 2 locations, then 
run the 'dpkg-deb -c' command on it to look for 'register.sh' and 
'unregister.sh'

If you don't get any existing deb, then we'll need to figure out a way 
to satisfy the PreRmScript handler.

Hanspeter


_______________________________________________
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