LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   error in update F12 (https://www.linuxquestions.org/questions/linux-newbie-8/error-in-update-f12-786009/)

anika.ella 01-31-2010 12:20 PM

error in update F12
 
This is more technical. I installed F12 and then I tried to update the system (system-administration-softwareupdate). I receive the following error:

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)

HELP ! Is there a need to set more my repo ?

PTrenholme 01-31-2010 04:49 PM

Can you run su -c 'yum update' and post the error messages? (You'll need to do this in a terminal window, and enter the "root" password when prompted.)

From what you posted, before you do the above, ckeck the contents of /etc/yum.repos.d/fedora.repo. It should look like this:
Code:

$ cat /etc/yum.repos.d/fedora.repo
[fedora]
name=Fedora $releasever - $basearch
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
enabled=1
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

[fedora-debuginfo]
name=Fedora $releasever - $basearch - Debug
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/$basearch/debug/
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-debug-$releasever&arch=$basearch
enabled=0
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

[fedora-source]
name=Fedora $releasever - Source
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/source/SRPMS/
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-source-$releasever&arch=$basearch
enabled=0
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch


GoinEasy9 01-31-2010 04:54 PM

There have been multiple reports of problems with PackagKit in the Fedora forums. Usually running yum update from terminal solves the problem.

anika.ella 02-01-2010 05:05 AM

I solve it with yum update. Thank you very much !
But I am still wondering why in F12 the thing are running more difficult than in F10. In F10 I never had problems with software update from the system-administration tab.

chrism01 02-01-2010 06:18 PM

Fedora is the R&D distro for Redhat. If you want a less bleeding edge option, try Centos (free version of RHEL). Latest is 5.4

GoinEasy9 02-01-2010 10:33 PM

The bug in PackageKit seems like it's being ignored by maintainer/developer. Up until this past month, I never had any trouble with it either. Then again, I'm more comfortable using "yum update" now, so I'm not worried how long it takes to get fixed. Shame though, gui update is a staple for new users, it's not right to leave it in its present state without a fix.

anika.ella 02-06-2010 10:48 AM

No, no, I am in fedora starting F7, so I will not renounce now to it. I also try suse and ubuntu, but I prefer fedora.
Thanks for you comments !


All times are GMT -5. The time now is 04:02 AM.