More on /etc/postinstall, .sh and .sh.done

Igor Peshansky pechtcha@cs.nyu.edu
Mon Feb 27 15:35:00 GMT 2006


On Mon, 27 Feb 2006, James McLaughlin wrote:

> I've changed the post-texmf.sh to .sh.done - thanks for that Chris - and
> I ran update-info-dir.sh immediately afterwards. Unfortunately, upon
> trying to change it to .sh.done I discovered that a file with that name
> already existed in /etc/postinstall - and I have no idea what to make of
> this or what to do about it!

Not a problem -- the existing .sh.done is from the previous successful
invocation of that script.  You can overwrite it.

> Plus, as well as the .sh and .sh.done stuff, which I think is all that's
> meant to be there, I also found the files
> gcc-mingw-g++-3.4.4-20050522-1.tgz and
> gcc-mingw-core-3.4.4-20050522-1.tgz - does anyone know what to make
> of/do about this?

You think wrong.  /etc/postinstall is a special directory for scripts and
files needed to perform post-installation activity.  The two files above
are needed for the gcc-mingw package postinstall.  Just don't worry about
those.

> Cygcheck.out is attached - I ran it after I noticed the update-info-dir
> duplicate.

You have multiple cygwin1.dll's in your PATH.  Fix that first (delete the
one in /home/James).

Other than that, apart from the textmode mounts (yuck!), it looks ok.
However, since your post broke threading *and* didn't quote the relevant
messages, I have no idea what your original problem was...

One common complaint about the postinstall script above is that it takes a
long time, with a suspicion of a hang.  FYI, post-texmf.sh is *supposed*
to take a long time -- after all, it regenerates *all* of the LaTeX binary
format files, and this can take a while.  If you see disk activity, the
script is running.  If that was your original problem, you simply have to
be patient.  Leave it overnight on slower machines, or something...

HTH,
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha@cs.nyu.edu | igor@watson.ibm.com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

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



More information about the Cygwin mailing list