X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Mon, 24 Sep 2007 17:42:32 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: setup.exe deleted some files Message-ID: <20070924214232.GA30727@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <46F81A4C DOT 1020504 AT columbus DOT rr DOT com> <46F82EC9 DOT 4010003 AT cygwin DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46F82EC9.4010003@cygwin.com> User-Agent: Mutt/1.5.16 (2007-06-09) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Mon, Sep 24, 2007 at 05:40:25PM -0400, Larry Hall (Cygwin) wrote: >Paul McFerrin wrote: >>When I inadvertantly ran setup to perform an upgrade of my B20 >>environment the other week, I noticed that it deleted some files in my >>/bin directory. One particular file was "cal.exe" which I use more >>frequently than a real calendar. Is this normal or was it a fluke. I >>restored it from my backups. Also deleted were "egrep.exe" and >>"fgrep.exe". > > > > > >I don't think it's reasonable to expect 'setup.exe' to upgrade your >packages from a B20 installation since too much has changed since then. >The key is to find the packages with the utilities you want and install >them. You can see from the links above, what you want still exists. >Just install the appropriate package. > > >>Can anyone explain the logic setup uses to determine which files to >>delete? Was it caused by some menu items not being checked with >>"keep"? > >If you uninstall a package, it removes the files for that package. If >you ask for an upgrade, it removes the old files and installs the new >ones. Of course, that assumes that the packages were installed with >'setup.exe' to begin with. If not, all bets are off. Yeah, I hear ya. B20 sure was great. Sigh. cgf -- 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/