Bug 74099
Summary: | up2date fails with ImportError: No module named rpm | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Wes Barris <wes> |
Component: | up2date | Assignee: | Adrian Likins <alikins> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.2 | CC: | gafton, mihai.ibanescu |
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: | 2002-10-01 21:34:05 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
Wes Barris
2002-09-16 05:58:54 UTC
whats the output of `rpm -q rpm-python`? Sounds like rpm-python isnt installed properly. All versions of up2date should be require rpm-python however. also, what version of up2date? rpm -q up2date I have found the solution to this problem. Other software that we are running assumes that /usr/bin/python is version 2. /usr/bin/python had been re-linked to point to /usr/bin/python2 to make this other software work. To make up2date work again, I edited /usr/sbin/up2date and made it explicitly point to /usr/bin/python1.5 . I am having the same problem. How did you edit up2date to make it point to python1.5? Edit version in /usr/sbin/up2date; the link in /usr/bin/up2date is merely a method of calling consolehelper to get the root password. |