Comments (5)
[deleted comment]
from apt-cyg.
This problem also occurs with the current apt-cyg and the 32-bit version of
cygwin. The suggested fix (appending 'x86' to the mirror URL only when
downloading the setup files) resolves the issue. I am thinking the cygwin
mirrors altered their directory structures for the 64-bit cygwin release.
Anyway, based on the provided fix, I threw 32/64-bit detection into the mix.
$ diff -u apt-cyg.broke apt-cyg
--- apt-cyg.broke 2013-09-03 09:34:33.035199100 -0400
+++ apt-cyg 2013-09-03 10:17:35.909293600 -0400
@@ -29,6 +29,8 @@
exit 1
fi
+arch=x86 # default to x86
+[[ -n `uname -a | grep x86_64` ]] && arch=x86_64
function usage()
{
@@ -94,14 +96,14 @@
then
touch setup.ini
mv setup.ini setup.ini-save
- wget -N $mirror/setup.bz2
+ wget -N $mirror/$arch/setup.bz2
if test -e setup.bz2 && test $? -eq 0
then
bunzip2 setup.bz2
mv setup setup.ini
echo Updated setup.ini
else
- wget -N $mirror/setup.ini
+ wget -N $mirror/$arch/setup.ini
if test -e setup.ini && test $? -eq 0
then
echo Updated setup.ini
-Clayton
Original comment by [email protected]
on 3 Sep 2013 at 2:19
from apt-cyg.
Thank you both, I applied Claytons patch to my apt-cyg and it's working
perfectly. -Greg
Original comment by [email protected]
on 16 Oct 2013 at 5:56
from apt-cyg.
so how/ when does this fix get checked in?
Original comment by [email protected]
on 17 Oct 2013 at 5:02
from apt-cyg.
Changes have been merged, thanks.
Original comment by [email protected]
on 19 Feb 2014 at 8:41
- Changed state: Verified
from apt-cyg.
Related Issues (20)
- Mirror structures are changed, any install action failed. HOT 3
- apt-cyg for 64 bit HOT 2
- Patch for /trunk/apt-cyg HOT 1
- A New Fork on github HOT 1
- Does not work on 64bit cygwin HOT 4
- Does not work on 64bit cygwin and for packages with are xz compressed HOT 2
- Here comes a solution to the architecture defined HOT 1
- ~ HOT 1
- repo /x86/ subdir is not taken for first setup dowload HOT 1
- Some packages do not install properly HOT 2
- arch prefix affects installation of packages
- apt-cyg fails install - http error 404 not found?
- "xz" extension problem HOT 1
- Multi-mirror
- /etc/setup/last-mirror should support last-mirrors.
- 21127 HOT 1
- 'apt-cyg' should work for Windows Accounts with spaces HOT 1
- Package sshpass not found or ambiguous name, exiting
- ./apt-cyg: line 388: apt-cyg: command not found
- md5 sum error HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apt-cyg.