public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Packages not found by setup 2.873
@ 2016-03-30  6:27 EMMANUELLE FOURNIER
  2016-03-30 17:29 ` Warren Young
  0 siblings, 1 reply; 6+ messages in thread
From: EMMANUELLE FOURNIER @ 2016-03-30  6:27 UTC (permalink / raw)
  To: cygwin

Hello everyone, 

I've searched for a very long time, without answer to my issue. 

Here's my problem : 

I have to make a new setup of cygwin (with NSIS), and with new packages. 
Computers are on Windows 7 x64. 

I've download packages without installing them, and the setup x64 version 2.873. 
I've made some modifications : 

- packages are in tar.xz, I've made them in tar.bz2 
- setup.ini has been modify too 

When I want to install packages on target computer in local installation mode, there are multiples errors : 

- no packages installed... 
- the command is (in NSIS file) ExecWait '$INSTDIR\setup.exe -R c:\cygwin -L -l $INSTDIR\cygwin-setup -C base -P openssh,tcpwrapper,rsync,ping,vim,cron,shutdown,zip,unzip,wget,time -q' 
- I've tried without --quiet-mode also, but he doesn't found packages either. 
- I've changed view in graphic mode when you choose package (in "not installed" view, they are visibles), I've selected one, but I've the error : "Can't open (null) for readind : no such file" 


And, the most frustrating thing, is that : version 2.738 works. 


Please, can anyone help me ? 

I've certainly missed something, but I don't know what or when. 


And in advance, sorry for my english, I'm french. 

Thank you. 


Regards, 


Emmanuelle FOURNIER 
E-mail : emmanuelle.fournier@partnre.com 


--
Ce message et  toutes les pieces jointes (ci-apres  le "message") sont
confidentiels et etablis a l'intention exclusive de ses destinataires.
Toute  utilisation ou  diffusion  non autorisee  est interdite.   Tout
message  etant  susceptible  d'alteration,  l'emetteur  decline  toute
responsabilite au titre de  ce message  s'il a  ete altere, deforme ou
falsifie.
                -----------------------------------
This message and any  attachments (the "message") are confidential and
intended  solely   for  the   addressees.  Any  unauthorised   use  or
dissemination is prohibited. As e-mails are susceptible to alteration,
the issuer shall  not be  liable for  the  message if altered, changed
or falsified.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Packages not found by setup 2.873
  2016-03-30  6:27 Packages not found by setup 2.873 EMMANUELLE FOURNIER
@ 2016-03-30 17:29 ` Warren Young
  2016-03-31  8:58   ` EMMANUELLE FOURNIER
  0 siblings, 1 reply; 6+ messages in thread
From: Warren Young @ 2016-03-30 17:29 UTC (permalink / raw)
  To: The Cygwin Mailing List

On Mar 30, 2016, at 12:27 AM, EMMANUELLE FOURNIER <emmanuelle.fournier@partnre.com> wrote:
> 
> - packages are in tar.xz, I've made them in tar.bz2 

Why?  You’re using Cygwin’s own installer underneath NSIS, and that program has XZ decompression built in.  Why use a less efficient compression method?

> - setup.ini has been modify too 

How, exactly?  Can you provide a description of the change, a script you use to make the change, or a diff of the change?

> there are multiples errors : 
> 
> - no packages installed… 

How is that “multiple errors”?  Are you counting each package not installed as a separate error, or are you not telling us all of the symptoms?

> - the command is (in NSIS file) ExecWait '$INSTDIR\setup.exe -R c:\cygwin -L -l $INSTDIR\cygwin-setup -C base -P openssh,tcpwrapper,rsync,ping,vim,cron,shutdown,zip,unzip,wget,time -q’ 

I tried much that same command here, and it works.

Here are several things for you to look at:

1. What exactly is the content of $INSTDIR?  If it includes a network drive letter, it won’t work because setup.exe elevates itself to Admin via UAC, and Admin won’t have the same drive letters mapped.  To use a network drive with setup.exe, you generally have to use UNC paths.

2. Have you tried it with -D instead?  If that works, then your local installation cache probably isn’t complete.  Pack the downloaded tree up again and try -L against that new tree.

3. What does /var/log/setup.log say?  The file is rarely replaced, so you’ll have to scroll down to the last installation at the end of the file.  You might want to move the old one out of the way while debugging, so you only have fresh logs to study.

4. Is “-C base” actually required?  Even in unattended installer mode, Base should always be installed.
--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Packages not found by setup 2.873
  2016-03-30 17:29 ` Warren Young
