Bug 22325
Summary: | RPM can't install update rpms | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Bill Anderson <bill> | ||||
Component: | rpm | Assignee: | Jeff Johnson <jbj> | ||||
Status: | CLOSED NOTABUG | QA Contact: | David Lawrence <dkl> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 7.0 | Keywords: | Security | ||||
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: | 2000-12-17 00:48:34 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: | |||||||
Attachments: |
|
Description
Bill Anderson
2000-12-15 03:13:25 UTC
BTw, thi sis a clean install of 7.0, format and all. I don't know how it got that way, but thats an interesting question in itself. Howeve the problem appears to be corruption in the RPM database. rpm --rebuilddb will attempt to fix it up and then solve the rest. I would like to know what package installing tools you have used on that box to try and figure the other question out - eg up2date, gnorpm, helix_installer etc The only thing I've done are hand updates and helix_installer. Am trying the rebuild now ... still waiting ... uhhh ....this looks bad: db3 error(5) performing db->sync: Input/output error db3 error(5) performing db->sync: Input/output error db3 error(5) performing db->sync: Input/output error db3 error(5) performing db->sync: Input/output error db3 error(5) performing db->sync: Input/output error db3 error(5) performing db->sync: Input/output error db3 error(5) performing db->sync: Input/output error db3 error(5) performing db->sync: Input/output error db3 error(5) performing db->sync: Input/output error db3 error(5) performing db->sync: Input/output error db3 error(5) performing db->sync: Input/output error db3 error(5) performing db->sync: Input/output error db3 error(5) performing db->sync: Input/output error db3 error(5) performing db->sync: Input/output error db3 error(5) performing db->sync: Input/output error db3 error(5) performing db->sync: Input/output error ... gettin LOTS of these .... have PLENTY of free space ... (1.7 Gig) Doesn't seem to be doing anything other than screenfuls of these ... Oh, there it dumped: db3 error(5) performing db->sync: Input/output error __db_assert: "0" failed: file "../dist/../common/db_err.c", line 200 Aborted (core dumped) :( Do the following strace -o /tmp/xxx db_dump /var/lib/rpm/Packages > /dev/null and append the last 30 or so lines to this report. Um, the last 30 lines of /tmp/xxx. cant find a db_dump on my system anywhere ... bash$ rpm -qf /usr/bin/db_dump db3-utils-3.1.17-5 Created attachment 6513 [details]
last 30 lines of the db_dump command
The line that looks like read(4, 0x4028a36c, 4096) = -1 EIO (Input/output error) idicates that you have some sort of disk hardware problem. From "man 2 read": ... EIO I/O error. This will happen for example when the process is in a background process group, tries to read from its controlling tty, and either it is ignoring or blocking SIGTTIN or its process group is orphaned. It may also occur when there is a low-level I/O error while reading from a disk or tape. This smells like a hardware problem, Please reopen if I'm wrong. |