Error installing Fedora12 update: ErrorType: & lt; class 'yum. errors. repoerror' & gt; ErrorValue: Errorgettingrepositorydataforinstalled, repositorynotfoundFile:/usr/share/PackageKit/helpers/yum/yumBackend.
An error occurred while installing Fedora 12 update:
Error Type:
Error Value: Error getting repository data for installed, repository not found
File:/usr/share/PackageKit/helpers/yum/yumBackend. py, line 3125, in
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)
First, this is a problem with the yum source. It is best to update the yum update with the terminal.
Changed to the source of Shanghai Jiao Tong University
/Etc/yum. repos. d/sjtu. repo
-----------------------------------------
Fedora-ftp.sjtu.edu.cn
Name = Fedora 12-i386
Base url = http://ftp.sjtu.edu.cn/fedora/linux/releases/12/Fedora/i386/ OS/
Enabled = 1
Gpgcheck = 0
Gpgkey = file: // etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
Everything-ftp.sjtu.edu.cn
Name = Everything 12-i386
Base url = http://ftp.sjtu.edu.cn/fedora/linux/releases/12/Everything/i386/ OS/
Enabled = 1
Gpgcheck = 0
Gpgkey = file: // etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
Updates-ftp.sjtu.edu.cn
Name = Fedora updates
Base url = http://ftp.sjtu.edu.cn/fedora/linux/updates/12/i386/
Enabled = 1
Gpgcheck = 0
Gpgkey = file: // etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
------------------------------------------------
Then yum update
Sjtu. repo: The Update file path is called the source
After that, we should be able to normally update the drops ......