delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/10/01/08:16:17

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-3.3 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RP_MATCHES_RCVD,TW_GT
X-Spam-Check-By: sourceware.org
From: "Brian Wilson" <wilson AT ds DOT net>
To: cygwin AT cygwin DOT com
Subject: Re: gnome and hicolor exit code 127 for /usr/bin .vs. /bin
Date: Mon, 1 Oct 2012 08:15:58 -0400
Message-Id: <20121001120725.M34953@ds.net>
In-Reply-To: <20120930131238.M10095@ds.net>
References: <20120929193527 DOT M64303 AT ds DOT net> <5067C99F DOT 60108 AT gmail DOT com> <20120930131238 DOT M10095 AT ds DOT net>
X-OriginatingIP: 65.12.174.114 (wilson)
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

> > >>> I have been doing setup updates for a few weeks with the error as shown in 
> the following paragraph.
> > >>>
> > >>> Package: Unknown package
> > >>> 	gnome-icon-theme.sh exit code 127
> > >>> 	hicolor-icon-theme.sh exit code 127
> > >>>
> > >>>> snip <<<
> > the scripts are not incorrect. They works for almost everyone,
> > but there is a unknown glitch on you machine,
> > eventually it is only a "false" return error that fools setup.exe.
> 
> Before I do the alternate installation suggested, is there anything 
> I may do to help debug the "unknown glitch".  It is very consistent 
> on my Windows XP Pro 
> (SP3) system (3.33 GHz, 4 GB memory).  If there is some log file, or 
> other diagnostic I could run while executing setup?
> 

I've done a little more testing and the 127 return code is coming from the "/usr/bin/gtk-update-icon-cache --force 
/usr/share/icons/..." command line in the scripts.  I get the 127 error message even if I run this command from the 
command line.  This call is supposed to update the icon cache file with the latest entries.  The icon-theme.cache file 
does exist for both the hicolor and gnome directories.  It appears that gtk-update-icon-cache does not return a zero exit 
code; but I don't see any reason for the 127 (file not found) error.

--
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