apt-cyg stopped working correctly

2,543 views
Skip to first unread message

Павел Дмитриев

unread,
Sep 26, 2013, 1:35:28 PM9/26/13
to apt-cyg...@googlegroups.com
Here's the log:


Removed `.listing'.
--2013-09-26 20:33:14--  ftp://mirror.mcs.anl.gov/pub/cygwin/setup.ini
           => `setup.ini'
==> CWD not required.
==> SIZE setup.ini ... done.
==> PASV ... done.    ==> RETR setup.ini ...
No such file `setup.ini'.

Error updating setup.ini, reverting

Installing glib
Found package glib
--2013-09-26 20:33:15--  ftp://mirror.mcs.anl.gov/pub/cygwin/release/GNOME/glib/glib-1.2.10-11.tar.bz2
           => `glib-1.2.10-11.tar.bz2'
Resolving mirror.mcs.anl.gov (mirror.mcs.anl.gov)... 146.137.96.7, 2620:0:dc0:1800:214:4fff:fe7d:1b9
Connecting to mirror.mcs.anl.gov (mirror.mcs.anl.gov)|146.137.96.7|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /pub/cygwin/release/GNOME/glib ...
No such directory `pub/cygwin/release/GNOME/glib'.

md5sum: glib-1.2.10-11.tar.bz2: No such file or directory
/usr/local/bin/apt-cyg: line 346: test: 4059d198768f9f8dc9372dc1c54bc3c3: unary operator expected
MD5 sum did not match, exiting


Ben Klaasen

unread,
Sep 27, 2013, 4:38:40 AM9/27/13
to apt-cyg...@googlegroups.com
This is because the repository has renamed the top-level directories so that 32- and 64-bit Cygwin are at the same level. Take a look at my local mirror:

$ find -maxdepth 2
.
./release-legacy
./release-legacy/hdf5
./unsupported
./unsupported/clean_setup.pl
./unsupported/cyglsa64.dll
./unsupported/md5.sum
./x86
./x86/release
./x86/setup.bz2
./x86/setup.bz2.sig
./x86/setup.ini
./x86/setup.ini.sig
./x86_64
./x86_64/release
./x86_64/setup.bz2
./x86_64/setup.bz2.sig
./x86_64/setup.ini
./x86_64/setup.ini.sig
./.message
./md5.sum
./setup.log
./setup.log.full
./setup-x86_64.exe
./setup-x86.exe

There are forks of apt-cyg available on GitHub that support this change, but the official apt-cyg sources haven't been changed yet.

regards
Ben

Isaac Xin Pei

unread,
Dec 23, 2013, 2:34:53 PM12/23/13
to apt-cyg...@googlegroups.com
adding /x86/ to the path fixed the issue, here's the link for the patch

we shall update the trunk with this fix

skl

unread,
Feb 19, 2014, 4:02:12 PM2/19/14
to apt-cyg...@googlegroups.com
This has been fixed in version 0.58, you just need to reinstall.
Reply all
Reply to author
Forward
0 new messages