Ken Brown sent the following at Thursday, September 07, 2017 7:05 PM
>On 9/7/2017 6:27 PM, Dave Johnson wrote:
>> got this error on x86 and x86_64 update:
>>
>> Package: _/Unknown package
>>       cygwin-doc.sh exit code 2
>
>That's because of this:
>   https://cygwin.com/ml/cygwin/2017-09/msg00079.html
>
>Just remove /etc/postinstall/cygwin-doc.sh and
>/etc/preremove/cygwin-doc.sh.

Both of those scripts use /usr/share/doc/cygwin-doc and
/usr/share/doc/cygwin-doc/html.

The postinstall script looks for /usr/share/doc/cygwin-doc
and exits with error level 2 when it does not find it.

A search of the 64bit package listing finds no files in
/usr/share/doc/cygwin-doc or /usr/share/doc/cygwin-doc/html.

So either the scripts need to be updated by removing the
cygwin-doc directory, or the scripts need to create the
directories and the packaging of cygwin-doc needs to put
the appropriate files there.

- Barry
  Disclaimer: Statements made herein are not made on behalf of NIAID.

Reply via email to