I am having trouble updating my packages on RH 8.0.
I'm trying to add windows file support to my installation but Linux keeps telling me that I need samba-common 2.2.5. Well, the recent update at RHN has updated my files and the currnet samba-common package I have on the system is 2.2.7-2. When I do a query of this package, the information is displayed but listed as "not-installed". I thought about installing the old package (2.2.5) but not only does the system tell me that there is a newer version installed (even though the query shows as not installed), it tells me that the samba-client 2.2.7 package needs samba-common 2.2.7.
So, I'm pretty much at a loss to how I should proceed. My guess is that some of the packages on the system still require samba-common 2.2.5 while others need 2.2.7 but how do I resolve this? Do I have to go through all the packages one by one and find out their dependencies and update all of them manually?
Please help. As you can see I am new to Linux and any suggestions would be appreciated.
rpm -Uvh --replacepkgs samba-common-2.2.7 samba.1.rpm samba.2.rpm ect Do that and it fix everything and update to 2.2.7. Dep problems like this is one reason I don't like redhat :-?
Thanks for the reply.
I'm still having trouble, though.
When I do a rpm -qa, it lists the samba-common-2.2.7-2 package as installed but the system does not seem to find it and gives me an error message like below.
(list from rpm -qa cmmd)
samba-common-2.2.7-2 <--- it's right here!
[root@localhost root]# rpm -qp samba-common-2.2.7-2
error: open of samba-common-2.2.7-2 failed: No such file or directory
Same result if I do the replacepkg command. Any hints?
Just run the command that i said. It will reinstall samba 2.2.7
This is what I get using rpm with replacepkgs option.
[root@localhost root]# rpm -Uvh --replacepkgs samba-common-2.2.7 samba.1.rpm samba.2.rpm ect
error: open of samba-common-2.2.7 failed: No such file or directory
error: open of samba.1.rpm failed: No such file or directory
error: open of samba.2.rpm failed: No such file or directory
error: open of ect failed: No such file or directory
You need to replace those names with the names of your samba packages you want to install.
Thanks, I got it working.