RE: Wow

December 4, 2006


Here’s a tool I put together to help with that problem,

It should probably go into yum-utils before long but there’s still some question if we shouldn’t handle the ‘something aborted the transaction badly, let’s restart in the middle’ problem internal to yum.

Update: Looks like you’re not alone 

7 Responses to “RE: Wow”

  1. Joe Buck Says:

    The .deb/apt world has the concept of “half-installed” or “half-removed”, which allows for the cleaning up of aborted operations in a much cleaner way (if a package is half-removed, the next time you fire up apt it knows it’s supposed to complete the removal, but that it might be in an inconsistent state). The RPM world appears to lack this concept.

  2. skvidal Says:

    How do you guarantee it is actually half-installed/half-removed and not “a quarter” installed? What are the checkpoints that are defined?

  3. Jonathan Says:

    Doesn’t work I’m afraid:
    # ./
    Setting up repositories

    …and then nothing.

  4. skvidal Says:

    It doesn’t output anything? Not even a message about ‘no dupes to remove’?

  5. Abramovici Says:

    # ./
    gives the following results (I skip begining) :
    Reading repository metadata in from local files
    Setting up Package Sacks
    skipping reposetup, pkgsack exists
    Traceback (most recent call last):
    File “./”, line 75, in ?
    File “./”, line 63, in main
    num = setupOldDupes(my)
    File “./”, line 36, in setupOldDupes
    dupedict = findDupes(my)
    File “./”, line 19, in findDupes
    for (n,a,e,v,r) in my.rpmdb.simplePkgList():
    AttributeError: RpmDBHolder instance has no attribute ‘simplePkgList’

    since there is still a conflit on my fc5 between
    python and python-devel
    (Error: python-devel conflicts with python

  6. skvidal Says:

    That means the version of yum you have is too old. The will probably only work with yum 3.0 and up.

  7. JF Says:

    A friend upgrade from FC4 to FC6, it crash before in ts. Over 1000 dups! dupes-cli fixed the most.

    Thanks! Please include in yum-utils.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: