delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:mime-version:in-reply-to:references:from:date | |
:message-id:subject:to:content-type:content-transfer-encoding; | |
q=dns; s=default; b=YRdXEpmiCe3uanhWbVZojCxeMJZTgBRKYSAxgbEAATb | |
1/yWn+6/CfbhcIlrDCfwPj5Oo4HgxMAlS/QcC2vcDSWPv/C9BxKsz8S0yd0eG3LB | |
yMKrbA8HgV+1yJ8KFD/yV42CYHUT42NUxE+PTWFgQjcwJslLQOm4b5KRVdxabeEM | |
= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:mime-version:in-reply-to:references:from:date | |
:message-id:subject:to:content-type:content-transfer-encoding; | |
s=default; bh=FuWAJICb9q+Hq5GoGdWkvospyt4=; b=vWgaD9y2/i8L6N5KF | |
THn+sMkJhQ1VSQIwaqgf52Gvg7gYp/YfF2f90j8WJIq1HHaGugWyiwqCBlSFGjss | |
Zb/yhZRdER/n5GjnHVYEE8FD1ixys/zDYKFAzEeJpn5u3psBpaVoXV46fLUH+K4V | |
myEjOs0Z2SPeT0z2iPNL0OJ7xI= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=-1.1 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD autolearn=ham version=3.3.2 |
X-HELO: | kautler.net |
X-Received: | by 10.140.38.17 with SMTP id s17mr37080599qgs.40.1409010437866; Mon, 25 Aug 2014 16:47:17 -0700 (PDT) |
MIME-Version: | 1.0 |
In-Reply-To: | <494061537.20140826003924@yandex.ru> |
References: | <CAKChYSru=H790F9i7xCxOctGbyjX7WSp2AkYrg_KVRmtX-Q19w AT mail DOT gmail DOT com> <494061537 DOT 20140826003924 AT yandex DOT ru> |
From: | =?UTF-8?Q?Bj=C3=B6rn_Kautler?= <Bjoern AT Kautler DOT net> |
Date: | Tue, 26 Aug 2014 01:46:57 +0200 |
Message-ID: | <CAKChYSry3rEhMi59iAwjVBwTt7-Jas+k3Ww6fr0JWtKWNPNVZA@mail.gmail.com> |
Subject: | Re: setup.exe handles same packages in multiple mirrors badly |
To: | cygwin AT cygwin DOT com |
X-IsSubscribed: | yes |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id s7PNllZF026096 |
Hm, now that's interesting. But first things first, it is Björn or Bjoern, not Bjorn. :-) Now to the interesting part. If I call setup.exe like the following: setup-cygwin.exe --site ftp://mirrors.kernel.org/sourceware/cygwinports/ --site ftp://ftp.hawo.stw.uni-erlangen.de/cygwin/ --only-site --root D:\\cygwin --package-manager - -local-package-dir D:\\cygwin-packages --no-shortcuts --pubkey http://cygwinports.org/ports.gpg from the console, the console brings amongst other things the message package git comparing versions 2.0.4-1 and 1.8.5.5-1, result was 1 Now I only wanted to update the git packages, so I selected "Keep" in the upper right corner, filtered for "git" in the upper left and then cycled in the "New" column and only got the entries "Keep", "1.8.5.5-1" and "Uninstall". If I now instead select "Curr" in the upper right, the git packages have "2.0.4-1" selected in "New" column. If I now cycle through the possibilities I still keep only getting "Keep", "1.8.5.5-1" and "Uninstall". The only way to get 2.0.4-1 back in that column is to deselect "Curr" and select "Curr" again. So to just update Git to the newest version I would currently have to select "Cur" and then manually change all other packages to "Keep", as this seems the only way to get 2.0.4-1 selected as "New" version. Now comes the even more interesting part. Now I started setup.exe with setup-cygwin.exe --site ftp://ftp.hawo.stw.uni-erlangen.de/cygwin/ --only-site --root D:\\cygwin --package-manager - -local-package-dir D:\\cygwin-packages --no-shortcuts --pubkey http://cygwinports.org/ports.gpg which is the same command but only the cygwinports mirror removed. What I see now is the same as before, just that the "New" column entries reduced to "Keep" and "Uninstall" and selecting "Curr" is still the only possibility to get 2.0.4-1 into the "New" column of the git packages. So this doesn't seem quite right, even with only one mirror selected. :-/ Actually I found a less cumbersome workaround than deselecting all other packages after selecting "Curr". Using --packages works, so either calling setup-cygwin.exe --site ftp://mirrors.kernel.org/sourceware/cygwinports/ --site ftp://ftp.hawo.stw.uni-erlangen.de/cygwin/ --only-site --root D:\\cygwin --package-manager --local-package-dir D:\\cygwin-packages --no-shortcuts --pubkey http://cygwinports.org/ports.gpg --packages git --packages git-completion --packages git-cvs --packages git-gui --packages git-svn --packages gitk or directly setup-cygwin.exe --site ftp://mirrors.kernel.org/sourceware/cygwinports/ --site ftp://ftp.hawo.stw.uni-erlangen.de/cygwin/ --only-site --root D:\\cygwin --local-package-dir D:\\cygwin-packages --no-shortcuts --pubkey http://cygwinports.org/ports.gpg --packages git --packages git-completion --packages git-cvs --packages git-gui --packages git-svn --packages gitk --quiet-mode works in selecting only the git packages and updating them to the current version. Now that 2.0.4-1 is installed, it lets me select "Keep", "Reinstall", "Source", "1.7.9-1", "1.8.5.5-1" and "Uninstall", so setup.exe obviously already supports versions from different mirrors (repos) as 1.7 is previous version on normal mirror and 1.8 is from cygwin-ports. Best regards Björn 2014-08-25 22:39 GMT+02:00 Andrey Repin <anrdaemon AT yandex DOT ru>: > Greetings, Bjorn Kautler! > >> I usually start setup.exe like "setup.exe -K >> http://cygwinports.org/ports.gpg" and select the cygwinports mirror >> and a "normal" mirror in the mirror selection page to have the >> packages from both mirrors readily available, selectable and >> updatable. > >> Unfortunatley, setup.exe seems to not handle this properly if a >> package is present on both mirrors. When I look at the available >> versions for the git packages, then I only see the 1.8 versions from >> cygwinports, not the newly released ones from the normal mirror. (yes, >> I made sure I selected a mirror where the packages are already >> available) > >> In such a case I think setup.exe should provide the versions of all >> the mirrors for selection and auto-select the newest version >> cross-mirror for update. > > Never had a problem. > > P.S. > run ./setup-${ARCH}.exe -K http://cygwinports.org/ports.gpg -O -s http://mirrors.kernel.org/sourceware/cygwin/ -s http://mirrors.kernel.org/sourceware/cygwinports/ > > > -- > WBR, > Andrey Repin (anrdaemon AT yandex DOT ru) 26.08.2014, <00:37> > > Sorry for my terrible english... > -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |