Re: Dependency resolution failed



Luis Orlindo Tedeschi wrote:
Folks; I've been trying to update Fedora 9 since last week and I keep
getting Dependency Resolution Failed. It says Missing Dependency:
tcl-devel = 1:8.5.1 is needed by package 1:tk-devel: 8.5.1-4.fc9.i386.
Does anyone have a solution for this? Thanks in advance.

It is trivial to do the following. (as root)
yum list updates > updates
Edit updates to leave only the packages. Put #! /bin/bash at the top. Replace the version of the package with *, and add yum -y update in front of each package. In vim, recording a macro to do this takes less than a minute.
Save the file.
Change the mode on updates to executable chmod +x updates
./updates

This is a little inefficient as it runs yum on individual packages that have been pulled in for dependencies already, but it will update everything except the invalid package.

When I was using rawhide I automated this with scripts and python programs (well, more sophisticated than this). There are almost always dependency errors in rawhide, so you would never get any updates if you didn't do something like this.

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: Easy way to update Fedora
    ... >>What is the easiest way to update Fedora. ... >>about yum but it has never worked for me, ... > packages or type a package name ... > UPDATES TO SYSTEM AND PROGRAMS: ...
    (Fedora)
  • Re: Yum: the dreaded metadata disease
    ... but it is completely useless to the yum user. ... First of all, the term "Metadata file" is incomprehensible to me, ... it is possible to get a list that's not been fully updated after a new package has been uploaded. ... When yum goes out to a repo to check for updates, it's downloading that list of files - that's the metadata package-list file. ...
    (Fedora)
  • Re: Why radeontool?
    ... when I ran 'yum update' on F7 I got two packages ... >> The two new packages are vbetool and radeontool. ... But as the updates started to arrive first one and then another problem would disappear. ... more about package management how's and why's. ...
    (Fedora)
  • Re: When the floodgates open ...
    ... a single package, I would like to hear it. ... and yum repo files which point to the current URLs. ... On the first yum update, this package will get installed (from the ... current updates URL, and signed with the old key). ...
    (Fedora)
  • Re: How do I install GPG keys for yum?
    ... Do I need a different key for RH8.0 updates? ... Or maybe yum can't see rpm's config files? ... > for other package maintainers). ... Fedora Linux / stable for Red Hat Linux 8.0 ...
    (linux.redhat)