@ 2016-03-31  8:58   ` EMMANUELLE FOURNIER
  2016-04-01  1:09     ` Warren Young
  0 siblings, 1 reply; 6+ messages in thread
From: EMMANUELLE FOURNIER @ 2016-03-31  8:58 UTC (permalink / raw)
  To: Warren Young; +Cc: cygwin

Good Morning,

First of all, thank you for answering me.

 - For packages format, I'm not an expert,  so I've changed in tar.bz2, because in the x86 version of program, they were in tar.bz2.
But if you mean that is not a cause, I will modify this.

 - I've modified setup in order to find packages in tar.bz2 instead of tar.xz.

 - There were errors for each packages, a pop-up came each time with the following message  : "Can't open (null) for readind : no such file"

 - I really think that this command work, but I don't know where can be the error, so I'm searching everywhere.



$INSTDIR doesn't include a network drive letter : " InstallDir "C:\D3IPARAM\setup_cygwin" "

I will try again, without changed format. I really have to download first, then install, because it will be deployed.


var/log/setup.log, in my two last try :

2016/03/25 16:21:03 Starting cygwin install, version 2.873
2016/03/25 16:21:03 User has backup/restore rights
2016/03/25 16:21:03 io_stream_cygfile: fopen(/etc/setup/setup.rc) failed 2 No such file or directory
2016/03/25 16:21:03 Current Directory: C:\D3IPARAM\setup_cygwin\cygwin-setup
2016/03/25 16:21:03 Could not open service McShield for query, start and stop. McAfee may not be installed, or we don't have access.
2016/03/25 16:21:09 source: from local dir
2016/03/25 16:21:10 root: c:\cygwin system
2016/03/25 16:21:12 Selected local directory: C:\D3IPARAM\setup_cygwin\cygwin-setup
2016/03/25 16:21:12 io_stream_cygfile: fopen(/etc/setup/installed.db) failed 2 No such file or directory
2016/03/25 16:21:28 Selected local directory: C:\D3IPARAM\setup_cygwin\cygwin-setup\http%3a%2f%2fcygwin.gicm.net%3a8080%2f
2016/03/25 16:21:39 mbox note: Can't open (null) for reading: No such file
2016/03/25 16:25:33 Changing gid back to original
2016/03/25 16:25:33 Changing gid to Administrators
2016/03/25 16:25:46 mbox note: Can't open (null) for reading: No such file
2016/03/25 16:55:39 mbox note: Can't open (null) for reading: No such file
2016/03/25 16:55:40 Changing gid back to original
2016/03/25 16:55:40 Changing gid to Administrators
2016/03/25 16:56:41 mbox note: Can't open (null) for reading: No such file
2016/03/30 08:44:04 mbox note: Can't open (null) for reading: No such file
2016/03/30 08:44:05 mbox note: Can't open (null) for reading: No such file
2016/03/30 08:44:06 Changing gid back to original
2016/03/30 08:44:06 Changing gid to Administrators
2016/03/30 08:44:08 note: Nothing needed to be installed
2016/03/30 08:44:08 Ending cygwin install


And I can try without "-C base".


That's my new try :

- I've downloaded
- Next, I've copied my fresh repository in $INSTDIR
- I've recompiled NSIS to create my new setup.exe
- On my target computer, I've executed setup.exe : files have been copied, but no packages installed

New setup.log :


