delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-3.4 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, 8 Oct 2012 17:15:08 -0400 |
Message-Id: | <20121008210147.M12382@ds.net> |
In-Reply-To: | <5071AA11.1000606@gmail.com> |
References: | <20120929193527 DOT M64303 AT ds DOT net> <5067C99F DOT 60108 AT gmail DOT com> <20120930131238 DOT M10095 AT ds DOT net> <20121001120725 DOT M34953 AT ds DOT net> <20121001142414 DOT M8007 AT ds DOT net> <20121003111101 DOT M13208 AT ds DOT net> <972EEFF84AA34684A3A02402217705B5 AT ncc1701> <50703D58 DOT 5090402 AT gmail DOT com> <20121007123639 DOT M92742 AT ds DOT net> <5071AA11 DOT 1000606 AT gmail DOT com> |
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 |
> >>> Package: gnubg > >>> gnubg.sh exit code 127 > >>> Package: Unknown package > >>> gnome-icon-theme.sh exit code 127 > >>> hicolor-icon-theme.sh exit code 127 > >>> --snip-- < < > >> could you please try : > >> > >> /usr/bin/gtk-update-icon-cache --force /usr/share/icons/gnome > >> and ls -l > >> /usr/bin/gtk-update-icon-cache --force /usr/share/icons/hicolor > >> > >> so we can try to understand what is not working on your system? > > > > Brian S. Wilson AT ncc-1701 ~ > > $ /usr/bin/gtk-update-icon-cache --force /usr/share/icons/gnome > > > > Brian S. Wilson AT ncc-1701 ~ > > $ echo $? > > 127 > > > > Brian S. Wilson AT ncc-1701 ~ > > $ /usr/bin/gtk-update-icon-cache --force /usr/share/icons/hicolor > > > > Brian S. Wilson AT ncc-1701 ~ > > $ echo $? > > 127 > > > > the normal behaviour should be: > $ /usr/bin/gtk-update-icon-cache --force /usr/share/icons/hicolor > gtk-update-icon-cache: Cache file created successfully. > > the error 127 is usually due to a missing or corrupted dll. > > On your case the problem is: > > cygwin 1.7.16-1 OK > > but > > 2778k 2012/04/05 C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0 > "cygwin1.dll" v0.0 ts=2012/4/5 11:43 > Cygwin DLL version info: > DLL version: 1.7.13 > > this means that when you updated the last cygwin package > you had still process running and it failed to replace the cygwin1.dll. > > Solution: > Stop all the programs and cygwin services > > Service : cygserver > Service : sshd > > and re-install the cygwin-1.7.16-1 package. > The solution worked. I shut down cygserver (sshd was already down; you can do this from the command line "cygrunsrv --stop cygserver" or from the Start, Run, Services.msc window) and did the setup.exe reinstall of cygwin. Now there are no more silent errors and the icon cache files are in place. It looks like somehow my system didn't automatically replace the dll file when I did a restart. I will remember to use the "cygrunsrv -L" command to list the services and shut them down before my next update. It would be nice if an error message could be added to the gtk-update-icon- cache program to say there had been an error just so this doesn't get missed when running from the command line. Not everyone (though they should) checks the return codes for every command. Thank you Marco (by the way, do you play polo by any chance?). :) You were a great help. -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |