Results 1 to 7 of 7
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. ...
- 01-18-2003 #1Just Joined!
- Join Date
- Jan 2003
- Posts
- 4
samba dependencies
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.
Thanks.
- 01-18-2003 #2Linux Engineer
- Join Date
- Jan 2003
- Location
- Lebanon, pa
- Posts
- 994
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
- 01-18-2003 #3Just Joined!
- Join Date
- Jan 2003
- Posts
- 4
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)
.............
fetchmail-5.9.0-21.8.0
libpng-devel-1.2.2-8
samba-common-2.2.7-2 <--- it's right here!
kernel-source-2.4.18-19.8.0
vim-enhanced-6.1-18.8x.1
glibc-common-2.2.93-5
setup-2.5.20-1
basesystem-8.0-1
bdflush-1.5-21
[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?
JJN
- 01-18-2003 #4Linux Engineer
- Join Date
- Jan 2003
- Location
- Lebanon, pa
- Posts
- 994
Just run the command that i said. It will reinstall samba 2.2.7
- 01-18-2003 #5Just Joined!
- Join Date
- Jan 2003
- Posts
- 4
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
[root@localhost root]#
??
- 01-19-2003 #6Linux Engineer
- Join Date
- Jan 2003
- Location
- Lebanon, pa
- Posts
- 994
You need to replace those names with the names of your samba packages you want to install.
- 01-19-2003 #7Just Joined!
- Join Date
- Jan 2003
- Posts
- 4
Thanks, I got it working.


Reply With Quote
