Hosed yum

Rodd Clarkson rodd at clarkson.id.au
Thu Feb 3 06:19:41 UTC 2005


On Wed, 2005-02-02 at 15:20 -0500, Jeff Spaleta wrote:
> On Wed, 2 Feb 2005 13:43:48 -0600, cam at apt2324.com <cam at apt2324.com> wrote:
> > What packages would anyone suggest I reinstall (from rpm) to fix
> > this?  I'm guessing something python-related, but I'm not certain
> > what.  Thanks.
> 
> I'd imagine you installed the 2.4 python from the development tree and
> did not update yum and/or its dependancies from the development tree. 
> fc3 has python 2.3 and the directories where python modules exist are
> python version specific.  You install python 2.4 and python no longer
> sees the modules in the 2.3 directories.
> 
> SO 
> check your installed python version  
> check the yum version 
> check the version of all the packages yum depends on
> 
> compare those versions against the versions in the fc3 tree and the
> development tree... and make sure you have a consistent set.

I'm seeing the same thing and I've just done a fresh install of FC3 and
then started trying to update to development.

So far I've run:

	yum update yum

I then had to do a little manual installation of the packages downloaded
because yum decided for some reason no to actually install the packages.
Packages included in this upgrade were:

slib-3a1-2.noarch.rpm
readline-*
python-2.4-3.i386.rpm
lvm2-2.01.03-1.0.i386.rpm
bc-1.06-18.i386.rpm
ftp-0.17-24.i386.rpm
lftp-3.0.13-1.i386.rpm
parted-1.6.21-1.i386.rpm
cadaver-0.22.2-1.i386.rpm
samba-client-3.0.10-4.i386.rpm
ntp-4.2.0.a.20040617-6.i386.rpm
pilot-link-0.11.8-10.i386.rpm
guile-1.6.4-18.i386.rpm
python-devel-2.4-3.i386.rpm
pilot-link-devel-0.11.8-10.i386.rpm
gphoto2-2.1.5-3.i386.rpm
alchemist-1.0.35-1.i386.rpm
samba-common-3.0.10-4.i386.rpm
python-ldap-2.0.1-3.i386.rpm
db4-*
device-mapper-1.01.00-1.i386.rpm
perl-5.8.6-3.i386.rpm
gimp-print-utils-4.2.7-4.i386.rpm
cdecl-2.5-31.i386.rpm
system-config-printer-*
gnome-python2-*
pyparted-1.6.9-2.i386.rpm
libxml2-*
pam-*
sendmail-8.13.3-1.i386.rpm
openoffice.org-*
dmraid-1.0.0.rc5f-3.i386.rpm
yum-2.1.13-1.noarch.rpm
compat-db-4.2.52-2.i386.rpm
compat-readline43-4.3-1.i386.rpm

(sorry about the *, this is a cut and paste from a rpm -Fvh effort).  

I also had to remove pam-ccreds and then install it again using the
version from development after installing the compat-* packages.

It might be worth noting that during the install I got the following
output:  (note the error after installing system-config-printer)

Preparing...                ########################################### [100%]
   1:readline               ########################################### [  2%]
   2:libxml2                ########################################### [  5%]
   3:db4                    ########################################### [  7%]
   4:python                 ########################################### [  9%]
   5:perl                   ########################################### [ 12%]
   6:pam                    warning: /etc/pam.d/system-auth created as /etc/pam.d/system-auth.rpmnew
########################################### [ 14%]
   7:alchemist              ########################################### [ 16%]
   8:parted                 ########################################### [ 19%]
   9:readline-devel         ########################################### [ 21%]
  10:pilot-link             ########################################### [ 23%]
  11:device-mapper          ########################################### [ 26%]
  12:pyparted               ########################################### [ 28%]
  13:system-config-printer  ########################################### [ 30%]
Traceback (most recent call last):
  File "/usr/share/printconf/util/updateconf.py", line 29, in ?
    import printconf_conf as conf
  File "/usr/share/printconf/util/printconf_conf.py", line 83, in ?
    from xml.utils import qp_xml
ImportError: No module named utils
  14:samba-common           ########################################### [ 33%]
  15:lftp                   ########################################### [ 35%]
  16:guile                  ########################################### [ 37%]
  17:gphoto2                ########################################### [ 40%]
  18:samba-client           ########################################### [ 42%]
  19:python-ldap            ########################################### [ 44%]
  20:lvm2                   ########################################### [ 47%]
  21:dmraid                 ########################################### [ 49%]
  22:pilot-link-devel       ########################################### [ 51%]
  23:pam-devel              ########################################### [ 53%]
  24:python-devel           ########################################### [ 56%]
  25:libxml2-devel          ########################################### [ 58%]
  26:libxml2-python         ########################################### [ 60%]
  27:db4-devel              ########################################### [ 63%]
  28:db4-utils              ########################################### [ 65%]
  29:sendmail               ########################################### [ 67%]
  30:gnome-python2-bonobo   ########################################### [ 70%]
  31:gnome-python2-gtkhtml2 ########################################### [ 72%]
  32:bc                     ########################################### [ 74%]
  33:ftp                    ########################################### [ 77%]
  34:cadaver                ########################################### [ 79%]
  35:ntp                    ########################################### [ 81%]
  36:gimp-print-utils       ########################################### [ 84%]
  37:cdecl                  ########################################### [ 86%]
  38:openoffice.org-i18n    ########################################### [ 88%]
  39:gnome-python2-canvas   ########################################### [ 91%]
  40:gnome-python2          ########################################### [ 93%]
  41:openoffice.org-libs    ########################################### [ 95%]
  42:openoffice.org         ########################################### [ 98%]
  43:system-config-printer-g########################################### [100%]
[rodd at trevally packages]$


Now when I try to run yum i get:

[rodd at trevally packages]$ sudo yum update
Traceback (most recent call last):
  File "/usr/bin/yum", line 6, in ?
    import yummain
  File "/usr/share/yum-cli/yummain.py", line 23, in ?
    import yum
  File "__init__.py", line 21, in ?
ImportError: No module named rpm
[rodd at trevally packages]$


Given that all these packages were downloaded as a result of updating
yum using yum from development, I'd be keen to know what yum failed to
include that it should have.


Rodd

-- 
>From the pain come the dream
>From the dream come the vision
>From the vision come the people
>From the people come the power
>From this power come the change

                         - Peter Gabriel




More information about the fedora-test-list mailing list