delorie.com/archives/browse.cgi | search |
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:date:from:to:cc:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; q=dns; s= | |
default; b=O5X4ByHF9/DAkHonhAfpcoJ1O+sHeXyyXb4xi/TGZAIgqwe5skhjz | |
ZOoQ1ddTB7eYjGalLrwgBb+D9vUx4jR2XK2nQfSroLrj2wC4BZVWv/fnRylr4xBb | |
Q6gFPMWt9rA0l29hWM5dBAe4cFgJPPcfyOatR0+l8jLTqveK3mxcsw= | |
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:date:from:to:cc:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; s=default; | |
bh=ZayQnugVUYexLmqajIPIB7k/xZc=; b=ER6nVMTg2PgUPlwAmYWvqNhcy+zB | |
QCYcACb89pJQ6p6m88Z1VFZQDXZQLcvyenG2/Yv+7mcS9kZrMlBGC7SE0NC0AWga | |
ZQ6kdOHdn3jVt8Bxf1uLI1a0GsCXf1zdVgrMppj5CogVciH7OCK0w8IDUfkqT1HG | |
cE8UFkCO89ajLlY= | |
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=-101.9 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=Looking, H*Ad:D*ab.ca, Home, H*c:application |
X-HELO: | drew.franken.de |
Date: | Wed, 5 Jul 2017 16:27:23 +0200 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Cc: | Brian Inglis <Brian DOT Inglis AT SystematicSW DOT ab DOT ca> |
Subject: | Re: setup complains about cygwin-doc package update |
Message-ID: | <20170705142723.GH30902@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com, Brian Inglis <Brian DOT Inglis AT SystematicSW DOT ab DOT ca> |
References: | <BN6PR2001MB10741D95D8FAAD06783E1C63F1D40 AT BN6PR2001MB1074 DOT namprd20 DOT prod DOT outlook DOT com> |
MIME-Version: | 1.0 |
In-Reply-To: | <BN6PR2001MB10741D95D8FAAD06783E1C63F1D40@BN6PR2001MB1074.namprd20.prod.outlook.com> |
User-Agent: | Mutt/1.8.0 (2017-02-23) |
--IuhbYIxU28t+Kd57 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Jul 5 13:32, Nellis, Kenneth wrote: > Curious about an error that setup.exe reported today related to upgrading= =20 > package cygwin-doc to 2.8.1-1, saying: >=20 > Postinstall script errors > These do not necessarily mean that affected packages will fail to functi= on > properly, but please check /var/log/setup.log.full and report any proble= ms. >=20 > Package: _/cygwin-doc > cygwin-doc.sh exit code 2 >=20 > A subsequent setup.exe run with nothing pending gave a different message: >=20 > Package: _/Unknown package > cygwin-doc.sh exit code 2 >=20 > Looking in setup.log.full I see: >=20 > 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/Star= t Menu/Programs/Cygwin' > 2017/07/05 09:13:34 abnormal exit: exit code=3D2 >=20 > Indeed, there is no Cygwin directory in existing directory=20 > '/proc/cygdrive/c/ProgramData/Microsoft/Windows/Start Menu/Programs'. >=20 > Looking at cygwin-doc.sh, it seems that the script is trying to put some = things in that directory. >=20 > So, I manually created the directory and reran setup. This time no errors= reported,=20 > and the newly created directory contains the following files: >=20 > $ 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).l= nk' > -rwxr-xr-x+ 1 knellis Domain Users 1050 Jul 5 09:30 'User Guide (PDF).ln= k' > $ >=20 > 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 creat= e it > rather than simply bail out and complain if it doesn't exist. In theory, the script should only create the files if the directory exists. Brian? Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --IuhbYIxU28t+Kd57 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJZXPdKAAoJEPU2Bp2uRE+gDCoP/1QQICEBVu0o9jNFU1WdUclB cfdp7NYWZ61X/uFkqtPs99dfvfcLm1oYhP9FbyRjXaSE7bletgOkGAcokSn30iM2 vELpbgnewnSssKwjV1KSrSgmcuQ8GyO76lAfUU6GJYB4rSy3c/jern/qUCilUjvq tbWgzrgse3ElQ7/m6Oyu+dtcUJu/e3mu+5f3Ggy2KDOjZZ4QdnFFMUmUQGQitZ2t 1Tnb73umEzdlEGkupjmZroM+GTxDSN8AHEuZa7TschxhZQtaVhV0S5DAoV9J4+f6 QzTDR9xdu/oAwChTsXGmUEAJnc+HnNrjaGLmt9YAJGFdnbQ/7o8otaCz3VoYZAfx DpHcXpRi2sKBzsJ0GmYKVlvWKzsAHBhkd4FXkTwb95amY+OmC7JtRERJEwDfOglS HCgxA/bzIWaav2mDJqLyxHH03pfOhsGVrZhTE/Ivo9MLq2Zx9TZc1W/S8s5MUMpS zjPWVMOOjkTvmRyqOUgFbVreq7ZNVSkLABNSHZl9c16AV3c0twoIGEvqozeDmruc sTWjX8BfKnYQr6mvv1BEK+B2XbswysFlUE8KnRtFloYtnoUvdaLnEKRDS5hSujta zeiOGyinBBNpLIh9ZBWOUE+sRUxzlxt0akUBJG6ZfTsvKXz63W5W7MtkjRSz1+Ma 9NRwXw5KE8RF7Q+PDERW =tBbz -----END PGP SIGNATURE----- --IuhbYIxU28t+Kd57--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |