X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-5.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_GT X-Spam-Check-By: sourceware.org Message-ID: <50670632.4000308@gmail.com> Date: Sat, 29 Sep 2012 16:31:14 +0200 From: marco atzeri User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: gnome and hicolor exit code 127 for /usr/bin .vs. /bin References: <86ehllr9mr DOT fsf AT corbe DOT net> <20120929134502 DOT M61172 AT ds DOT net> In-Reply-To: <20120929134502.M61172@ds.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com do not hijack mail thread. Start a new one, please On 9/29/2012 4:13 PM, Brian Wilson wrote: > 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 > > I finally decided to quit procrastinating and figure out what is going on. I checked in /etc/postinstall and found the gnome- > icon-theme.sh and hicolor-icon-theme.sh scripts still exist (i.e. they are not renamed with ".done" appended). > > I opened both scripts and found they reference "/usr/bin/gtk-update-icon-cache.exe". There is no /usr/bin directory on my > system. I did find /bin/gtk-update-icon-cache.exe exists. > > Two possibilities come to mind. The /bin directory should be copied (or linked, or remamed) to the /usr/bin directory by > setup, or the setup scripts are referencing an invalid location and should be corrected. > > Please provide directions on the correct way to resolve this /bin .vs. /usr/bin issue. I have included my cygcheck.out file as > directed. Is not an issue. Cygwin automatically mount /bin on /usr/bin From bash try $ ls /bin $ ls /usr/bin you will see the exact same list. About the 127 issue $ cd /etc/postinstall $ . ./gnome-icon-theme.sh gtk-update-icon-cache: Cache file created successfully. $ echo $? 0 If it works, than you can $ mv gnome-icon-theme.sh gnome-icon-theme.sh.done same for the other > > Sincerely, > > Brian S. Wilson Regards Marco -- 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