huajianmao / apt-cyg Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/apt-cyg
License: MIT License
Automatically exported from code.google.com/p/apt-cyg
License: MIT License
What steps will reproduce the problem?
- when try to running the binary from /bin/apt-cyg
What is the expected output? What do you see instead?
XXX@YYYY-PC /msf3
$ svn --force export http://apt-cyg.googlecode.com/svn/trunk /bin/
A /bin
A /bin/apt-cyg
Exported revision 18.
XXX@YYYY-PC /msf3
$ chmod +x /bin/apt-cyg
XXX@YYYY-PC /msf3
$ apt-cyg
bash: /usr/bin/apt-cyg: Permission denied
What version of the product are you using? On what operating system?
revision 18, on CYGWIN which used for Metasploit 3.4.x
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 25 Jun 2010 at 11:47
Some packages (such as subversion and mc) don't "actually" get installed.
apt-cyg says the install completed successfully, but I still can't use the
command.
What steps will reproduce the problem?
1. $ apt-cyg install mc #or some other package
2. $ mc #command installed in package
What is the expected output? What do you see instead?
Instead of running mc (which should have been installed), there is an error
saying the command is not found
What version of the product are you using? On what operating system?
apt-cyg version 0.58
mintty 1.2-beta1 on x64 system
Original issue reported on code.google.com by [email protected]
on 22 Feb 2014 at 10:00
What use apt-cyg 64 bit ?
apt-cyg dot no rumming for cingwin64
please help
Original issue reported on code.google.com by [email protected]
on 21 Nov 2013 at 8:53
apt-cyg find is a bit odd... apt-cyg search is more natural if you are making
it as useful as apt-get is.
That said, here is a patch that allows this.
Now you can do:
alias apt-get='apt-cyg'
alias apt-cache='apt-cyg'
and you don't need to rewire your brain ;-)
Original issue reported on code.google.com by [email protected]
on 18 Feb 2011 at 9:24
Attachments:
What steps will reproduce the problem?
1. apt-cyg install fdupes
2.
3.
What is the expected output? What do you see instead?
Expected to successfully install the package fdupes.
Instead failed to download the package
What version of the product are you using? On what operating system?
0.57, windows 7 x64
Please provide any additional information below.
since now Cygwin supports both x86_64 and x86, package description is now
prefixed with either x86_64 or x86, for example "install:
x86_64/release/fdupes/fdupes-1.50-PR2-2.tar.bz2 49285
af716582bdb43075a226c0dbd081f810". Because the mirror url also gets either
x86_64 or x86 as the last part, a composed full package url would be like
"http://mirrors.neusoft.edu.cn/cygwin/x86_64/x86_64/release/fdupes/fdupes-1.50-P
R2-3.tar.bz2", which is not correct.
Original issue reported on code.google.com by [email protected]
on 1 Mar 2014 at 12:57
What steps will reproduce the problem?
1. wget http://apt-cyg.googlecode.com/svn/trunk/apt-cyg
2. chmod +x apt-cyg
3. mv apt-cyg /usr/local/bin
4. apt-cyg install gcc
What is the expected output? What do you see instead?
setup.bz2 and setup.ini cannot be found on mirrors:
--2013-08-11 15:56:43-- ftp://mirror.mcs.anl.gov/pub/cygwin/setup.bz2
=> `setup.bz2'
==> CWD not required.
==> SIZE setup.bz2 ... done.
==> PASV ... done. ==> RETR setup.bz2 ...
No such file `setup.bz2'.
--2013-08-11 15:56:44-- ftp://mirror.mcs.anl.gov/pub/cygwin/setup.ini
=> `.listing'
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 ... done.
==> PASV ... done. ==> LIST ... done.
[ <=> ] 516 --.-K/s in 0.001s
2013-08-11 15:56:45 (616 KB/s) - `.listing' saved [516]
Removed `.listing'.
--2013-08-11 15:56:45-- 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
What version of the product are you using? On what operating system?
Latest apt-cyg code from trunk, Windows 7, Cygwin 1.7.23.
Please provide any additional information below.
The mirrors now contain a folder representing the architecture, either x86 or
x86_64, example: http://cygwin.mirror.uk.sargasso.net/
Original issue reported on code.google.com by boothj5
on 11 Aug 2013 at 3:02
I've found this error several times, but I'm going to give you an example
of just one package this is occurring with:
The example I am giving is attempting to install the kdelibs package Please
note that apt-cygports is an alias for the following
alias apt-cygports='apt-cyg -m ftp://sourceware.org/pub/cygwinports/'
When I search for the kdelibs I get this:
$ apt-cygports -u find kdelibs
Working directory is /cygdrive/c/temp/cygwin
Mirror is ftp://sourceware.org/pub/cygwinports/
Searching for installed packages matching kdelibs:
kdelibs-data
kdelibs-devel
kdelibs4
Searching for installable packages matching kdelibs:
kdelibs
kdelibs-bin
kdelibs-data
kdelibs-devel
kdelibs4
However when I go to install kdelibs it always fails:
$ apt-cygports -u install kdelibs
Working directory is /cygdrive/c/temp/cygwin
Mirror is ftp://sourceware.org/pub/cygwinports/
Installing kdelibs
Found package kdelibs
basename: missing operand
Try `basename --help' for more information.
--2009-09-07 17:27:50-- ftp://sourceware.org/pub/cygwinports//
=> `.listing'
Resolving sourceware.org... 209.132.176.174
Connecting to sourceware.org|209.132.176.174|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /pub/cygwinports/ ... done.
==> PASV ... done. ==> LIST ... done.
[ <=> ] 729 --.-K/s in 0s
2009-09-07 17:27:52 (2.37 MB/s) - `.listing' saved [729]
Removed `.listing'.
Wrote HTML-ized index to `index.html' [1349].
Why does it come back as a HTML listing rather than just install the package??
Using apt-cyg version 0.57 on windows xp sp3 with cygwin
Original issue reported on code.google.com by [email protected]
on 12 Sep 2009 at 9:03
What steps will reproduce the problem?
1. Follow Quick start instructions on home page (svn step then chmod step)
2. Try to use apt-cyg as in the example: # apt-cyg install nano
What is the expected output? What do you see instead?
Result should be:
apt-cyg should run and try to install nano.
Instead it is:
bash: apt-cyg: command not found
What version of the product are you using? On what operating system?
apt-cyg 0.57
OS: CYGWIN_NT-5.1 1.7.1(0.218/5/3) 2009-12-07 11:48 i686 Cygwin
Please provide any additional information below.
Running using the explicit path /bin/apt-cyg/apt-cyg works as expected and
nano is installed.
Original issue reported on code.google.com by [email protected]
on 11 Jan 2010 at 1:41
What steps will reproduce the problem?
1. Install cygwin x86_64
2. Install apt-cyg
3. Run 'apt-cyg install git'
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
OS: Windows 8
APP: apt-cyg 0.57
Please provide any additional information below.
Mirror structures are changed, expected file setup.ini can't be found in mirror
root, instead it located at architecture directory
(http://XXXX/pub/cygwin/x86_64/setup.ini)
In my case I fixed the problem by changing these lines:
88: mirror=http://mirror.isoc.org.il/pub/cygwin/x86_64
331: install=`cat "release/$pkg/desc" | awk '/^install: / { print $2; exit
}'|sed 's/\/x86_64//g'`
Original issue reported on code.google.com by [email protected]
on 19 Nov 2013 at 8:56
What steps will reproduce the problem?
1. install 64 bit cygwin
2. download the utility as mentioned on the wiki
3. try to use it.
I had to apply the following patch to get it working:
$ diff -u /tmp/apt-cyg /bin/apt-cyg
--- /tmp/apt-cyg 2010-04-28 00:25:43.315784000 +0530
+++ /bin/apt-cyg 2013-08-30 12:27:57.411357400 +0530
@@ -65,7 +65,7 @@
{
# default working directory and mirror
- mirror=ftp://mirror.mcs.anl.gov/pub/cygwin
+ mirror=http://mirrors.kernel.org/sourceware/cygwin
cache=/setup
# work wherever setup worked last, if possible
@@ -95,14 +95,14 @@
then
touch setup.ini
mv setup.ini setup.ini-save
- wget -N $mirror/setup.bz2
+ wget -N $mirror/x86_64/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/x86_64/setup.ini
if test -e setup.ini && test $? -eq 0
then
echo Updated setup.ini
I changed the mirror just so that I use a more trusted server. Otherwise, the
mirror in use does not matter.
The main problem is that it is looking for setup.ini and setup.bz2 in the wrong
location.
If I include "x86_64" inside the mirror location itself, then it appends
another "x86_64" when looking for actual package files, thus failing later.
Either ways, it fails and so I had to fix it in the above manner.
I was using 32 bit cygwin earlier and did not have this problem.
Original issue reported on code.google.com by [email protected]
on 30 Aug 2013 at 7:03
Working directory and mirror should be taken from setup.rc by default.
Now they are hard-coded to "/setup" and "ftp://mirror.mcs.anl.gov/pub/cygwin".
Original issue reported on code.google.com by [email protected]
on 21 Nov 2012 at 1:30
What steps will reproduce the problem?
1. launch every commands thats require remote setup.ini
ex:
apt-cyg install nano
What is the expected output? What do you see instead?
I expeted the installation process but i found:
------
$ /usr/bin/apt-cyg find php
Working directory is /setup
Mirror is http://mirrors.kernel.org/sources.redhat.com/cygwin/
--2013-08-16 12:21:49--
http://mirrors.kernel.org/sources.redhat.com/cygwin//setup.bz2
Connessione a 10.4.4.100:8080...connesso.
Richiesta Proxy inviata, in attesa di risposta... 404 Not Found
2013-08-16 12:21:49 ERRORE 404: Not Found.
--2013-08-16 12:21:49--
http://mirrors.kernel.org/sources.redhat.com/cygwin//setup.ini
Connessione a 10.4.4.100:8080...connesso.
Richiesta Proxy inviata, in attesa di risposta... 404 Not Found
2013-08-16 12:21:49 ERRORE 404: Not Found.
-----
What version of the product are you using? On what operating system?
r18 on Windows
Please provide any additional information below.
I found a solution: with new upgrade of cygwin the repos location change so i
put in /etc/setup/last-mirrors this:
http://mirrors.kernel.org/sourceware/cygwin/x86/
Original issue reported on code.google.com by [email protected]
on 16 Aug 2013 at 10:38
Hi had a quick look at apt-cyg and basically I like it, but it lacks the
possibility to handle multiple mirrors at once like setup.exe does.
I usually start setup.exe like "setup.exe -K http://cygwinports.org/ports.gpg"
and then select a normal mirror AND the cygwinports mirror. This way I get the
packets of both mirrors in one list and can install and update them together.
I'd really like apt-cyg to be able of this too.
One note, setup.exe has a bug with this currently, as e. g. git is in both
mirrors, but with different versions (normal mirror now newer than
cygwinports), but only the versions from cygwinports are shown, not the ones
from the normal mirror. This use-case should be handled properly in apt-cyg if
the feature gets implemented.
Original issue reported on code.google.com by [email protected]
on 25 Aug 2014 at 5:19
What steps will reproduce the problem?
1. apt-cyg update
2. apt-cyg install openssh
3.
What is the expected output? What do you see instead?
Installing openssh; at least downloading the package
What version of the product are you using? On what operating system?
apt-cyg version 0.57
Please provide any additional information below.
Tried different mirrors, default mirror and other cygwin mirrors. all fail with
following :
$ apt-cyg install openssh
Working directory is /setup
Mirror is http://mirrors.kernel.org/sources.redhat.com/cygwin/x86_64
--2014-03-26 12:09:15--
http://mirrors.kernel.org/sources.redhat.com/cygwin/x86_64/setup.bz2
Auflösen des Hostnamen »mirrors.kernel.org«... 149.20.4.71, 149.20.20.135,
2001:4f8:8:10:0:1994:3:14, ...
Verbindungsaufbau zu mirrors.kernel.org|149.20.4.71|:80... verbunden.
HTTP-Anforderung gesendet, warte auf Antwort... 200 OK
Länge: 322810 (315K) [application/x-bzip2]
In »»setup.bz2«« speichern.
100%[===========================================================================
======================================>] 322.810 87,0K/s in 3,8s
2014-03-26 12:09:19 (82,3 KB/s) - »»setup.bz2«« gespeichert [322810/322810]
Updated setup.ini
Installing openssh
Found package openssh
--2014-03-26 12:09:19--
http://mirrors.kernel.org/sources.redhat.com/cygwin/x86_64/x86_64/release/openss
h/openssh-6.6p1-1.tar.xz
Auflösen des Hostnamen »mirrors.kernel.org«... 149.20.4.71, 149.20.20.135,
2001:4f8:8:10:0:1994:3:14, ...
Verbindungsaufbau zu mirrors.kernel.org|149.20.4.71|:80... verbunden.
HTTP-Anforderung gesendet, warte auf Antwort... 404 Not Found
2014-03-26 12:09:19 FEHLER 404: Not Found.
md5sum: openssh-6.6p1-1.tar.xz: No such file or directory
/usr/bin/apt-cyg: Zeile 346: test: 14065beb2594c8f2bc78dd82afd27246:
Einstelliger (unärer) Operator erwartet.
MD5 sum did not match, exiting
Original issue reported on code.google.com by [email protected]
on 26 Mar 2014 at 11:10
What steps will reproduce the problem?
1. apt-cyg install (anything)
What is the expected output? What do you see instead?
When apt-cyg worked, I would show the requirement install tree like this:
* package
** cygwin
*** base-cygwin
** requirement
*** cygwin
**** base-cygwin
** ...
Recently, the servers have been updated so the package "cygwin", which apt-cyg
thinks every package requires, requires _autorebase, and that made apt-cyg
infinitely recurse. I would show the new requirement install tree like this:
* package
** cygwin
*** base-cygwin
*** _autorebase
**** dash
***** cygwin
****** base-cygwin
****** _autorebase
******* ...
**** libgcc1
***** cygwin
****** base-cygwin
****** _autorebase
******* ...
** requirement
*** cygwin
**** base-cygwin
**** _autorebase
***** dash
****** cygwin
******* base-cygwin
******* _autorebase
******** ...
***** libgcc1
****** cygwin
******* base-cygwin
******* _autorebase
******** ...
** ...
What version of the product are you using? On what operating system?
apt-cyg Revision 18, default mirror (mirror.mcs.anl.gov), Cygwin 1.7.12-1
Please provide any additional information below.
Original issue reported on code.google.com by rohanpai12
on 13 Apr 2012 at 3:18
After renaming 'apt-cyg' to 'apt', I got the following error during install
of a package:
/usr/bin/apt: line 378: apt-cyg: command not found
Guess it should invoke $0 instead?
(Works very well otherwise. Much more convenient than setup. Thanks!)
Original issue reported on code.google.com by andy.koppe
on 7 Sep 2009 at 12:12
apt-cyg install any_package
will redownload setup.bz2 for every package in dependences,
apparently it does not care about --noscripts switch
please see suggested patch in attachment
Original issue reported on code.google.com by [email protected]
on 3 Mar 2009 at 6:00
Attachments:
I'd like if there was an "apt-cyg upgrade" feature, like the "apt-get
upgrade" feature on Debian-based systems. This would mean you could do an
"apt-get update && apt-get upgrade" to upgrade everything in cygwin.
The instructions for this should probably clearly state that it doesn't
upgrade apt-cyg or cygwin itself if it doesn't. Then again, the instructions
could easily have upgrade instructions for them too.
Original issue reported on code.google.com by [email protected]
on 26 Jan 2010 at 1:49
What steps will reproduce the problem?
1.
2.
3.
What is the expected output? What do you see instead?
i can specify or change my favorite mirror site directly.
What version of the product are you using? On what operating system?
cygwin 1.7.9-1, windows xp sp3.
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 8 Sep 2011 at 3:05
When running apt-cyg find <foo>, the output currently only lists the
package names. Having 2 more columns to indicate 1) the currently
installed version and 2) the version available according to setup.bz would
make it easy to know what's up to date, etc.
Original issue reported on code.google.com by [email protected]
on 27 Aug 2009 at 12:10
What steps will reproduce the problem?
1. On a Cycgwin install without gcc. Install gcc.
What is the expected output? What do you see instead?
The postinstall script should run. However, you will get access denied error
when apt-cyg attempts to run the postinstall script.
What version of the product are you using? On what operating system?
Most recent SVN.
Cygwin on Windows 7.
Please provide any additional information below.
This is a simple problem. Execute privileges are not set for the gcc
postinstall script. I added a chmod line to set them for each post install
before running it. I assumed the same problem could occur for remove scripts so
I did it there as well. All works great now. I've attached a simple patch to
implement this fix.
Original issue reported on code.google.com by [email protected]
on 29 Jun 2011 at 2:46
Attachments:
On fresh install, apt-cyg will try to dl setup.bz2 from
//mirror.mcs.anl.gov/pub/cygwin/setup.bz2 instead of
//mirror.mcs.anl.gov/pub/cygwin/x86/setup.bz2
easy fix: on line 98, replace
CODE wget -N $mirror/setup.bz2
by
CODE wget -N $mirror/x86/setup.bz2
What version of the product are you using? On what operating system?
Win 7 x86
Original issue reported on code.google.com by [email protected]
on 9 Jan 2014 at 10:18
Cygwin recently changed the layout of the mirror directories to look for an
arch type (x86 or x86_64)
Original issue reported on code.google.com by [email protected]
on 21 Aug 2013 at 1:29
Attachments:
Minor changes essentially to suit my personal preferences.
* search/find should be synonomous (issue #11, issue #15)
* Case-insensitive searching (issue #13)
* Default options pulled in from an environment variable
https://github.com/cfg/apt-cyg/compare/e454d2d12ef6a8da7a4e915bbdd4206ca8c69e87.
..master
Original issue reported on code.google.com by [email protected]
on 11 Oct 2012 at 2:47
Attachments:
Now only the latest version of a package can be installed. It would be nice to
be able to specify this.
As far as I understand Cygwin only has the latest and previous versions
available, but this is at least a little better than just the latest :-)
Original issue reported on code.google.com by [email protected]
on 15 Nov 2011 at 10:20
IMHO it will be more convenient if apt-cyg does case-insensitive search just
like aptitude and apt-cache does.
With a search word more than 2..3 letters long, there won't be too many hits
among ~2000 packages in Cygwin.
Assuming GAawk, ``BEGIN { IGNORECASE=1; }'' will suffice.
Original issue reported on code.google.com by [email protected]
on 1 May 2011 at 6:54
cygwin mirrors have changed their dir structure recently to have x86 and x86_64
subdirectories
Original issue reported on code.google.com by [email protected]
on 14 Aug 2013 at 10:20
in function
function getsetup()
{
if test "$noscripts" == "0" -a "$noupdate" == "0"
then
touch setup.ini
mv setup.ini setup.ini-save
// wget -N $mirror/setup.bz2
wget -N $mirror/x86/setup.bz2
if test -e setup.bz2 && test $? -eq 0
THEN
in function
install)
..........
..........
echo "Unpacking..."
// cat $file | bunzip2 | tar > "/etc/setup/$pkg.lst" xvf - -C /
cat $file | xz -d | tar > "/etc/setup/$pkg.lst" xvf - -C /
gzip -f "/etc/setup/$pkg.lst"
cd ../..
THE
the attached file is a sample file of architure x86 using mirrors.ustc.edu.cn
Original issue reported on code.google.com by [email protected]
on 25 Dec 2013 at 3:15
Attachments:
What steps will reproduce the problem?
1.
2.
3.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 8 Jan 2014 at 9:40
What steps will reproduce the problem?
1.
2.
3.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 31 Oct 2014 at 1:34
Please add a reinstall flag to install.
I had a package (tetex-bin) that wouldn't uninstall because tetex-bin.lst.gz
was missing. And it wasn't possible to install it because it was listed in
installed.db. The manual step in this case is to remove it from installed.db
and install (and then uninstall), but it would be easier if there was a
reinstall option.
Thanks!
Original issue reported on code.google.com by [email protected]
on 25 Apr 2012 at 12:36
First it would be nice to either have the instructions on the "project
home" page or at least a featured link to the wiki GettingStarted page.
Next i think the instructions for the installation could be simplified. How
about something like this:
First install subversion and wget through the standard cygwin setup
program. Then run the following commands:
{{{
svn export http://apt-cyg.googlecode.com/svn/trunk/apt-cyg /bin/apt-cyg
chmod +x /bin/apt-cyg
}}}
Original issue reported on code.google.com by [email protected]
on 25 Nov 2009 at 3:27
What steps will reproduce the problem?
1. apt-cyg install gs
2. apt-cyg find gs
3. apt-cyg find ghostscript
What is the expected output? What do you see instead?
It should download setup.bz2 once not three times. Use wget's -m or like
gentoo not redownload files but once a day.
What version of the product are you using? On what operating system?
most recent trunk version.
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 21 Apr 2010 at 1:38
I would like to augment apt-cyg such that cygwin and cygwinports could be
supported simultaneously.
mirror="`head -1 /etc/setup/last-mirror`"
to
declare -a mirrors=$(cat /etc/setup/last-mirrors)
Then proceed with wrapping the following functions in the appropriate for-loops:
findworkspace()
getsetup()
install()
Have you any objection, or might this already be underway?
Original issue reported on code.google.com by [email protected]
on 12 Sep 2014 at 11:45
1. Cygwin package path has been altered to differenciate 32bit (x86) and 64-bit
(x86_64) and installation fails
2. Some of the packages (like vim) are packed with lzlm compression with
extension .xz and hence bzip2 doesn't handle this
The given patch fixes both these issues
Original issue reported on code.google.com by [email protected]
on 19 Dec 2013 at 7:43
Attachments:
It would be very useful to make apt-cyg part of cygwin so we could install it
without extra steps.
Original issue reported on code.google.com by [email protected]
on 3 Jul 2013 at 9:24
apt-cyg for 64-bit cygwin did not find the correct path for the setup.bz2 and
setup.ini.
Find the attached patch to fix the issue
Original issue reported on code.google.com by [email protected]
on 19 Dec 2013 at 5:22
i fork this project on 'https://github.com/Simuc/apt-cyg'
add option '--x64' for release 'x86' and 'x86_64'
support '*.xz' package
add command 'reinstall' when previous installation has failed
Original issue reported on code.google.com by [email protected]
on 3 Nov 2013 at 8:40
What steps will reproduce the problem?
1. Execute "apt-cyg update"
2. You will then see the following output:
========================================
$ apt-cyg update
Working directory is /setup
Mirror is http://cygwin.mirrorcatalogs.com/
--2013-08-12 21:26:03-- http://cygwin.mirrorcatalogs.com//setup.bz2
Resolving cygwin.mirrorcatalogs.com (cygwin.mirrorcatalogs.com)... 204.45.83.21
Connecting to cygwin.mirrorcatalogs.com
(cygwin.mirrorcatalogs.com)|204.45.83.21|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2013-08-12 21:26:04 ERROR 404: Not Found.
--2013-08-12 21:26:04-- http://cygwin.mirrorcatalogs.com//setup.ini
Resolving cygwin.mirrorcatalogs.com (cygwin.mirrorcatalogs.com)... 204.45.83.21
Connecting to cygwin.mirrorcatalogs.com
(cygwin.mirrorcatalogs.com)|204.45.83.21|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2013-08-12 21:26:04 ERROR 404: Not Found.
Error updating setup.ini, reverting
========================================
----
What is the expected output? What do you see instead?
----
I believe the expected output would have been something other than "Error
updating setup.ini, reverting"
----
What version of the product are you using? On what operating system?
----
I downloaded the latest version and installed it with the following commands:
10 wget http://apt-cyg.googlecode.com/svn/trunk/apt-cyg
11 chmod +x apt-cyg
14 mv apt-cyg /usr/local/bin/
----
Please provide any additional information below.
----
This reminds me of an issue which I encountered when running the old CYGWIN
setup.exe installer and was only resolved by downloading the latest
setup-x86.exe. I know the difference is a new url or location of some mirror
index file. I will take a look at the source code and see if I can figure this
out.
(Just took a look at a mirror, and I think it is as simple as adding "/x86/ or
"/x86_64" to the mirror url....
Original issue reported on code.google.com by [email protected]
on 13 Aug 2013 at 1:30
Hi
I add an option "src" to get the source code of packages. For example:
apt-cyg src wget
will fetch the source code of wget and save it wo /usr/src
wish it's helpful
Original issue reported on code.google.com by [email protected]
on 19 Mar 2011 at 11:16
Attachments:
Here is a patch to allow users to apt-cyg search <packagename>, (in addition to
apt-cyg find <packagename>). This more closely mirrors apt-cache search
<packagename>.
What version of the product are you using? On what operating system?
apt-cyg version 0.57
Written by Stephen Jungels
Copyright (c) 2005-9 Stephen Jungels. Released under the GPL.
Please provide any additional information below.
--- /tmp/apt-cyg 2010-04-27 13:55:43.315784000 -0500
+++ /bin/apt-cyg 2011-08-25 09:58:25.351912900 -0500
@@ -39,6 +39,7 @@
echo " \"apt-cyg update\" to update setup.ini"
echo " \"apt-cyg show\" to show installed packages"
echo " \"apt-cyg find <patterns>\" to find packages matching patterns"
+ echo " \"apt-cyg search <patterns>\" to find packages matching patterns"
echo " \"apt-cyg describe <patterns>\" to describe packages matching patterns"
echo " \"apt-cyg packageof <commands or files>\" to locate parent packages"
echo "Options:"
@@ -181,7 +182,7 @@
shift
;;
- update|show|find|describe|packageof|install|remove)
+ update|show|search|find|describe|packageof|install|remove)
if test "-$command-" = "--"
then
command=$1
@@ -232,7 +233,7 @@
;;
- find)
+ find|search)
checkpackages
findworkspace
Original issue reported on code.google.com by [email protected]
on 25 Aug 2011 at 8:35
Previously apt-cyg worked without problems, today I get this error:
$ LANG=C apt-cyg update
Working directory is /setup
Mirror is
/setup.bz2: Scheme missing.
/setup.ini: Scheme missing.
Error updating setup.ini, reverting
$
Here some informations:
$ apt-cyg --version
apt-cyg version 0.57
$ uname -a
CYGWIN_NT-6.1-WOW64 PcMorgan-PC 1.7.20(0.266/5/3) 2013-06-07 11:11 i686 Cygwin
Original issue reported on code.google.com by [email protected]
on 12 Jun 2013 at 8:39
The new fork is https://github.com/wuyangnju/apt-cyg. It has solved below
problems:
Cygwin has distinguished 64bit version from 32bit version, and so does the
repositories.
Some packages(like python) have started using xz as its compressor rather than
bzip2.
Original issue reported on code.google.com by [email protected]
on 3 Dec 2013 at 5:28
Files with "xz" extensions seem not to be installed with apt-cyg
What steps will reproduce the problem?
1. fresh install cygwin with default plus wget
2. try installing LibXpm4
3. get error "bunzip2: (stdin) is not a bzip2 file."
What is the expected output? What do you see instead?
packages should be installed without this error
What version of the product are you using? On what operating system?
v0.58
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 10 Jul 2014 at 12:53
some files in the mirror ftp now use .tar.xz format, such as command 'pv'.
please enhance support for support .tar.xz file.
echo "Unpacking..."
cat $file | bunzip2 | tar > "/etc/setup/$pkg.lst" xvf - -C /
====>>>>>> changed to
echo "Unpacking..."
if [ $file == *.xz ]
then
cat $file | xz -d | tar > "/etc/setup/$pkg.lst" xvf - -C /
else
cat $file | bunzip2 | tar > "/etc/setup/$pkg.lst" xvf - -C /
fi
as e.g. fyi.
Original issue reported on code.google.com by [email protected]
on 29 Oct 2013 at 3:44
I attached a patch that resolves the problem (useful when you're doing
several "apt-cyg find" in a row)
Thanks for this nifty script, I've always found the Cygwin graphical
installer to be very annoying!
Original issue reported on code.google.com by [email protected]
on 9 Aug 2009 at 1:31
Attachments:
I don't know what the possible values for last-cache are in setup.rc, but since
my account name has a <SPACE> in it, the following works.
Also, you did quote the mkdir and cd in ONE place, but another one was left
unquoted.
$ apt-cyg --version
apt-cyg version 0.59
$ diff /usr/bin/apt-cyg /usr/bin/apt-cyg.DIST
80c80
< print $0
---
> print $1
292,293c292,293
< mkdir -p "$cache/$mirrordir/$dn"
< cd "$cache/$mirrordir/$dn"
---
> mkdir -p $cache/$mirrordir/$dn
> cd $cache/$mirrordir/$dn
thanks,
--stephen
Original issue reported on code.google.com by [email protected]
on 8 Nov 2014 at 6:03
What steps will reproduce the problem?
1. copy apt-cyg source to cygwin's /usr/bin/
2. apt-cyg install nano
What is the expected output? What do you see instead?
Expected:
Found package nano
Actual:
Package nano not found or ambiguous name, exiting
What version of the product are you using? On what operating system?
apt-cyg .57 on Windows 7
Please provide any additional information below.
Fix (attached):
98c98
< wget -N $mirror/x86/setup.bz2
---
> wget -N $mirror/setup.bz2
Original issue reported on code.google.com by [email protected]
on 16 Aug 2013 at 11:15
Attachments:
What steps will reproduce the problem?
1. apt-cyg install unzip
What is the expected output? What do you see instead?
Expect to find unzip installed afterwards. Instead, I see output
Installing unzip
Package unzip not found or ambiguous name, exiting
What version of the product are you using? On what operating system?
--version says "apt-cyg version 0.57"
Please provide any additional information below.
Workaround is to use setup.exe's gui to install unzip.
Original issue reported on code.google.com by [email protected]
on 26 Oct 2012 at 9:34
*Updated mirror changes but only include x86 packages.
*Support for xz packages.
Original issue reported on code.google.com by [email protected]
on 26 Nov 2013 at 6:03
Attachments:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.