Find the answer to your Linux question:
Results 1 to 6 of 6
trying to do the automatic updates, keep getting an error message: Error Type: <class 'yum.Errors.RepoError'> Error Value: Error getting repository data for installed, repository not found File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line ...
  1. #1
    Just Joined! bkovacevich's Avatar
    Join Date
    Feb 2009
    Location
    Alvin Texas USA Sol-3
    Posts
    36

    why won't updates install?

    trying to do the automatic updates, keep getting an error message:

    Error Type: <class 'yum.Errors.RepoError'>
    Error Value: Error getting repository data for installed, repository not found
    File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 3125, in <module>
    main()
    File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 3122, in main
    backend.dispatcher(sys.argv[1:])
    File : /usr/lib/python2.6/site-packages/packagekit/backend.py, line 710, in dispatcher
    self.dispatch_command(args[0], args[1:])
    File : /usr/lib/python2.6/site-packages/packagekit/backend.py, line 657, in dispatch_command
    self.update_packages(only_trusted, package_ids)
    File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 1948, in update_packages
    signed = self._is_package_repo_signed(pkg)
    File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 1437, in _is_package_repo_signed
    repo = self.yumbase.repos.getRepo(pkg.repoid)
    File : /usr/lib/python2.6/site-packages/yum/repos.py, line 121, in getRepo
    'Error getting repository data for $s, repository not found' $ (repoid)

    also got lotsa messages that particular packages could not be installed so deselected them and tried to continue, after that is when i got the above message. selected only security updates last nite and that seemed to work okay, also selected only the yum-specific updates earlier today and that seemed to go okay. so what is up? i am a newbie so be kind, please!

  2. #2
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    what is your distro?

    try this
    Code:
    su -
    yum clean all
    yum update

  3. #3
    Just Joined! bkovacevich's Avatar
    Join Date
    Feb 2009
    Location
    Alvin Texas USA Sol-3
    Posts
    36
    that seemed to do the trick, i was trying to use the graphical system update tool earlier (btw, i am using fc12) - is that the difference between rpm and yum? as i said in the original post, i am a newbie ...

  4. #4
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    yum manages retrieval of packages and list of available packages

    rpm installs rpm packages

  5. #5
    Just Joined!
    Join Date
    Feb 2009
    Location
    kaohsiung , taiwan
    Posts
    16

    Thumbs up

    Quote Originally Posted by coopstah13 View Post
    what is your distro?

    try this
    Code:
    su -
    yum clean all
    yum update
    yes! this works.

    the GUI auto update under gnome always gave me error, failed to update anything.
    in my memory this kind of error things happen all the time no matter what distros or versions.
    why gui update always goes wrong in the first time system update?

    oh thanks a lot for the command line yum thing, it downloaded more than 500mB and gets everything up to date finally.

  6. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    You can use Graphical Interface of yum, Yum Extender.
    Code:
    su -c 'yum -y install yumex'
    Graphical Interface and Auto Updater are two different packages. Yum Extender makes package management a lot easier.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

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