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: startup problem // no longer works // profile not called


On Fri, 29 Oct 2004, Alex Vinokur wrote:

> "Igor Pechtchanski" wrote:
> > On Thu, 28 Oct 2004, Alex Vinokur wrote:
> [snip]
> > > It seems that I got rid of problem "bash: kpsexpand: command not found".
> >
> > Great.  So it was simply a missing dependency problem.
>
> I don't understand how the problem has been resolved.

Some script inserted by lilypond into the login script path (presumably
/etc/profile.d/lilypond-profile.sh) contained an invocation of kpsexpand.
Since kpsexpand is part of the tetex-bin package, installing tetex-bin got
rid of the "not found" message.

> > > However,
> > > $ find /etc/postinstall -name \*.done | sed 's/\.done$//' | xargs cygcheck -f | uniq > postinstall.txt  // Attached
> > > postinstall.txt  contains a lot of files. Is it correct?
> >
> > Sure it is.  The above command simply lists all the packages installed on
> > your machine that have postinstall scripts -- nothing wrong with having
> > them.  The reason I asked you to get this information initially was that
> > because of your screwed up mounts the postinstall scripts may not have run
> > properly, and reinstalling the packages was one way of getting them to
> > re-run, so this showed which packages to reinstall.
> [snip]
>
> What do the postinstall scripts do?

They do post-installation fix-up of package files (generate configuration,
conditionally add symlinks, do installation-specific stuff).

> Who (and when) invokes them?

setup.exe, after installing all the packages.

There are also preremove scripts that are run before the corresponding
packages are removed.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

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