LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Missing Dependency - yum (https://www.linuxquestions.org/questions/fedora-35/missing-dependency-yum-652416/)

hectorDUQUE 06-29-2008 11:19 AM

Missing Dependency - yum
 
hey guys,
does one of you knows what's going on in here?


Code:

yum update
Loaded plugins: downloadonly, refresh-packagekit
livna                                                    | 2.1 kB    00:00   
fedora                                                  | 2.4 kB    00:02   
adobe-linux-i386                                        |  951 B    00:00   
updates                                                  | 2.3 kB    00:00   
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package rhythmbox.i386 0:0.11.5-13.fc9 set to be updated
---> Package perl-Archive-Tar.i386 0:1.37-27.fc9 set to be updated
---> Package libertas-usb8388-firmware.noarch 2:5.110.22.p14-1.fc9 set to be updated
---> Package patch.i386 0:2.5.4-34.fc9 set to be updated
---> Package perl-Pod-Simple.i386 1:3.05-27.fc9 set to be updated
---> Package bluez-utils-cups.i386 0:3.32-1.fc9 set to be updated
--> Processing Dependency: tcl = 1:8.5.1 for package: tk
---> Package db4.i386 0:4.6.21-6.fc9 set to be updated
---> Package perl-Compress-Raw-Zlib.i386 0:2.008-27.fc9 set to be updated
---> Package perl-Module-Pluggable.i386 1:3.60-27.fc9 set to be updated
---> Package perl-ExtUtils-MakeMaker.i386 0:6.36-27.fc9 set to be updated
---> Package dvgrab.i386 0:3.1-3.fc9 set to be updated
---> Package perl-Pod-Escapes.i386 1:1.04-27.fc9 set to be updated
---> Package ettercap-common.i386 0:0.7.3-26.fc9 set to be updated
---> Package perl-version.i386 3:0.74-27.fc9 set to be updated
---> Package perl-ExtUtils-ParseXS.i386 1:2.18-27.fc9 set to be updated
---> Package perl-IO-Compress-Base.i386 0:2.008-27.fc9 set to be updated
---> Package ruby.i386 0:1.8.6.230-2.fc9 set to be updated
---> Package perl.i386 4:5.10.0-27.fc9 set to be updated
---> Package ffmpeg-compat.i386 0:0.4.9-0.47.20080225.lvn9 set to be updated
---> Package perl-Module-CoreList.i386 0:2.14-27.fc9 set to be updated
---> Package ypbind.i386 3:1.20.4-6.fc9 set to be updated
---> Package policycoreutils-gui.i386 0:2.0.49-7.fc9 set to be updated
---> Package db4-cxx.i386 0:4.6.21-6.fc9 set to be updated
---> Package perl-devel.i386 4:5.10.0-27.fc9 set to be updated
---> Package bluez-utils.i386 0:3.32-1.fc9 set to be updated
---> Package bluez-utils-alsa.i386 0:3.32-1.fc9 set to be updated
---> Package fetchmail.i386 0:6.3.8-7.fc9 set to be updated
---> Package nautilus-sendto.i386 0:1.0.0-1.fc9 set to be updated
---> Package perl-IO-Zlib.i386 1:1.07-27.fc9 set to be updated
---> Package telepathy-salut.i386 0:0.2.3-2.fc9 set to be updated
---> Package tcl.i386 1:8.5.2-2.fc9 set to be updated
---> Package ettercap.i386 0:0.7.3-26.fc9 set to be updated
---> Package perl-libs.i386 4:5.10.0-27.fc9 set to be updated
---> Package amsn.i386 0:0.97-4.fc9 set to be updated
---> Package ruby-libs.i386 0:1.8.6.230-2.fc9 set to be updated
---> Package hdf5.i386 0:1.8.1-1.fc9 set to be updated
---> Package perl-Compress-Zlib.i386 0:2.008-27.fc9 set to be updated
---> Package ffmpeg-libs.i386 0:0.4.9-0.46.20080225.lvn9 set to be updated
---> Package kdelibs-common.i386 6:4.0.5-4.fc9 set to be updated
---> Package db4-devel.i386 0:4.6.21-6.fc9 set to be updated
---> Package policycoreutils.i386 0:2.0.49-7.fc9 set to be updated
---> Package gyachi.i386 0:1.1.35-6.fc9 set to be updated
---> Package perl-IO-Compress-Zlib.i386 0:2.008-27.fc9 set to be updated
---> Package perl-Test-Harness.i386 0:2.64-27.fc9 set to be updated
--> Finished Dependency Resolution
1:tk-8.5.1-4.fc9.i386 from installed has depsolving problems
  --> Missing Dependency: tcl = 1:8.5.1 is needed by package 1:tk-8.5.1-4.fc9.i386 (installed)
Error: Missing Dependency: tcl = 1:8.5.1 is needed by package 1:tk-8.5.1-4.fc9.i386 (installed)



i have fedora 9.

thaks in advance,

hector

zeno0771 06-29-2008 12:10 PM

Hector, welcome to dependency hell.
Fast way around this is uninstall tk, do the update, then reinstall it.
Many times, it's not considered a good idea to just update everything in one crunch; one can run into compatibility/version mismatch/dependency issues such as this.

rjlee 06-29-2008 12:56 PM

Alternatively, you might try waiting a day or so and trying again.

What might have happened is that your repository maintainer has updated something to the latest version (in the repository), but that has in turn broken something else which still depends on it.

This is particularly common with testing repositories, and Fedora/RPM-based systems seem to have more problems than I have encountered running Ubuntu/DEB-based systems (but that may be apocryphal). Anyway, problems like these you should generally expect to be fixed fairly quickly.

So I would tend to wait at least a day, and if the problem persists then start by updating what packages you can, and then take it from there.

You could also talk to the Fedora package maintainers: http://fedoraproject.org/wiki/Extras

hectorDUQUE 06-29-2008 04:15 PM

unistalling tk and updating the system worked fine, but reinstallation falls in the same problem:

Code:

yum install tk
Loaded plugins: downloadonly, refresh-packagekit
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package tk.i386 1:8.5.1-4.fc9 set to be updated
--> Processing Dependency: tcl = 1:8.5.1 for package: tk
--> Finished Dependency Resolution
1:tk-8.5.1-4.fc9.i386 from updates has depsolving problems
  --> Missing Dependency: tcl = 1:8.5.1 is needed by package 1:tk-8.5.1-4.fc9.i386 (updates)
Error: Missing Dependency: tcl = 1:8.5.1 is needed by package 1:tk-8.5.1-4.fc9.i386 (updates)


i will wait two days :-(


thank you guys for comments ...

cheers

hector

billymayday 06-29-2008 04:28 PM

Next time this happens, try

yum update --exclude=tk

It saves you reinstalling (or not if it won't work)

billymayday 06-29-2008 07:33 PM

Sorry - got the wrong package (I always have to play around with these problems - just updated a F9 system and hit the same issue)

yum update --exclude=tcl

(or yum update -xtcl)

hectorDUQUE 06-29-2008 08:33 PM

thank you billymayday ...


All times are GMT -5. The time now is 07:39 PM.