2016/03/31 09:51:37 Starting cygwin install, version 2.873
2016/03/31 09:51:37 User has backup/restore rights
2016/03/31 09:51:37 Current Directory: C:\D3IPARAM\setup_cygwin\cygwin-setup
2016/03/31 09:51:37 Could not open service McShield for query, start and stop. McAfee may not be installed, or we don't have access.
2016/03/31 09:51:37 root: c:\cygwin system
2016/03/31 09:51:37 Selected local directory: C:\D3IPARAM\setup_cygwin\cygwin-setup
2016/03/31 09:51:38 Changing gid back to original
2016/03/31 09:51:38 Changing gid to Administrators
2016/03/31 09:51:38 Ending cygwin install


A final information : I've made it with x86 setup on x64 target machine. Is it a problem ? I don't think so, but I still wonder.


Thank you by advance.


Regards,

Emmanuelle FOURNIER
E-mail : emmanuelle.fournier@partnre.com

--
Ce message et  toutes les pieces jointes (ci-apres  le "message") sont
confidentiels et etablis a l'intention exclusive de ses destinataires.
Toute  utilisation ou  diffusion  non autorisee  est interdite.   Tout
message  etant  susceptible  d'alteration,  l'emetteur  decline  toute
responsabilite au titre de  ce message  s'il a  ete altere, deforme ou
falsifie.
                -----------------------------------
This message and any  attachments (the "message") are confidential and
intended  solely   for  the   addressees.  Any  unauthorised   use  or
dissemination is prohibited. As e-mails are susceptible to alteration,
the issuer shall  not be  liable for  the  message if altered, changed
or falsified.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Packages not found by setup 2.873
  2016-03-31  8:58   ` EMMANUELLE FOURNIER
@ 2016-04-01  1:09     ` Warren Young
  2016-04-04  7:45       ` EMMANUELLE FOURNIER
  0 siblings, 1 reply; 6+ messages in thread
From: Warren Young @ 2016-04-01  1:09 UTC (permalink / raw)
  To: The Cygwin Mailing List

On Mar 31, 2016, at 2:57 AM, EMMANUELLE FOURNIER <emmanuelle.fournier@partnre.com> wrote:
> 
> I've changed in tar.bz2, because in the x86 version of program, they were in tar.bz2.

You’ve misdiagnosed the cause of the change.  Cygwin changed from distributing bz2-packed tarballs to xz-packed tarballs many months ago for both x86 and x86_64.

> But if you mean that is not a cause, I will modify this.

I’d want better proof than what you’ve provided to decide that xz is causing your problems.

> - I've modified setup in order to find packages in tar.bz2 instead of tar.xz.
> 
> - There were errors for each packages, a pop-up came each time with the following message  : "Can't open (null) for readind : no such file”

Try your setup with a fresh set of .xz packages and an unmodified setup.exe binary, downloaded from cygwin.com.  Then if that fails, get back to us.

> 2016/03/25 16:21:28 Selected local directory: C:\D3IPARAM\setup_cygwin\cygwin-setup\http%3a%2f%2fcygwin.gicm.net%3a8080%2f

It seems you’re using bogus domain names in your setup.ini file.  http://cygwin.gicm.net doesn’t resolve:

  http://downforeveryoneorjustme.com/cygwin.gicm.net

I don’t know if this is the primary problem or just a contributing error, but you shouldn’t have setup.exe chasing after things that don’t exist.  At best, it will cause it to do a bunch of work with no useful effect.

> And I can try without "-C base”.

I verified that guess after I posted it: -C base is indeed not necessary.

> A final information : I've made it with x86 setup on x64 target machine. Is it a problem ? I don't think so, but I still wonder.

If you mean that you’re installing 32-bit Cygwin on a 64-bit machine, that’s fine.  The other direction is not fine.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Packages not found by setup 2.873
  2016-04-01  1:09     ` Warren Young
@ 2016-04-04  7:45       ` EMMANUELLE FOURNIER
  2016-04-04  9:31         ` Achim Gratz
  0 siblings, 1 reply; 6+ messages in thread
From: EMMANUELLE FOURNIER @ 2016-04-04  7:45 UTC (permalink / raw)
  To: Warren Young; +Cc: cygwin

Hello Warren,

After your last mail, I've made some tests according with your explanations : 

 - Downloading and installing with unmodified setup.exe wasn't ok, until I changed the download site (you're right about bogus domain names)
 - after this change, no more problem, installing was correct, even with my modified setup.

