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"


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?


Which is why I tend to (a) rely on cygport's automatic postinstall scripts, or (b) use explicit postinstalls. And, when I'm being REALLY conscientious, also an explicit preremove.

--
Chuck

P.S. I've added a 'requires: bash coreutils' line to terminfo's setup.hint on sourceware. I'll also make sure the next package includes that change.

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