Find the answer to your Linux question:
Results 1 to 5 of 5
My yum update no longer works. Every time I try to update, I'm greeted with the following error: Code: Dependencies Resolved Traceback (most recent call last): File "/usr/bin/yum", line 29, ...
  1. #1
    Just Joined!
    Join Date
    Jul 2010
    Posts
    3

    Unhappy CentOS 5 Yum Update Breakage

    My yum update no longer works. Every time I try to update, I'm greeted with the following error:

    Code:
    Dependencies Resolved
    Traceback (most recent call last):
      File "/usr/bin/yum", line 29, in ?
        yummain.user_main(sys.argv[1:], exit_code=True)
      File "/usr/share/yum-cli/yummain.py", line 309, in user_main
        errcode = main(args)
      File "/usr/share/yum-cli/yummain.py", line 261, in main
        return_code = base.doTransaction()
      File "/usr/share/yum-cli/cli.py", line 362, in doTransaction
        lsts = self.listTransaction()
      File "/usr/share/yum-cli/output.py", line 895, in listTransaction
        self.tsInfo.makelists(True, True)
    TypeError: makelists() takes exactly 1 argument (3 given)
    Cleaning the yum and RPM databases doesn't fix it.

    Any ideas?

  2. #2
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    did you recently get an update to yum? did you use some other non-official repository to upgrade yum?

  3. #3
    Just Joined!
    Join Date
    Jul 2010
    Posts
    3
    Not as far as I know. I have EPEL and PGDG84 enabled as well, but I don't think either of them are the issue.

  4. #4
    Trusted Penguin Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,393
    Check in your /etc/yum.repos.d directory - you may have some .rpmnew files that have not been installed because you have modified repo files.

    I had a similar issue with Fedora a few months ago. This resulted in a bug being raised, and they issued a new install of yum. If something like that has happened, it might be possible to fix it by browsing a local CentOS mirror, downloading the yum rpm package and installing it by hand.
    Linux user #126863 - see http://linuxcounter.net/

  5. #5
    Just Joined!
    Join Date
    Jul 2010
    Posts
    3
    No such luck. I have no .rpmnew files. :-/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...