Dave LeCompte (really) (tsmaster) wrote,
Dave LeCompte (really)

yum upgrade failure

Throwing this piece of information out to the web-spiders of the world. Perhaps someone else can benefit from my experience.

I'm upgrading my Fedora Linux systems, and I noticed that there was one package that was causing problems - I had a copy of Avahi from FC6 which hadn't got properly upgraded by the more-or-less automated processes. Or, doing more investigation, there was a (nearly) up-to-date version as well as the old version, both installed. The yum system should take care of that, and so it's not so surprising that once it's in the failure case, it's tricky to get it to remove the old copy.

I tried doing the obvious thing of yum remove avahi-blah-blah-fc6, which "succeeded", but the package was still installed. In fact, I could keep on issuing that remove command, which kept on "succeeding".

I tried rebuilding the RPM database, which also succeeded, but didn't change anything - the fc6 version of avahi was still around.

I tried rpm -e avahi-blah-blah-fc6, which complained about scriptlets failing (though no indication what a scriptlet is, or what the failure was). I then tried rpm -e --noscripts avahi-blah-blah-fc6 and that seemed to do the trick - the RPM database now no longer has a record of the old avahi, and I'm able to do a yum update just fine.

  • Living is Easy (With Eyes Closed)

    This is really primarily for Cassie, but I rarely post here, so it's also an exercise in "how does LJ work again? Or how does it work today?".…

  • No mudslides for me, thank you.

    Hey, is this thing on? I was just sending email to a mailing list (nothing exciting, don't feel insulted if you're not on it) that was thinking…

  • Trivial

    So, this past weekend, a bunch of my friends / acquaintences / teammates got together and competed in a local trivia competition. There are a few…

  • Post a new comment


    Comments allowed for friends only

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded