gnome and hicolor exit code 127 for /usr/bin .vs. /bin

marco atzeri marco.atzeri@gmail.com
Sat Sep 29 15:10:00 GMT 2012


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



More information about the Cygwin mailing list