Bug 86329
| Summary: | RPM installs stopped working. Tried posted fixes. Still don't work. | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Jack Silberman <jack> |
| Component: | redhat-config-packages | Assignee: | Jeremy Katz <katzj> |
| Status: | CLOSED DUPLICATE | QA Contact: | Mike McLean <mikem> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 8.0 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | athlon | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2006-02-21 18:52:14 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
Jack Silberman
2003-03-19 21:01:23 UTC
There you are ;-)
Presumably you're segfaulting on "rpm -qa" after doing rpm --rebuilddb.
Can you give me a pointer (i.e. URL, attachments won't work) to
a tarball of your database
cd /var/lib
tar czvf /tmp/rpmdb-86329.tar.gz rpm
and I'll see if I can't figger what's wrong. Thanks.
OK, your database looks fine, header signatures/digests
all verify.
Can you try (as root)?
service nscd restart
There's a weird pam-ldap problem that affects statically
linked binaries like /bin/rpm that is corrected by running
the nscd daemon.
> Can you try (as root)?
> service nscd restart
I did.
Stopping nscd FAILED
Starting nscd OK
Tried calling Packages, still does not work.
thanks,
-JACK
OK, time for strace. Can you try running
strace -o /tmp/xxx /usr/lib/rpm/rpmq -qa -vv
and attaching /tmp/xxx output here? Thanks.
> strace -o /tmp/xxx /usr/lib/rpm/rpmq -qa -vv
command not found
-JACK
Download the strace package, install manually by
using rpm2cpio
cd /var/tmp
<download strace pkg here>
mkdir xxx
cd xxx
rpm2cpio ../strace*rpm | cpio -dim
find . -type d -exec chmod 755 {} \;
tar cf - . | (cd /; tar xvf -)
BTW, I suspect your problem is with the redhat-config-packages package,
that's the Python GUI that installs packages, so I'm probably gonna
redirect you as soon as I verify that rpm (and database and ...)
is AOK.
Quick check to see if rpm is working is
rpm -qa -vv
I'm gonna bounce you to redhat-config-packages, as
that's a different problem solution space.
> Quick check to see if rpm is working is > rpm -qa -vv Yep, it is working. I got a bunch of OKs then closed db index, closed dbindex, closed db environement. > m gonna bounce you to redhat-config-packages, as > that's a different problem solution space. OK Jeff, thank you for trying. I am looking for some more help once a new problem owner is assigned -JACK If you run redhat-config-packages from a terminal, what sort of output do you see? Hi, The same as calling it from the GUI "Packages". It starts, shows the two windows and some progress bar then dies ... thanks, -JACK And there's no output in the terminal when it dies? Sorry I should have sent you this.
Thanks,
-JACK
[root@Linux1 root]# redhat-config-packages
Traceback (most recent call last):
File "/usr/share/redhat-config-packages/MainWindow.py", line 163, in ?
comps = im.readCompsViaMethod(hdlist, progress.update)
File "/usr/share/redhat-config-packages/method.py", line 488, in
readCompsViaMethod
update_method = update_method)
File "/usr/share/redhat-config-packages/comps.py", line 387, in __init__
self.readCompsFile(file, self.packages)
File "/usr/share/redhat-config-packages/comps.py", line 471, in readCompsFile
self.setupStateDicts(packages)
File "/usr/share/redhat-config-packages/comps.py", line 420, in setupStateDicts
for prov in h[rpm.RPMTAG_PROVIDES]:
TypeError: iteration over non-sequence
[root@Linux1 root]#
received via email...
[root@Linux1 root]# redhat-config-packages
Traceback (most recent call last):
File "/usr/share/redhat-config-packages/MainWindow.py", line 163, in ?
comps = im.readCompsViaMethod(hdlist, progress.update)
File "/usr/share/redhat-config-packages/method.py", line 488, in
readCompsViaMethod
update_method = update_method)
File "/usr/share/redhat-config-packages/comps.py", line 387, in __init__
self.readCompsFile(file, self.packages)
File "/usr/share/redhat-config-packages/comps.py", line 471, in readCompsFile
self.setupStateDicts(packages)
File "/usr/share/redhat-config-packages/comps.py", line 420, in setupStateDicts
for prov in h[rpm.RPMTAG_PROVIDES]:
TypeError: iteration over non-sequence
[root@Linux1 root]#
*** This bug has been marked as a duplicate of 74877 ***
Jeremy, Iam new to Linux. What exact do I have to do to fix the problem? I read the other bug but I am not sure what do to. thank you, -JACK Changed to 'CLOSED' state since 'RESOLVED' has been deprecated. |