PDA

View Full Version : yum fails, samba needs samba-common


tashirosgt
14th September 2004, 04:43 PM
On this 64 bit installation (created from the install everything option), I did one update in August using
yum -y update
and this worked.
I did yum clean and tried to do an update this weekend. But it fails early in the process.
The console messages are:
Gathering header information file(s) from server(s)
Server: Fedora Core 2 - x86_64 - Base
Server: Fedora Core 2 - x86_64 - Released Updates
Finding updated packages
Downloading needed headers
samba-client-0-3.0.7-2.FC 100% |=========================| 10 kB 00:01
samba-swat-0-3.0.7-2.FC2. 100% |=========================| 24 kB 00:04
samba-common-0-3.0.7-2.FC 100% |=========================| 11 kB 00:01
samba-0-3.0.7-2.FC2.x86_6 100% |=========================| 30 kB 00:05
Resolving dependencies
....Unable to satisfy dependencies
Package samba needs samba-common = 0:3.0.3, this is not available.

Is this a bug with the Redhat server's packages or can I fix this manually somehow?

zg0000
14th September 2004, 04:57 PM
Its annoying is what it is. I solved this by manually downloading all the samba updates and using rpm to force them to install (yum wont do this).

I can't remember if I had to do a force: rpm --force -ivh Samba.rpm

or nodeps.

But it worked.

Finalzone
14th September 2004, 07:34 PM

Be careful of using --force as there is a risky that you break the databse of rpm.

zg0000
14th September 2004, 09:43 PM
Very true, but in this case its just correcting dependencies, as long as you do the full update (FC2 update wants you to have 3.0.6 but it think it wants 3.0.3).

wzzrd
17th September 2004, 07:55 PM
I just removed the samba package all together and yummed away.
Problem lies probably in the fact that the install ISO carries samba 3.0.3 and the severs only hold >3.0.6. If samba-common isn't installed then (and that's what happens), deps can't be resolved. But, if you remove samba, update and then reinstall samba, you directly install >3.0.6 and the problem is gone.

At least, that's what I hope that'll happen. Yum is still snorring away :p But then again, what the heck if samba won't install anymore. It's not as if I use the damn' program... :D