Re: setup: CVS HEAD does not install test: releases

2010-08-16 Thread Corinna Vinschen
On Aug 16 06:32, Dave Korn wrote:
 On 16/08/2010 05:40, Andy Koppe wrote:
  On 16 August 2010 04:25, Yaakov (Cygwin/X)
  yselkow...@users.sourceforge.net wrote:
  setup CVS HEAD (2.717) does not download test: releases in either
  Install from Internet and Download Without Installing modes.
 
  I found this out by trying to install gcc4-*-4.5.0-1; after selecting
  the 4.5.0-1 versions of gcc4-*, they did not show up in the Pending
  view, nor were they downloaded or installed.  However, setup did
  uninstall my 4.3.4-3, leaving me without *any* gcc. :-(
  
  You need to manually tick the 'Bin?' box when selecting the
  experimental version. It's a longer-standing issue:
  
  http://www.cygwin.com/ml/cygwin/2010-06/msg00145.html
  
  Another annoyance in this area is that once you do have an
  experimental package installed, setup.exe always tries to downgrade
  you back to the current one.
 
   Another problem is that the dependencies don't work: if you select the test
 versions of a bunch of the language compilers, they don't cause the test
 versions of the related runtime libs to get automatically selected.

Is that a result of using pack-curr.depends() in PrereqChecker::isMet?
Shouldn't that be pack-trustp (theTrust)?


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat


Re: setup: CVS HEAD does not install test: releases

2010-08-16 Thread Andy Koppe
On 16 August 2010 10:25, Corinna Vinschen wrote:
 On Aug 16 06:32, Dave Korn wrote:
 On 16/08/2010 05:40, Andy Koppe wrote:
  On 16 August 2010 04:25, Yaakov (Cygwin/X)
  yselkow...@users.sourceforge.net wrote:
  setup CVS HEAD (2.717) does not download test: releases in either
  Install from Internet and Download Without Installing modes.
 
  I found this out by trying to install gcc4-*-4.5.0-1; after selecting
  the 4.5.0-1 versions of gcc4-*, they did not show up in the Pending
  view, nor were they downloaded or installed.  However, setup did
  uninstall my 4.3.4-3, leaving me without *any* gcc. :-(
 
  You need to manually tick the 'Bin?' box when selecting the
  experimental version. It's a longer-standing issue:
 
  http://www.cygwin.com/ml/cygwin/2010-06/msg00145.html
 
  Another annoyance in this area is that once you do have an
  experimental package installed, setup.exe always tries to downgrade
  you back to the current one.

   Another problem is that the dependencies don't work: if you select the test
 versions of a bunch of the language compilers, they don't cause the test
 versions of the related runtime libs to get automatically selected.

 Is that a result of using pack-curr.depends() in PrereqChecker::isMet?
 Shouldn't that be pack-trustp (theTrust)?

I don't think so. 'theTrust' is a global setting, so 'pack-trustp
(theTrust)'  would probably fail for any packages that don't have an
experimental version when 'Exp' is selected. Also, all versions have
the same dependencies anyway.

The problem is that we're only checking whether a dependency is
installed at all, not whether we've got the appropriate version of it.
Also, the list of missing packages that 'isMet' creates doesn't allow
for specific versions.

Andy


setup: CVS HEAD does not install test: releases

2010-08-15 Thread Yaakov (Cygwin/X)
setup CVS HEAD (2.717) does not download test: releases in either
Install from Internet and Download Without Installing modes.

I found this out by trying to install gcc4-*-4.5.0-1; after selecting
the 4.5.0-1 versions of gcc4-*, they did not show up in the Pending
view, nor were they downloaded or installed.  However, setup did
uninstall my 4.3.4-3, leaving me without *any* gcc. :-(


Yaakov




Re: setup: CVS HEAD does not install test: releases

2010-08-15 Thread Andy Koppe
On 16 August 2010 04:25, Yaakov (Cygwin/X)
yselkow...@users.sourceforge.net wrote:
 setup CVS HEAD (2.717) does not download test: releases in either
 Install from Internet and Download Without Installing modes.

 I found this out by trying to install gcc4-*-4.5.0-1; after selecting
 the 4.5.0-1 versions of gcc4-*, they did not show up in the Pending
 view, nor were they downloaded or installed.  However, setup did
 uninstall my 4.3.4-3, leaving me without *any* gcc. :-(

You need to manually tick the 'Bin?' box when selecting the
experimental version. It's a longer-standing issue:

http://www.cygwin.com/ml/cygwin/2010-06/msg00145.html

Another annoyance in this area is that once you do have an
experimental package installed, setup.exe always tries to downgrade
you back to the current one.

Andy


Re: setup: CVS HEAD does not install test: releases

2010-08-15 Thread Dave Korn
On 16/08/2010 04:25, Yaakov (Cygwin/X) wrote:
 setup CVS HEAD (2.717) does not download test: releases in either
 Install from Internet and Download Without Installing modes.
 
 I found this out by trying to install gcc4-*-4.5.0-1; after selecting
 the 4.5.0-1 versions of gcc4-*, they did not show up in the Pending
 view, nor were they downloaded or installed.  However, setup did
 uninstall my 4.3.4-3, leaving me without *any* gcc. :-(

  Arg.  And you'll get trouble trying to reinstall it, because your old
previously downloaded 4.3.4-3 packages now won't match the md5sum of the
silently-upgraded-in-place packages listed in the current version of setup.ini.

  Also, it seems that it's no longer possible to select the Retrieve
(meaning re-download) option for those packages.

  You may have to blow away that part of your package dir; doing so allowed me
to redownload 4.3.4-3 and reinstall it successfully, at any rate.

cheers,
  DaveK



Re: setup: CVS HEAD does not install test: releases

2010-08-15 Thread Dave Korn
On 16/08/2010 05:40, Andy Koppe wrote:
 On 16 August 2010 04:25, Yaakov (Cygwin/X)
 yselkow...@users.sourceforge.net wrote:
 setup CVS HEAD (2.717) does not download test: releases in either
 Install from Internet and Download Without Installing modes.

 I found this out by trying to install gcc4-*-4.5.0-1; after selecting
 the 4.5.0-1 versions of gcc4-*, they did not show up in the Pending
 view, nor were they downloaded or installed.  However, setup did
 uninstall my 4.3.4-3, leaving me without *any* gcc. :-(
 
 You need to manually tick the 'Bin?' box when selecting the
 experimental version. It's a longer-standing issue:
 
 http://www.cygwin.com/ml/cygwin/2010-06/msg00145.html
 
 Another annoyance in this area is that once you do have an
 experimental package installed, setup.exe always tries to downgrade
 you back to the current one.

  Another problem is that the dependencies don't work: if you select the test
versions of a bunch of the language compilers, they don't cause the test
versions of the related runtime libs to get automatically selected.

  On the other hand, setup is no longer trying to automatically downgrade the
test packages any more.  But on the down side, it won't let me manually
downgrade them either.  I had to uninstall all the 4.5.0 version packages in
one step and then reinstall 4.3.4 in a second run through setup.exe.

cheers,
  DaveK




Re: setup: CVS HEAD does not install test: releases

2010-08-15 Thread Andy Koppe
On 16 August 2010 06:32, Dave Korn wrote:
 On 16/08/2010 05:40, Andy Koppe wrote:
 On 16 August 2010 04:25, Yaakov (Cygwin/X) wrote:
 setup CVS HEAD (2.717) does not download test: releases in either
 Install from Internet and Download Without Installing modes.

 I found this out by trying to install gcc4-*-4.5.0-1; after selecting
 the 4.5.0-1 versions of gcc4-*, they did not show up in the Pending
 view, nor were they downloaded or installed.  However, setup did
 uninstall my 4.3.4-3, leaving me without *any* gcc. :-(

 You need to manually tick the 'Bin?' box when selecting the
 experimental version. It's a longer-standing issue:

 http://www.cygwin.com/ml/cygwin/2010-06/msg00145.html

 Another annoyance in this area is that once you do have an
 experimental package installed, setup.exe always tries to downgrade
 you back to the current one.

  Another problem is that the dependencies don't work: if you select the test
 versions of a bunch of the language compilers, they don't cause the test
 versions of the related runtime libs to get automatically selected.

I downgraded back to 2.701 to see whether that worked with instant
dependency selection: it didn't. Phew, not a regression.

I guess the quick way to a consistent gcc-4.5 install is to just click
the 'Exp' button, although of course that drags in any other
experimental packages too.

  On the other hand, setup is no longer trying to automatically downgrade the
 test packages any more.

It still does that for me, but once all experimental packages are
installed anyway, the 'Exp' button is an easy workaround.

  But on the down side, it won't let me manually
 downgrade them either.  I had to uninstall all the 4.5.0 version packages in
 one step and then reinstall 4.3.4 in a second run through setup.exe.

I can't reproduce that. I tried upgrading to g++-4.5 and back to 4.3.4
and it worked.

Andy