This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: setup v2.573.2.3: Postinstall: "abnormal exit: exit code=126"


On Sun, Aug 10, 2008 at 09:20:39PM -0400, Charles Wilson wrote:
> Christopher Faylor wrote:
>>> Actually, I was debating removing this from cygport and letting
>>> _update-info-dir take care of these, as this would appear to
>>> significantly reduce the number of postinstall scripts.
>> I think it's a good idea to just let _update-info-dir take care of this.
>> It's going to run anyway so you end up just running install-info twice.
>
> Well, one of the problems with both cygport's current automatic handling of 
> info files, and the _update-info-dir metapackage, is that nobody ever runs 
> install-info --remove. And really, I don't see any way a metapackage like 
> _update-info-dir could ever do so -- How does it know what I *used* to have 
> installed, that now is installed no longer?  It can't parse my existing dir 
> file, can it?

_update-info-dir deletes the dir file before it creates it.  The only
way an obsolete .info file can be added is if it somehow was not removed
by setup.

cgf

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]