x86 version is ok now, I have to made the same thing with x64 version 

For information, I've chosen the following sites : http://mirrors.sonic.net

And without -C base and with --quiet-mode, it's ok.


Thank you so much for your help

Have a nice day


Regards, 

Emmanuelle FOURNIER 
E-mail : emmanuelle.fournier@partnre.com 

----- Mail original -----
De: "Warren Young" <wyml@etr-usa.com>
À: "cygwin" <cygwin@cygwin.com>
Envoyé: Vendredi 1 Avril 2016 03:09:42
Objet: Re: Packages not found by setup 2.873

On Mar 31, 2016, at 2:57 AM, EMMANUELLE FOURNIER <emmanuelle.fournier@partnre.com> wrote:
> 
> I've changed in tar.bz2, because in the x86 version of program, they were in tar.bz2.

You’ve misdiagnosed the cause of the change.  Cygwin changed from distributing bz2-packed tarballs to xz-packed tarballs many months ago for both x86 and x86_64.

> But if you mean that is not a cause, I will modify this.

I’d want better proof than what you’ve provided to decide that xz is causing your problems.

> - I've modified setup in order to find packages in tar.bz2 instead of tar.xz.
> 
> - There were errors for each packages, a pop-up came each time with the following message  : "Can't open (null) for readind : no such file”

Try your setup with a fresh set of .xz packages and an unmodified setup.exe binary, downloaded from cygwin.com.  Then if that fails, get back to us.

> 2016/03/25 16:21:28 Selected local directory: C:\D3IPARAM\setup_cygwin\cygwin-setup\http%3a%2f%2fcygwin.gicm.net%3a8080%2f

It seems you’re using bogus domain names in your setup.ini file.  http://cygwin.gicm.net doesn’t resolve:

  http://downforeveryoneorjustme.com/cygwin.gicm.net

I don’t know if this is the primary problem or just a contributing error, but you shouldn’t have setup.exe chasing after things that don’t exist.  At best, it will cause it to do a bunch of work with no useful effect.

> And I can try without "-C base”.

I verified that guess after I posted it: -C base is indeed not necessary.

> A final information : I've made it with x86 setup on x64 target machine. Is it a problem ? I don't think so, but I still wonder.

If you mean that you’re installing 32-bit Cygwin on a 64-bit machine, that’s fine.  The other direction is not fine.

--
Ce message et  toutes les pieces jointes (ci-apres  le "message") sont
confidentiels et etablis a l'intention exclusive de ses destinataires.
Toute  utilisation ou  diffusion  non autorisee  est interdite.   Tout
message  etant  susceptible  d'alteration,  l'emetteur  decline  toute
responsabilite au titre de  ce message  s'il a  ete altere, deforme ou
falsifie.
                -----------------------------------
This message and any  attachments (the "message") are confidential and
intended  solely   for  the   addressees.  Any  unauthorised   use  or
dissemination is prohibited. As e-mails are susceptible to alteration,
the issuer shall  not be  liable for  the  message if altered, changed
or falsified.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Packages not found by setup 2.873
  2016-04-04  7:45       ` EMMANUELLE FOURNIER
@ 2016-04-04  9:31         ` Achim Gratz
  0 siblings, 0 replies; 6+ messages in thread
From: Achim Gratz @ 2016-04-04  9:31 UTC (permalink / raw)
  To: cygwin

EMMANUELLE FOURNIER <emmanuelle.fournier <at> partnre.com> writes:
> And without -C base and with --quiet-mode, it's ok.

Installing the whole Base category is implied, so no need to specify it (and
anyway it would be Base, with a capital B).

Regards,
Achim


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-04-04  9:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-30  6:27 Packages not found by setup 2.873 EMMANUELLE FOURNIER
2016-03-30 17:29 ` Warren Young
2016-03-31  8:58   ` EMMANUELLE FOURNIER
2016-04-01  1:09     ` Warren Young
2016-04-04  7:45       ` EMMANUELLE FOURNIER
2016-04-04  9:31         ` Achim Gratz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).