delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/07/05/09:32:59

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:date:message-id:content-type
:content-transfer-encoding:mime-version; q=dns; s=default; b=rC1
E+gqK6lqsqjv6OGzjrDIe3HBFSRuW1GcYgYKA7v5BtANjwN5OUNJU1ZEfKzQH13q
b/n++/zqUlzqrOEbw2kw+21rj/NYRoG73EGLCA/v/cQ2Ovo0bO61bmAIAn01XIGy
LB8MTmvtVYkfJZieLVSdFsAGprE6MCQblf+e6rYk=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:date:message-id:content-type
:content-transfer-encoding:mime-version; s=default; bh=bn5Y6yEWp
lGBw7kFqsSOtAJisfk=; b=w/B0tPdXXfqD+vNG1VKj8K7rW06yNdgPbgMkgNGfC
FvYeG2ZggGFxSUV0IjCVEUYKJ7wSIXGurYQ29mVHH7kywvAVA+FoLHooSoai+bMG
pC/oy7PT8cqoEKRbQ2rtyA0mvlQnPiMISXIwCD0+IfX34PrPlk6Cv8Dep5+7HpPv
zM=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_PASS autolearn=ham version=3.3.2 spammy=Domain, UD:bash.exe, bash.exe, bashexe
X-HELO: USA7109MR010.ACS-INC.COM
From: "Nellis, Kenneth" <Kenneth DOT Nellis AT conduent DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: setup complains about cygwin-doc package update
Date: Wed, 5 Jul 2017 13:32:40 +0000
Message-ID: <BN6PR2001MB10741D95D8FAAD06783E1C63F1D40@BN6PR2001MB1074.namprd20.prod.outlook.com>
authentication-results: cygwin.com; dkim=none (message not signed) header.d=none;cygwin.com; dmarc=none action=none header.from=conduent.com;
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1;BN6PR2001MB1073;20:Qvj9DTyn4ZZJ+wB5/NsAt/ZguGvj4TmF5KUN8ZBt2fU2HoxjrketDSOBJ3uFY5FMtuPxlqjhBH344IyaSoRvjcslobNZsKLO0a+A0mFa5eLnLFlIXtirEkpXlmMK3E6u+bW0YudsL5ArImlTx/UAcpHN9h/6zFumlhotRLeN09uwtbOS/JnhDr5/fd0t9sCNCiPKM9BtlcUap8y3LjCG3hVapO9tTLOQvvH/194nUFXn71JrAl9Ppa48w7IsqbRf
x-ms-office365-filtering-correlation-id: 344d7096-d9f4-49f6-d1f5-08d4c3aa4f2b
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254075)(300000503095)(300135400095)(2017052603031)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:BN6PR2001MB1073;
x-ms-traffictypediagnostic: BN6PR2001MB1073:
x-microsoft-antispam-prvs: <BN6PR2001MB1073EBF071C8102CBED479FDF1D40 AT BN6PR2001MB1073 DOT namprd20 DOT prod DOT outlook DOT com>
x-exchange-antispam-report-test: UriScan:(26388249023172)(236129657087228)(167848164394848)(225559137633274);
x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(2017060910033)(3002001)(10201501046)(93006095)(93001095)(100000703101)(100105400095)(6041248)(20161123555025)(20161123564025)(20161123562025)(20161123560025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:BN6PR2001MB1073;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:BN6PR2001MB1073;
x-forefront-prvs: 0359162B6D
x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(6009001)(39400400002)(39450400003)(39840400002)(39410400002)(39850400002)(478600001)(66066001)(25786009)(45080400002)(15650500001)(2900100001)(55016002)(102836003)(110136004)(6116002)(38730400002)(6506006)(9686003)(86362001)(5640700003)(3846002)(6436002)(99286003)(8936002)(50986999)(14454004)(72206003)(3280700002)(54356999)(77096006)(8676002)(2906002)(81166006)(3660700001)(33656002)(7736002)(2501003)(74316002)(305945005)(6916009)(5660300001)(189998001)(2351001)(7696004)(53936002)(1730700003)(460985005);DIR:OUT;SFP:1101;SCL:1;SRVR:BN6PR2001MB1073;H:BN6PR2001MB1074.namprd20.prod.outlook.com;FPR:;SPF:None;MLV:sfv;LANG:en;
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Jul 2017 13:32:40.5660 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 1aed4588-b8ce-43a8-a775-989538fd30d8
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR2001MB1073
X-OriginatorOrg: conduent.com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id v65DWvil019984

Curious about an error that setup.exe reported today related to upgrading 
package cygwin-doc to 2.8.1-1, saying:

Postinstall script errors
	These do not necessarily mean that affected packages will fail to function
	properly, but please check /var/log/setup.log.full and report any problems.

Package: _/cygwin-doc
	cygwin-doc.sh exit code 2

A subsequent setup.exe run with nothing pending gave a different message:

Package: _/Unknown package
	cygwin-doc.sh exit code 2

Looking in setup.log.full I see:

2017/07/05 09:13:33 running: C:\cygwin64\bin\bash.exe --norc --noprofile "/etc/postinstall/cygwin-doc.sh"
Can't find directory '/proc/cygdrive/c/ProgramData/Microsoft/Windows/Start Menu/Programs/Cygwin'
2017/07/05 09:13:34 abnormal exit: exit code=2

Indeed, there is no Cygwin directory in existing directory 
'/proc/cygdrive/c/ProgramData/Microsoft/Windows/Start Menu/Programs'.

Looking at cygwin-doc.sh, it seems that the script is trying to put some things in that directory.

So, I manually created the directory and reran setup. This time no errors reported, 
and the newly created directory contains the following files:

$ ls -l
total 24
-rwxr-xr-x+ 1 knellis Domain Users 1233 Jul  5 09:30 'API (HTML).lnk'
-rwxr-xr-x+ 1 knellis Domain Users 1041 Jul  5 09:30 'API (PDF).lnk'
-rwxr-xr-x+ 1 knellis Domain Users 1248 Jul  5 09:30  FAQ.lnk
-rwxr-xr-x+ 1 knellis Domain Users 1224 Jul  5 09:30 'Home Page.lnk'
-rwxr-xr-x+ 1 knellis Domain Users 1242 Jul  5 09:30 'User Guide (HTML).lnk'
-rwxr-xr-x+ 1 knellis Domain Users 1050 Jul  5 09:30 'User Guide (PDF).lnk'
$

So, these are handy links to have, I guess, but is it appropriate for
cygwin-doc.sh to presume that the directory exists? Maybe it should create it
rather than simply bail out and complain if it doesn't exist.

--Ken Nellis

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019