Bug 85425 - rpm -e portmap gives error reading information on service portmap: No such file or directory
rpm -e portmap gives error reading information on service portmap: No such fi...
Status: CLOSED CURRENTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: portmap (Show other bugs)
8.0
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Steve Dickson
Jay Turner
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-03-02 01:04 EST by Jean-Christian Imbeault
Modified: 2015-01-07 19:04 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-08-12 14:27:02 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 Jean-Christian Imbeault 2003-03-02 01:04:37 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2)
Gecko/20021120 Netscape/7.01

Description of problem:
Cannot rpm -e portmap. If I try I get the following error:

# rpm -e portmap
error reading information on service portmap: No such file or directory
error: %preun(portmap-4.0-46) scriptlet failed, exit status 1

According to my rpm db the portmap rpm *is* installed.

# rpm --rebuilddb
# rpm -qa | grep portmap
portmap-4.0-46



Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. rpm -e portmap    

Actual Results:  error reading information on service portmap: No such file or
directory
error: %preun(portmap-4.0-46) scriptlet failed, exit status 1


Additional info:

I am using a custom 2.4.20 kernel if that makes a difference.
Comment 1 Jeff Johnson 2003-03-04 20:09:18 EST
You can remove if you add --noscripts.

Otherwise, this is a portmap packaging problem.
Comment 2 Jean-Christian Imbeault 2003-03-04 21:15:44 EST
Thanks, I did finally remove the rpm using --noscripts. However I would hope
that the rpm will be fixed so that this error does not come up.

To me this is a bug and hence needs to be fixed :)
Comment 3 Jean-Christian Imbeault 2003-03-05 05:09:35 EST
Sorry, I posted before actually trying ... using --noscript did not help

# rpm -qa | grep portmap
portmap-4.0-46
# rpm -e --noscript portmap
error reading information on service portmap: No such file or directory
error: %preun(portmap-4.0-46) scriptlet failed, exit status 1
Comment 4 Steve Dickson 2004-08-12 14:27:02 EDT
This seems to be fixed in later portmap rpms.

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