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: Spurious "You have multiple copies of cygwin1.dll on your syste m."


On  8 Oct, luke.kendall@cisra.canon.com.au wrote:
>  Now to see if I can find where /etc/profile went, and if no joy, try 
>  again with the modified scripts and new knowledge... 

No joy.  /etc/profile, passwd, and group were simply missing.

Even doing a grep for /etc/profile in setup.log and .full showed no
errors or warnings that mentioned /etc/profile.  (In fact, a grep -i
for warning or error only showed installation of files with that as part
of their name - i.e. it seemed like a clean install).

It seems possible to me that it's something I've done wrong.  I'll
scrub Cygwin again from the test machine and try again with my
improved scripts.

The reason I suspect me, is that /etc/passwd didn't exist, even after
running the script that runs the mkpasswd and mgroup commands to fully
populate both.

There is a /etc/defaults/etc/profile, it just doesn't seem to have
been installed.  Maybe a side-effect of doing a mount of "/" in the previous
test attempt before this last one.

Anyway, I'll try again now.

BTW, since Dave Korn replied to this:

> > I freely confess I'm doing something unusual.  Maybe I'm the first
> > person on the planet to attempt to automate Cygwin installation via a
> > shell script from an already existing and stable copy of Cygwin
> > installed elsewhere on the network?

Dave:

> It's possible.  Is there a reason you aren't using setup.exe?  It's
> automatable and easily customisable and it has the benefit in this situation
> of being a plain non-cygwin win32 exe.

I should clarify that I *am* using Cygwin's setup.exe - the scripts just
do all the other automation around that:

    Advise installer of local URLs for local stable/latest cygwin mirrors.
    Report on completeness/incompleteness of local mirror, with
    warning if incomplete.
    Start appropriate setup.exe for them (stable/latest), with extra arguments.
    Fix problem in WindowMaker by modifying "exitscript".
    Provide simple, reliable, flexible X startup script.
    Detect home mount point for local conventions.
    Setup home directory upon 1st login.
    Configure sshd.
    Check ownership of and fix /etc/ssh* and /var/empty.
    Fix enscript.cfg to use A4 for paper size.
    Configure ssmtp for local settings.
    Install extra local utility files.
    Test for updated local utility files and auto-install any.
    Setup links to various local network utilities.
    Add .sh script under /etc/profile.d for extra local login stuff.
    Create some extra desktop shortcuts and Start Menu Cygwin menu items.
    Setup default .xinitrc and .profile.
    Provide auto-remapping of shared drives when laptops are off network.
    Install CygwinPromptHere.
    Fix X font problem on stable Cygwin snapshot; fix man JNROFF stuff on
    latest Cygwin snapshot.

And possibly other things I've forgotten.

luke



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