delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/01/06/11:41:52

From: eugene AT bgs DOT com (Eugene Kanter)
Subject: Re: more cygwin patches
6 Jan 1999 11:41:52 -0800 :
Message-ID: <3693722E.55E59BF4.cygnus.gnu-win32@bgs.com>
References: <Pine DOT LNX DOT 4 DOT 02A DOT 9901051444210 DOT 1381-100000 AT panic DOT can DOT seawood DOT org>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

Christopher Seawood wrote:

> While we're on the subject, does anyone know how to get around the problem
> of replacing a file that is currently in use?  Upgrading rpm itself via
> rpm is practically impossible as /usr/lib/rpm/rpmrc must be present and
> therefore can't be replaced and causes the upgrade to fail.
>

I have a version of rpm-2.5.pre6 which does not require any configuration
files to be present. Default rpmrc and rpmpopt are compiled into the binary.
There still is a problem upgrading rpm binary itself, however it can be
partially avoided by copying rpm binary to /tmp and running it from there.

Source rpm is available in ftp://ftp.ultra.net/pub/eugene/SRPMS directory. I
can provide a binary upon request.

For general rule of upgrading locked files the best information I found so
far is from the book "Bulletproof installs" by Leslie E. Easter. ISBN
0137980914. The idea is to schedule a rename operation upon next reboot. It
is done via registry on NT and wininit.ini file on W95.

Eugene.


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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