Re: Installing a copy of an installation on a new computer
On Wed, Mar 10, 2010 at 08:38:56AM +0100, Olle Olsson wrote: Hi, I found the following http://www.cygwin.com/ml/cygwin/2006-05/msg00753.html which might provide one practical solution. Will try this. /olle I was having trouble coming up with a sed command to convert all the version numbers to 0.0-0, so instead, I 'cut' all the package names from /etc/setup/installed.db and built a batch file to call setup.exe with the -P switch. #!/usr/bin/sh echo -n setup.exe -P $( for p in $(cut -d \ -f 1 /etc/setup/installed.db) do if [ $p == INSTALLED.DB ] then continue elif [ $p == _update-info-dir ] then continue else echo -n $p, fi done) portcyg.bat -- 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
Re: install from install files?
On Tue, Jul 28, 2009 at 10:56:12PM -0400, Larry Hall (Cygwin) wrote: On 07/28/2009 07:33 PM, Robert Mark Bram wrote: snip One more question: I notice that each time I update Cygwin, I get another ftp...mirror.. folder. I know this is not your question but I figured it was a point that was worth documenting for the archives if nothing else (though it has been made before so this would just be a recent version). You only get another folder if the mirror you selected for this update was different than the one(s) you selected the last time you ran 'setup.exe'. 'setup.exe' will use (and remember) up to 4 simultaneously selected mirrors. So you only need to select a (set of) mirror(s) once unless you prefer to do otherwise. I've got 8 of these directories in my local package directory; some end with %2f (/) and some don't. I zipped all this up, unzipped it on a new computer, and pointed setup to the unzipped copy, but setup hardly installed any of the packages, even though I can see all the the packages' tar.bz2 files there. I don't think the setup.ini files are getting merged correctly. Is there some way I can re-create one big setup.ini file from my current computer, and just have setup use that on the new computer ? - Tom -- 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
Re: problems with running Gnome applications
Belated thanks Dave (for reminding me to do what the bluefish website said but I forgot to do :-) On Thu, Jan 12, 2006 at 11:32:55AM -, Dave Korn wrote: Alessandro Lendaro wrote: i cant execute bluefish ( Bad system call message) etcetera. This is a http://cygwin.com/acronyms#WAG, but have you got CYGWIN=server set in your environment, and are you running the cygserver? That's a pretty common cause of Bad system call errors. Of course, I would already have known the answer to those two questions if you had sent your cygcheck output as an attachment, like it says at http://cygwin.com/problems.html ! cheers, DaveK -- Can't think of a witty .sigline today -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- 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
Re: ls / rm etc return no such file or directory
On Thu, Aug 09, 2007 at 01:50:59PM -0700, TomL wrote: Based on the idea that its a file locking problem, I ran handle from sysinternals, and it showed up as an open filehandle in an explorer.exe process. I terminated the process, and all is well. I don't understand how it got into that state yet, but I'm closer. Thanks for the hints. You're a lifesaver ! I get these a lot - sometimes several times a day with vim swap files. It happens when I run vim over an SSH or telnet session and the session crashes. After that vim gives me its warning whenever I try to edit that file until I delete swap file, which I can't. The only advice I could find was to reboot (which is pretty good advice for running Windows) which gets annoying on bad network days. Now I can run 'handle', then 'ps', cross ref the PID from cygwin to windows, and kill vim - much preferable to a reboot. Thanks. Tom -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
how to safely remove hardware with cygwin ?
Is there a cygwin command line utility that will perform the function that Windows does when you safely remove hardware - like before unplugging a USB drive ? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: how to safely remove hardware with cygwin ?
On Thu, Feb 28, 2008 at 01:36:38PM -0500, Igor Peshansky wrote: Not in the main distribution, but in the past I got both http://www.hoopyfrood.net/DevEject and http://www.heise.de/ct/03/16/links/208.shtml to work with minor modifications... I've been meaning to package them, but haven't gotten a round tuit yet. Igor Thanks Igor - I also just found out that MicroSoft provides a command line utility for their device manager called devcon and it seems to work for me, so no hurry on the package (but I'm sure the package would be better :-) - Tom -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
using a USB flash mem device
I got this nice little Sandisk sansa express MP3 player that plugs into the USB port on my XP machine. Unlike other USB devices I've used, Windows doesn't give this thing a drive letter, but does something else; it shows up on the explorer window and kind of acts like a drive there, but it doesn't show up in the /cygdrive directory. Is there a way I access this with cygwin as if it were a drive ? - Tom -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: using a USB flash mem device
On Sun, Sep 30, 2007 at 03:46:42PM -0400, Larry Hall (Cygwin) wrote: Check under the Disk Management snap-in in Windows (under Administrator Tools, Computer Management). If it shows up there, you should be able to set a drive letter. If not, you may be able to access it using /dev/sdXX syntax. See http://cygwin.com/cygwin-ug-net/using-specialnames.html for guidance on how to map the information you see here into /dev/sdXX form. Nope. It's not there. I did find it under Portable Devices but not under Disk Management. It's at Location 0 and has a device instance ID of USB\VID_0781PID_7460\0002FA821BB583890002FA821BB14592 I had to get Windows Media 10 in order to get Media Transfer Protocol (MTP - how clever of MS) capability before it would show up in explorer at all. I found an mtplib project on sourceforge but was hoping cygwin wouldn't need something like this. I guess I'll have to drag icons around for a while - what a drag. - Tom -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: using a USB flash mem device
On Sun, Sep 30, 2007 at 03:46:42PM -0400, Larry Hall (Cygwin) wrote: Check under the Disk Management snap-in in Windows (under Administrator Tools, Computer Management). If it shows up there, you should be able to set a drive letter. If not, you may be able to access it using /dev/sdXX syntax. See http://cygwin.com/cygwin-ug-net/using-specialnames.html for guidance on how to map the information you see here into /dev/sdXX form. On Sun, Sep 30, 2007 at 03:34:13PM -0600, Tom Hall wrote: Nope. It's not there. I did find it under Portable Devices but not under Disk Management. It's at Location 0 and has a device instance ID of USB\VID_0781PID_7460\0002FA821BB583890002FA821BB14592 I had to get Windows Media 10 in order to get Media Transfer Protocol (MTP - how clever of MS) capability before it would show up in explorer at all. I found an mtplib project on sourceforge but was hoping cygwin wouldn't need something like this. I guess I'll have to drag icons around for a while - what a drag. - Tom Never mind - I fixed it. The company has a discussion forum for product users (I like that) and someone there posted that you can update the driver from the default MTP to a USB storage device. That did the trick - now I can see it like a drive. I think I'll have problems with copyrighted materials but I'll worry about that if/when I have to. - Tom -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
just got wrong DLLs or wrong mutt.exe
I think there's a bug in the Cygwin setup I just installed Cygwin for the first time on an XP machine and mutt wouldn't run but other things seemed OK. The problem turned out to be that the version of mutt.exe I got was looking for /usr/bin/cygcrypto-0.9.7.dll and /usr/bin/cygssl-0.9.7.dll but setup.exe sent me /usr/bin/cygcrypto-0.9.8.dll and /usr/bin/cygssl-0.9.8.dll. After copying the .7 versions from another machine, mutt seems to be working fine :-). I found this by running mutt under gdb and got this: gdb: unknown target exception 0xc135 at 0x7c964ed1 Program received signal ?, Unknown signal. Program exited with code 03000465. You can't do that without a process to debug. I Googled exception 0xc135 and it had something to do with not finding a DLL. So I ran mutt under gdb on a very similarly configured machine and checked the DLLs being loaded. The other machine still had both the .8 and .7 versions since it's been running Cygwin for a year or so and it gets refreshed pretty regularly. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: df and floppy seeks
Date: Mon, 28 Feb 2005 06:28:33 -0700 From: Eric Blake [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: cygwin@cygwin.com Subject: df and floppy seeks [was: [ANNOUNCEMENT] Updated: findutils-20041227-1] -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Tom Hall on 2/27/2005 2:50 PM: You're right. After rebooting, the floppy seek stuff came back with df. Back to subst a: c: in my cygwin.bat :-( So, what are the symptoms of the df floppy seek stuff? Which version of coreutils are you using? More details would be nice, so I can determine if it is normal behavior or if I need to patch df. I have Cygwin installed in pretty much the default way, c:\cygwin, etc. When I want to see how full my c: drive is I run df . from any directory that's on my c: drive - typically my home directory. The symptom is that my computer goes clackity clackity clackity clack, and the floppy access light comes on. Same thing happens if I do things like df /home/tom, df /cygdrive/c, or even df /cygdrive/z, with Z: being a mapped network drive. df is /usr/bin/df; not an alias. I was running coreutils 5.2.1-5. After I saw your message, I upgraded to 5.3.0-2 but it still happens. There was some discussion about this last year; mostly with regards to the same symptoms with find (which have been fixed). - -- Life is short - so eat dessert first! (We'd probably live longer if we skipped dessert) Eric Blake [EMAIL PROTECTED] - Tom -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: [ANNOUNCEMENT] Updated: findutils-20041227-1
Date: Sat, 19 Feb 2005 12:50:19 -0500 From: Christopher Faylor [EMAIL PROTECTED] To: cygwin@cygwin.com Subject: Re: [ANNOUNCEMENT] Updated: findutils-20041227-1 On Sat, Feb 19, 2005 at 07:33:23AM -0700, Tom Hall wrote: On Mon, Dec 27, 2004 at 17:42:11 -, [EMAIL PROTECTED] wrote: ^ I've made a new version of 'findutils' available for installation... Thanks you ! Did you notice when this announcement went out? Yes. What's your point ? Perhaps more importantly, this version includes a patch from Corinna Vinschen which should stop the dreaded floppy seek problem that was reported on the cygwin mailing list. This also fixes the manifestation of this problem with df, which was actually bothering me more than find. Now they're both back to normal. No, actually it doesn't. df has nothing to do with findutils. You're right. After rebooting, the floppy seek stuff came back with df. Back to subst a: c: in my cygwin.bat :-( - Tom -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: [ANNOUNCEMENT] Updated: findutils-20041227-1
On Mon, Dec 27, 2004 at 17:42:11 -, [EMAIL PROTECTED] wrote: I've made a new version of 'findutils' available for installation... Thanks you ! Perhaps more importantly, this version includes a patch from Corinna Vinschen which should stop the dreaded floppy seek problem that was reported on the cygwin mailing list. This also fixes the manifestation of this problem with df, which was actually bothering me more than find. Now they're both back to normal. - Tom -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: [?@yahoo.com: Found problem of floppy drive acces]
Since this problem appears to be the result of a bug in Windows, and I don't use my floppy too much, I've come up with a Windows-level hack that makes the problem more tolerable for me on Windows 98 until the proper Cygwin solution is found. This works for both find and df. Add this line somewhere above where bash is called in CYGWIN.BAT : subst a: c: When I really want to use the floppy: subst a: /d [use the floppy] subst a: c: This assumes that c:\windows\command is in my path. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/