This is the mail archive of the cygwin-apps mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Jan 28 10:55, Corinna Vinschen wrote: > On Jan 27 22:14, Corinna Vinschen wrote: > > On Jan 27 22:04, Achim Gratz wrote: > > > Corinna Vinschen writes: > > > > Or today. Can you try this patch? Most of it is a bit of reformatting, > > > > the importnat part is the last set_action call. > > > > > > I think I'll get this wedged in sometime tomorrow. > > > > Thanks. I think I have a better one, though. The CleanOrphansOption > > in cinjunction of not having a "curr" package should immediately trigger > > the packagemeta::Uninstall_action: > > [...] > This test release has another puzzeling problem I have to figure out > yet. For some reason, it's impossible to downgrade packages at all. > Worse, if you try that, it will remove the package. That's a rather > weird side effect of my changes, which were only supposed to change > the selection method, not the underlying workings. Oh well. I applied a patch and uploaded new test versions, 2.863, to https://cygwin.com/setup-test-x86.exe https://cygwin.com/setup-test-x86_64.exe These should fix the aforementioned bug I introduced, as well as another subtil problem when checking and unchecking the Bin/Src boxes. If both boxes were deselected, the package got uninstalled without showing up in the "Pending" view. I worked around that by setting the package state explicitely to "Uninstall" if both boxes got deselected. This version also introduces an experimental option -m/--mirror-mode. There's something bugging me for a long time as well. We're running our own Cygwin mirror on a local Linux box. The directory is mounted via NFS on my Windows boxes. So, rather than installing from internet, I "Install from Local Directory", with the local directory being the NFS-mounted mirror directory. This works fine, except that, after parsing setup.ini, setup hangs unresponsive for about 2 minutes. Only then the chooser window opens. It turned out that the 2 minutes are spent iterating throught the full set of packages and testing each package and each packageversion if the underlying package file exists in the download directory. Given that the directory is a mirror in my case, the test makes only marginal sense. Therefore I added the -m option which avoids most file system access and only checks in a border case (installed version is not in setup.ini). If you're doing as I do, running a local mirror, you may welcome this option. I just don't guarantee that it always works ;} If you find a bug, don't hesitate to report it. Thanks, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat
Attachment:
pgp9nYwBA5WLd.pgp
Description: PGP signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |