"mbox note: Can't open file://L:\ods\rtoy\Cygnus/ for reading: Unrecognisable file format" errors whilst executing setup.exe
Heath Kehoe
hkehoe@budcat.com
Thu Jan 28 20:02:00 GMT 2010
Heath Kehoe wrote:
> - Using setup.exe version 2.677
> - We have a local mirror which is updated using rsync (daily)
> - The local mirror is accessed as a network share on the Windows
> machines, which is mapped to a drive letter.
> - In setup.exe, select 'Install from Local Directory'
> - The root directory is: C:\cygwin
> - Install for: All users
> - Local package directory for us is: M:\apps\cygwin (the network share)
> - Select all packages to install (if it's a new installation. For an
> upgrade we take the default selections)
> - During the installation, we get pop-ups that say "can't open
> M:\apps\cygwin for reading: Unrecognisable file format". Those pop-ups
> must be dismissed for the installation to finish, and they happen many
> times (52 times for a new, full installation)
> - Once setup is complete, Cygwin appears to work OK.
> - We've observed this on both fresh new installations as well as with
> upgrades from 1.5
> - We've observed this on Win7 64bit and on XP 32bit.
>
> These lines appear throughout setup.log.full and correspond to the
> popups:
> 2010/01/27 17:27:12 mbox note: Can't open
> file://M:\apps\cygwin\Current/ for reading: Unrecognisable file format
>
> Hopefully this is enough detail :)
> -heath
>
I have some more information on this. The errors correspond to packages
which are in setup.ini without install: or source: lines, for example:
ORBit
cogito
libIDL
libxml-devel
libxml1
(etc)
These packages wind up in install_q in do_install_thread(); and so get
passed to Installer::installOne(). As there's no 'install:' field in
setup.ini, the packagesource 'filename' and 'canonical' members are
NULL; and the 'cached' member ends up containing 'local_dir' with
nothing else; hence the mbox message that we see.
I'm not sure why this only seems to manifest when using a network drive
as the package source (or cache).
Anyway, for now I'm going to just comment out the call to note() at
install.cc:295 so that my users can do installations without having to
dismiss that popup 52 times.
-heath
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
--
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
More information about the Cygwin
mailing list