rpm -e perl-5.6.0-libxml-enno rpm -e perl-5.6.0-XML-Grove rpm -e perl-5.6.0-libxml-perl rpm -e perl-5.6.0-libwww-perl rpm -e perl-5.6.0-XML-Parser rpm -e perl-5.6.0-Parse-Yapp rpm -e perl-5.6.0-URI rpm -e perl-5.6.0-HTML-Parser rpm -e perl-5.6.0-DateManip rpm -e perl-5.6.0-DelimMatch rpm -e perl-5.6.0-String-CRC rpm -e perl-5.6.0-String-CRC32 rpm -e perl-5.6.0-MIME-Base64 rpm -e perl-5.6.0-Digest-MD5 rpm -e perl-5.6.0-libnet rpm -e perl-5.6.0-Msql-Mysql-modules rpm -e perl-5.6.0-DBI rpm -e perl-5.6.0-Data-ShowTable
rm -rf /usr/local/lib/perl/There may still be some man pages installed in /usr/local/man/ that relate to these non-cygutils-provided modules, so you might want to investigate the /usr/local/man tree for anything that looks "perlish" and remove it. I didn't bother.
Contributed by Vladimir Ivanovic. Additional 'obsolete' packages can easily by added by dropping the original .tar.gz file into the 'packages' directory or by generating .list.tar.gz files with the included scripts. See the README.
This version includes .list.tar.gz files to remove the following packages:
These packages are all of the ones that have been obsoleted as of 2001-May-13. They had been included in the 1999-Dec-08, 2000-May-06, 2000-Aug-25, or 2000-Dec-03 cygutils usr-local releases.
Overview ======== Certain contributed packages for Cygwin 1.1 have been made "obsolete" because they've been incorporated into the standard distribution of Cygwin. So, if you have an up-to-date Cygwin distribution, and you've installed some of these packages, you can remove the files in these packages without loss of functionality, and gain more disk space and a faster shell. The obsolete packages are listed on Chuck Wilson's web page: http://cygutils.netpedia.net/V1.1/index.html#note1 Unpacking the scripts ===================== Unpack the distribution `RemoveObsoletePackages.tar.gz' with $ tar xvzf RemoveObsoletePackages.tar.gz in some temporary directory. This will create a new directory (RemoveObsoletePackages) with three scripts and a directory called `packages' which contains all the obsolete package archive files. To save download size, these are actually 'fakes' generated by the conv_dist_to_list.sh script from the 'real' obsolete archive files. The 'fakes' contain only '0 byte' files with identical names and directory structure of the original tarballs. So, the obsolete zlib package zlib-1.1.3-1-cygwin1.tar.bz2 is represented by the fake tarball zlib-1.1.3-1-cygwin1.list.tar.bz2 However, you are free to put your own 'real' tarballs into the package directory if you like. Executing the scripts ===================== Perform the first four steps only if you wish to customize the file deletion. 1. [Optional] Delete from the directory `packages' all the archives that you have not installed. It's OK if you leave the directory as is. 2. [Optional] If you installed the cygutils usrlocal package but never updated to its newer version (released on May 6, 2000) then you might want to copy the files in packages/very-old/* into packages/. See packages/very-old/README. 3. [Optional] Delete 'obsoleted_files.data' and then run the script `make_data_file.sh'. This will create a new 'obsoleted_files.data' file that lists all the files you are going to delete. 4. [Optional] Examine the contents of `obsoleted_files.data' before executing the next step. Delete any file you wish to preserve. If directories become empty, they will be deleted as well; so if you wish to preserve directories remove those entries from 'obsoleted_files.data' The directory will NEVER be removed if there are still files in it -- the script does NOT use 'rm -rf' ever. So, don't worry that "usr/" appears in obsoleted_files.data. 5. Execute the script `remove_obsolete.sh' with $ remove_obsolete.sh or if you wish to log the files that were deleted, with $ remove_obsolete.sh | tee --append remove_obsolete.log Nothing should go wrong, go wrong, go wrong, ... but if something does, please let me know so I can correct the error(s)! Maintainer: Charles S. Wilson cwilson@ece.gatech.edu http://cygutils.netpedia.net/ Original Author: Vladimir G. Ivanovic vladimir@acm.org Implementation Notes ===================== If the distribution tarball for an obsoleted package contains symlinks to directories, then there could be unintended consequences. (Symlinks to files are not a problem). The worst that could happen in the former case is that the symlink to the directory could get removed, even though the target directory to which the symlink points is not empty. Just recreate the symlink by hand if this happens -- however, NONE of the cygutils packages have symlinks-to-directories, so this isn't an issue. I only mention this because folks *might* use this package for something other than removing obsoleted cygutils usr-local packages. License ======== Remove obsolete CygUtils packages from a Cygwin installation Copyright (C) 2000 Charles S. Wilson Originally contributed by Vladimir G. Ivanovic These scripts are free software; you can redistribute them and/or modify them under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. These scripts are distributed in the hope that they will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, US