Bug 1761 - 2.92 dumps core, 2.5.6 deletes all files from the package.
2.92 dumps core, 2.5.6 deletes all files from the package.
Status: CLOSED WORKSFORME
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
6.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-03-24 17:00 EST by Eugene Kanter
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-08-30 19:28:48 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Eugene Kanter 1999-03-24 17:00:20 EST
here is the message I send to JBJ earlier:

Jeff, you remember my original pledge, here is the
continuation:

1. rpm -Uvh best1-ntc-6.3.00-2.i386.cygwin.rpm --ignoreos
--relocate
/best1_home=/$HOME --relocate "/Start Menu=/$HOME"

2. rpm -Uvh best1-ntc-6.3.00-3.i386.cygwin.rpm --ignoreos
--relocate
/best1_home=/$HOME --relocate "/Start Menu=/$HOME"

3. as a result of a second command ALL best1-ntc package
files are
deleted. Note that if you do not put '/' in front of $HOME,
everything
is OK. However I do need '//' as a first thing in the path
to satisfy
CYGWIN.

rpm --version
RPM version 2.5.6, almost stock RH 5.2

Packages in question available in the location:
ftp://ftp.ultra.net/pub/eugene/test. Packages contain just
one file for
test purposes. File is the same in both. Packages were made
on NT.

Any hints are greatly appreciated!!


------end of message------------

Today I decided to repeat the same on Red Hat 5.9, since
there have been aparently no interest in fixing rpm 2.5.6 at
this time.

here it is, stock RH 5.9

please note  the '/' before $HOME. I need it for normal RPM
functionality under CYGWIN/UWIN. It is very important. RPM
works fine otherwise.

[ekanter@EKANTER ekanter]$ cat .rpmrc
macrofiles: /usr/lib/macros:/home/ekanter/.rpmmacros
[ekanter@EKANTER ekanter]$ cat .rpmmacros
%_dbpath  /home/ekanter/rpmdb
[ekanter@EKANTER ekanter]$ rpm -Uvh
~eugene/redhat/RPMS/i386/best1-ntc-6.3.00-2.i386.cygwin.rpm
--ignoreos --relocate /best1_home=/$HOME --nodeps
best1-ntc
##################################################
[ekanter@EKANTER ekanter]$ rpm -Uvh
~eugene/redhat/RPMS/i386/best1-ntc-6.3.00-3.i386.cygwin.rpm
--ignoreos --relocate /best1_home=/$HOME --nodeps
best1-ntc
##################################################
Segmentation fault (core dumped)
[ekanter@EKANTER ekanter]$
Comment 1 Jeff Johnson 2000-07-26 07:49:52 EDT
AFAIK, this problem does not exist in rpm-3.0.x or later.

Note You need to log in before you can comment on or make changes to this bug.