delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/08/02/14:14:00

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3988656D.BDEA27DE@ece.gatech.edu>
Date: Wed, 02 Aug 2000 14:16:13 -0400
From: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
X-Mailer: Mozilla 4.73 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Vladimir G Ivanovic <vladimir AT acm DOT org>
CC: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: Dealing with obsoleted CygUtils packages
References: <200008021804 DOT LAA19179 AT prosper DOT leonora DOT org>

Vladimir G Ivanovic wrote:
> 
> How does one remove only those files in a CygUtils usr-local package
> (e.g. zlib, libpng, jbigkit, jpeg, tiff, login and inetutils)
> that are now obsolete because they are included in the standard Cygwin
> distribution?
> 
> I could:
> 
>   * delete everything and reinstall everything
>   * write a script that removes from /usr/local/... any file that also
>     exists in /usr/...
> 
> Are there any other options? How are other people dealing with this
> problem?

I did it by hand, on my system. As the note
(http://cygutils.netpedia.net/V1.1/index.html#note1) says:

Note1: Since the packages on the CygUtils site are built in /usr/local,
but the packages in the official distribution are built in /usr, you
won't clobber the official version by installing my usr-local package.
Also, if you have this usr-local package installed but later install an
official package that has obsoleted something included in usrlocal.tar,
the official version will not clobber the cygutils version. However, you
may get 'path-hiding' if /usr/local/bin comes prior to /usr/bin in your
PATH. I'd recommend deleting the obsoleted binaries from your personal
/usr/local/bin, and leaving /usr/local/bin in the front of your PATH.
See the cygutils web page for the obsoleted package -- each one shows a
list of all files installed by that package. For instance,
http://cygutils.netpedia.net/V1.1/zlib-1.1.3/index.html shows that the
following files are installed by the cygutils zlib package (and by the
usr-local.tar package): 

  /usr/local/include/dl_import.h
  /usr/local/include/zlib.h (dll version)
  /usr/local/include/zconf.h (dll version)
  /usr/local/include/static/zlib.h (static version)
  /usr/local/include/static/zconf.h (static version)
  /usr/local/lib/libz.a-static
  /usr/local/lib/libz.a-dll
  /usr/local/bin/libz.dll
  symlink libz.a to libz.a-dll

I would gladly accept a shell script or two that eliminates a cygutils
package from a system, and post it on cygutils. I plan to update
usrlocal soon so that new users don't inherit the currently obsolete
packages (zlib, libpng, tiff, jpeg, jbigkit, crypt, inetutils, and
texinfo -- possibly gdbm & cvs soon).

--Chuck
CygUtils maintainer.

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019