delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/09/29/13:18:14

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <3F7868E9.9030309@msu.edu>
Date: Mon, 29 Sep 2003 13:16:25 -0400
From: Harold L Hunt II <huntharo AT msu DOT edu>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030827
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: cygwin-xfree AT cygwin DOT com
CC: cygwin AT cygwin DOT com
Subject: Re: XFree86-bin-icons
References: <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAAayifnbgsvRGIrAZt3TvBYsKAAAAQAAAA2f639P0DiU2WUIxwn3lJiwEAAAAA AT cfl DOT rr DOT com> <Pine DOT GSO DOT 4 DOT 56 DOT 0309291157130 DOT 3193 AT slinky DOT cs DOT nyu DOT edu> <3F785D93 DOT 70807 AT msu DOT edu> <Pine DOT GSO DOT 4 DOT 56 DOT 0309291240590 DOT 3193 AT slinky DOT cs DOT nyu DOT edu>
In-Reply-To: <Pine.GSO.4.56.0309291240590.3193@slinky.cs.nyu.edu>
X-Spam-Status: No, hits=-1.1 required=5.5
tests=IN_REP_TO,REFERENCES,USER_AGENT_MOZILLA_UA,X_ACCEPT_LANG
version=2.55
X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp)

[Discussion on this issue is now taking place where it should have in 
the first place: cygwin-xfree.  Please follow the cygwin-xfree mailing 
list for further posts.]

Igor,

Okay, that explains why I couldn't find the message in cygwin-xfree.  I 
really wish someone would have redirected the question over here... I 
never saw it.

 > FWIW, you can force the order of execution of the XFree86-bin-icons.sh
 > postinstall script by making the package dependent on XFree86-bin and
 > others, but that would most likely defeat the purpose of the package.

Thanks.  I actually did that just now, right before you suggested it. 
However, I didn't know that it would force the order of post-install 
script execution; that is a nice side-effect.  The bin-icons package 
should logically depend on the bin package.  People can manually 
unselect it if they want to.


>>>>>The XFree86-bin-icons package is buggy.  It's basically a postinstall
>>>>>script that tries to create icons for the X programs that are installed
>>>>>on your machine.  The problem is that it tries to create them in the
>>>>>Start Menu for "All Users" without checking whether the current user can
>>>>>write to it.

That's not entirely true.  For example, my account has Administrator 
priveleges on my machine, the script runs fine when I launch it from a 
bash prompt; so file permissions are not an issue.

>>>>>I'm not quite sure why it hangs for you, but you can try
>>>>>runnning that script manually via "bash -x" and seeing where it hangs.

It doesn't hang when you do this.

Something strange is going on here... setup.exe says "Running: No 
Package /etc/postinstal/XFree86-bin-icons".  What is up with the "No 
Package"?  Is that indicating the real problem?

Another thing is that an Uninstall of XFree86-bin-icons also hangs when 
it tries to run the preremove script.  Yet, running the preremove script 
by hand never causes any problems (e.g. bash -x 
/etc/preremove/XFree86-bin-icons.sh).

What gives?

Harold


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019