Bug 32698

Summary: Error importing librpm.so.0 in up2date-2.1.7 with rpm-4.0.2
Product: [Retired] Red Hat Linux Reporter: Need Real Name <avir2>
Component: up2dateAssignee: Preston Brown <pbrown>
Status: CLOSED CURRENTRELEASE QA Contact: Jay Turner <jturner>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2CC: abdulla_m, rudi, srevivo
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-03-22 14:20:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Need Real Name 2001-03-22 14:20:20 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.2.18 i686)


After installing new rpm-4.0.2, running up2date-2.1.7 leads to the
following message:
Traceback (innermost last):
  File "/usr/sbin/up2date", line 9, in ?
    import rpm
ImportError: /usr/lib/librpm.so.0: undefined symbol: fdio


Reproducible: Always
Steps to Reproduce:
1.up2date
2.
3.
	

Actual Results:  Traceback (innermost last):
  File "/usr/sbin/up2date", line 9, in ?
    import rpm
ImportError: /usr/lib/librpm.so.0: undefined symbol: fdio


Expected Results:  Update agent window should appear.

Comment 1 Preston Brown 2001-03-22 16:29:56 UTC
The version of RPM on the network a few days ago did not depend on a new 
version of rpm-python.  It should have.  Because of this, you will need to 
retrieve rpm-python manually with ftp to correct the issue, and then 
everything will work again.  The packages have been corrected on the web site.

Go to ftp://updates.redhat.com/6.2/i386
and get rpm-python-4.0.2-6x.i386.rpm.


Comment 2 Preston Brown 2001-03-22 16:30:35 UTC
*** Bug 32657 has been marked as a duplicate of this bug. ***

Comment 3 Preston Brown 2001-03-22 16:54:07 UTC
*** Bug 32301 has been marked as a duplicate of this bug. ***

Comment 4 Jacob Killian 2001-03-22 20:53:35 UTC
Um...pardon my ignorance, but if rpm is broken, how am I supposed to fix it by
installing another rpm?

Comment 5 R.K.Aa. 2001-03-26 14:44:04 UTC
i installed the rpm-python package before upgrading to rpm 4.0.2 and rpm
fromcommandline works just fine.
But gnorpm and others are still as broken. Bug 33085 is still open on the issue.

Comment 6 Preston Brown 2001-04-03 15:43:01 UTC
*** Bug 34210 has been marked as a duplicate of this bug. ***

Comment 7 Abdullah 2003-11-05 19:09:06 UTC
Hi

I had uninstalled cdparanoia-libs-alpha9.8-15, following it 
immediately i started to get errors using rpm -q, or rpm -a commands 
and also using the up2date command.

Is there any solution cause now i cant even download and install the 
rpm manager, cause my rpm commands show /bin/rpm doesnt exist.

Here are the errors,

[root@www init.d]# rpm -aq | more
bash: /bin/rpm: No such file or directory

[root@www init.d]# up2date -u
Traceback (most recent call last):
  File "/usr/sbin/up2date", line 11, in ?
    import rpm
ImportError: librpm-4.2.so: cannot open shared object file: No such 
file or directory

Thanks
Abdullah


Comment 8 Abdullah 2003-11-05 19:09:31 UTC
Hi

I had uninstalled cdparanoia-libs-alpha9.8-15, following it 
immediately i started to get errors using rpm -q, or rpm -a commands 
and also using the up2date command.

Is there any solution cause now i cant even download and install the 
rpm manager, cause my rpm commands show /bin/rpm doesnt exist.

Here are the errors,

[root@www init.d]# rpm -aq | more
bash: /bin/rpm: No such file or directory

[root@www init.d]# up2date -u
Traceback (most recent call last):
  File "/usr/sbin/up2date", line 11, in ?
    import rpm
ImportError: librpm-4.2.so: cannot open shared object file: No such 
file or directory

Thanks
Abdullah