From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 115388 invoked by alias); 24 Mar 2017 21:09:53 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 115084 invoked by uid 89); 24 Mar 2017 21:09:52 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.3 required=5.0 tests=AWL,BAYES_20,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,FREEMAIL_REPLYTO_END_DIGIT,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS autolearn=no version=3.3.2 spammy=networking, 5.6, converter, prices X-HELO: nm26-vm4.bullet.mail.ne1.yahoo.com Received: from nm26-vm4.bullet.mail.ne1.yahoo.com (HELO nm26-vm4.bullet.mail.ne1.yahoo.com) (98.138.91.186) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 24 Mar 2017 21:09:50 +0000 Received: from [98.138.100.117] by nm26.bullet.mail.ne1.yahoo.com with NNFMP; 24 Mar 2017 21:09:49 -0000 Received: from [98.138.226.163] by tm108.bullet.mail.ne1.yahoo.com with NNFMP; 24 Mar 2017 21:09:47 -0000 Received: from [127.0.0.1] by omp1064.mail.ne1.yahoo.com with NNFMP; 24 Mar 2017 21:09:47 -0000 Received: from jws200139.mail.ne1.yahoo.com by sendmailws136.mail.ne1.yahoo.com; Fri, 24 Mar 2017 21:09:46 +0000; 1490389786.716 Date: Fri, 24 Mar 2017 21:28:00 -0000 From: "Ian Lambert via cygwin" Reply-To: Ian Lambert Reply-To: Ian Lambert To: "cygwin@cygwin.com" Message-ID: <1925262808.2517393.1490389786483@mail.yahoo.com> Subject: inetutils-server, OpenSP and units install glitches and fixes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit References: <1925262808.2517393.1490389786483.ref@mail.yahoo.com> X-IsSubscribed: yes X-SW-Source: 2017-03/txt/msg00311.txt.bz2 Running setup updates and installs in mirror-mode, I had 3 problems. The first is "fixed." The 2nd is fixed, with a question. The 3rd is still a puzzle. Setup message: Package: _/Unknown package inetutils-server.sh exit code 1 OpenSP.sh exit code 127 /var/log/setup.log.full excerpts: 2017/03/24 09:48:43 running: E:\cygwin64-3\bin\bash.exe --norc --noprofile "/etc/postinstall/inetutils-server.sh" *** Warning: The owner and the Administrators need *** Warning: to have .w. permission to /var/run. *** Warning: Here are the current permissions and ACLS: *** Warning: drwxr-xr-x 1 myuser Domain Users 0 Mar 14 17:48 /var/run *** Warning: # file: /var/run *** Warning: # owner: myuser *** Warning: # group: Domain Users *** Warning: user::rwx *** Warning: group::r-x *** Warning: other:r-x *** Warning: *** Warning: Please change the user and/or group ownership, *** Warning: permissions, or ACLs of /var/run. ... *** ERROR: Problem with /var/run directory. Exiting. 2017/03/24 09:49:28 abnormal exit: exit code=1 ============= (1) "Fix:" Finally realized ftp, talk, telnet or uucp aren't needed, and uninstalled inetutils-server and inetutils. "Common networking clients and servers" sounded necessary, but apparently not. :D ============= (2) 2017/03/24 09:49:28 running: E:\cygwin64-3\bin\bash.exe --norc --noprofile "/etc/postinstall/OpenSP.sh" /etc/postinstall/OpenSP.sh: line 1: /usr/bin/install-catalog: No such file or directory 2017/03/24 09:49:28 abnormal exit: exit code=127 Fix: installed sgml-common (containing install-catalog). After the above error, it was not yet installed and not pending. Then installed OpenSP. It was also not yet installed, and not pending. Question: These were obviously needed for each other, and needed by other packages, so why didn't the first install work, and why did they not show up as pending the next time? ============= (3) "units" converter sounded useful, but install failed with: 2017/03/24 09:51:44 running: E:\cygwin64-3\bin\bash.exe --norc --noprofile "/etc/postinstall/zp_units_cur.sh" Error connecting to currency server. So, this is trying to do: /etc/postinstall $ cat zp_units_cur.sh /usr/bin/find /usr/share/units/currency.units -mtime +0 -exec /usr/bin/units_cur \; and units_cur is a python3 script trying to do: $ grep http /usr/bin/units_cur currencies = ET.parse(urllib.request.urlopen('http://rss.timegenie.com/forex.xml')).findall('data') outstr += '\n\n# Precious metals prices from http://services.packetizer.com/spotprices/\n\n' spotprices = ET.parse(urllib.request.urlopen('http://services.packetizer.com/spotprices/?f=xml')) And of course this fails behind my proxy, because with --norc and --noprofile, setup/bash doesn't have the proxy info'. Questions: Is it kosher for security for an installing package like this to obtain something from the internet like this, and if so, how can I give it the proxy info (other than running it with rc and profile)? On a related note, using not ancient Red Hat 5.6 where the mirror is stored, tar won't expand the Cygwin packages? $ tar -xvf units-2.13-1.tar.xz tar: This does not look like a tar archive tar: Skipping to next header tar: Archive contains obsolescent base-64 headers tar: Read 9640 bytes from units-2.13-1.tar.xz tar: Error exit delayed from previous errors $ tar --version tar (GNU tar) 1.15.1 but tar Packaged by Cygwin (1.29-1) will. -- 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