rpm and yum problems after fc2 to fc3 update

Peio Popov peio at peio.org
Wed Apr 27 11:45:11 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Hi,
~ I am having issues with rpm and yum after a upgrade from fc2 to fc3.
When I try to install a package with yum (version 2.2.0) I end up with
an error like:

Error: Requiring package openssl-devel-0.9 not in transaction set
~                            nor in rpmdb

Based on the advice in:
http://www.brandonhutchinson.com/Upgrading_Red_Hat_Linux_with_yum.html
I checked my rpm version
# rpm --version
RPM version 4.3.1

But when I did # rpm -qi rpm it showed me:
Version     : 4.3.2

And indeed the rpm executable file itself was dated
# ls -lh /bin/rpm
- -rwxr-xr-x  1 rpm rpm 76K Nov  1 21:54 /bin/rpm

I tried to replace it manually using --force but it did not help and it
gave me strange error messages that are attached at the end of the email.

Can anybody give me an idea what might the problem be and how I may fix it.

Thank you

Peio Popov	

# rpm -Uvh --test rpm-4.3.2-21.i386.rpm
error: Unterminated {: {lua:
~  5<           (empty)
error: Macro %__policy_tree failed to expand
error: Unterminated {: {lua:
~  6<             (empty)
error: Macro %__policy_tree failed to expand
error: Unterminated {: {lua:
~  7<               (empty)
error: Macro %__policy_tree failed to expand
error: Unterminated {: {lua:
~  8<                 (empty)
error: Macro %__policy_tree failed to expand
error: Unterminated {: {lua:
~  9<                   (empty)
error: Macro %__policy_tree failed to expand
error: Unterminated {: {lua:
~ 10<                     (empty)
error: Macro %__policy_tree failed to expand
error: Unterminated {: {lua:
~ 11<                       (empty)
error: Macro %__policy_tree failed to expand
error: Unterminated {: {lua:
~ 12<                         (empty)
error: Macro %__policy_tree failed to expand
error: Unterminated {: {lua:
~ 13<                           (empty)
error: Macro %__policy_tree failed to expand
error: Unterminated {: {lua:
~ 14<                             (empty)
error: Macro %__policy_tree failed to expand
error: Unterminated {: {lua:
~ 15<                               (empty)
error: Macro %__policy_tree failed to expand
error: Recursion depth(17) greater than max(16)
error: Macro %__policy_tree failed to expand
~ 15<                               }
error: Recursion depth(17) greater than max(16)
error: Recursion depth(17) greater than max(16)
error: Recursion depth(17) greater than max(16)
~ 15<                               (empty)
~ 14<                             (empty)
~ 13<                           }
~ 12<                         }
~ 11<                       }
~ 10<                     }
~  9<                   }
~  8<                 }
~  7<               }
~  6<             }
~  5<           }
~  4<         }
~  3<       }
~  2<     }
~  1<   }
~  0< /etc/selinux/t="targeted"
f = io.open("/etc/selinux/config")
if f then
~  for l in f:lines() do
~    if "SELINUXTYPE=" == string.sub(l,0,12) then t=string.sub(l,13); end
~  end
~  f:close()
end
print (t)
}t="targeted"
f = io.open("/etc/selinux/config")
if f then
~  for l in f:lines() do
~    if "SELINUXTYPE=" == string.sub(l,0,12) then t=string.sub(l,13); end
~  end
~  f:close()
end
print (t)
}t="targeted"
f = io.open("/etc/selinux/config")
if f then
~  for l in f:lines() do
~    if "SELINUXTYPE=" == string.sub(l,0,12) then t=string.sub(l,13); end
~  end
~  f:close()
end
print (t)
}t="targeted"
f = io.open("/etc/selinux/config")
if f then
~  for l in f:lines() do
~    if "SELINUXTYPE=" == string.sub(l,0,12) then t=string.sub(l,13); end
~  end
~  f:close()
end
print (t)
}t="targeted"
f = io.open("/etc/selinux/config")
if f then
~  for l in f:lines() do
~    if "SELINUXTYPE=" == string.sub(l,0,12) then t=string.sub(l,13); end
~  end
~  f:close()
end
print (t)
}t="targeted"
f = io.open("/etc/selinux/config")
if f then
~  for l in f:lines() do
~    if "SELINUXTYPE=" == string.sub(l,0,12) then t=string.sub(l,13); end
~  end
~  f:close()
end
print (t)
}t="targeted"
f = io.open("/etc/selinux/config")
if f then
~  for l in f:lines() do
~    if "SELINUXTYPE=" == string.sub(l,0,12) then t=string.sub(l,13); end
~  end
~  f:close()
end
print (t)
}t="targeted"
f = io.open("/etc/selinux/config")
if f then
~  for l in f:lines() do
~    if "SELINUXTYPE=" == string.sub(l,0,12) then t=string.sub(l,13); end
~  end
~  f:close()
end
print (t)
}t="targeted"
f = io.open("/etc/selinux/config")
if f then
~  for l in f:lines() do
~    if "SELINUXTYPE=" == string.sub(l,0,12) then t=string.sub(l,13); end
~  end
~  f:close()
end
print (t)
}t="targeted"
f = io.open("/etc/selinux/config")
if f then
~  for l in f:lines() do
~    if "SELINUXTYPE=" == string.sub(l,0,12) then t=string.sub(l,13); end
~  end
~  f:close()
end
print (t)
}t="targeted"
f = io.open("/etc/selinux/config")
if f then
~  for l in f:lines() do
~    if "SELINUXTYPE=" == string.sub(l,0,12) then t=string.sub(l,13); end
~  end
~  f:close()
end
print (t)
}t="targeted"
f = io.open("/etc/selinux/config")
if f then
~  for l in f:lines() do
~    if "SELINUXTYPE=" == string.sub(l,0,12) then t=string.sub(l,13); end
~  end
~  f:close()
end
print (t)
}
/etc/selinux/t="targeted"
f = io.open("/etc/selinux/config")
if f then
~  for l in f:lines() do
~    if "SELINUXTYPE=" == string.sub(l,0,12) then t=string.sub(l,13); end
~  end
~  f:close()
end
print (t)
}t="targeted"
f = io.open("/etc/selinux/config")
if f then
~  for l in f:lines() do
~    if "SELINUXTYPE=" == string.sub(l,0,12) then t=string.sub(l,13); end
~  end
~  f:close()
end
print (t)
}t="targeted"
f = io.open("/etc/selinux/config")
if f then
~  for l in f:lines() do
~    if "SELINUXTYPE=" == string.sub(l,0,12) then t=string.sub(l,13); end
~  end
~  f:close()
end
print (t)
}t="targeted"
f = io.open("/etc/selinux/config")
if f then
~  for l in f:lines() do
~    if "SELINUXTYPE=" == string.sub(l,0,12) then t=string.sub(l,13); end
~  end
~  f:close()
end
print (t)
}t="targeted"
f = io.open("/etc/selinux/config")
if f then
~  for l in f:lines() do
~    if "SELINUXTYPE=" == string.sub(l,0,12) then t=string.sub(l,13); end
~  end
~  f:close()
end
print (t)
}t="targeted"
f = io.open("/etc/selinux/config")
if f then
~  for l in f:lines() do
~    if "SELINUXTYPE=" == string.sub(l,0,12) then t=string.sub(l,13); end
~  end
~  f:close()
end
print (t)
}t="targeted"
f = io.open("/etc/selinux/config")
if f then
~  for l in f:lines() do
~    if "SELINUXTYPE=" == string.sub(l,0,12) then t=string.sub(l,13); end
~  end
~  f:close()
end
print (t)
}t="targeted"
f = io.open("/etc/selinux/config")
if f then
~  for l in f:lines() do
~    if "SELINUXTYPE=" == string.sub(l,0,12) then t=string.sub(l,13); end
~  end
~  f:close()
end
print (t)
}t="targeted"
f = io.open("/etc/selinux/config")
if f then
~  for l in f:lines() do
~    if "SELINUXTYPE=" == string.sub(l,0,12) then t=string.sub(l,13); end
~  end
~  f:close()
end
print (t)
}t="targeted"
f = io.open("/etc/selinux/config")
if f then
~  for l in f:lines() do
~    if "SELINUXTYPE=" == string.sub(l,0,12) then t=string.sub(l,13); end
~  end
~  f:close()
end
print (t)
}t="targeted"
f = io.open("/etc/selinux/config")
if f then
~  for l in f:lines() do
~    if "SELINUXTYPE=" == string.sub(l,0,12) then t=string.sub(l,13); end
~  end
~  f:close()
end
print (t)
}t="targeted"
f = io.open("/etc/selinux/config")
if f then
~  for l in f:lines() do
~    if "SELINUXTYPE=" == string.sub(l,0,12) then t=string.sub(l,13); end
~  end
~  f:close()
end
print (t)
}: No such file or directory
Preparing...                ###########################################
[100%]
~        package rpm-4.3.2-21 is already installed

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFCb3tH8UbNiFZbZr0RAnr2AKCEHNmhiems+79KnYm6+DG6N0rjswCgvl6O
Iv4hv/yowooD9S4L9lhjcu0=
=9Z6O
-----END PGP SIGNATURE-----




More information about the fedora-list mailing list