LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   upgrading FC12 (https://www.linuxquestions.org/questions/fedora-35/upgrading-fc12-782037/)

hectorDUQUE 01-13-2010 03:10 PM

upgrading FC12
 
hi guys,
i just installed FC12 (from scratch) in a HP Laptop without problems, but at the moment i requery for SOFTWARE UPDATE, it detects 437 updates to be installed, what is fine. The proble is that the update process fails:

Code:

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 699, 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)

it looks like a repo link unfound ...

may you help me guys ?

thanks in advance

Mr-Bisquit 01-13-2010 03:37 PM

In the administration tools, you an disable software updates.

hectorDUQUE 01-13-2010 04:00 PM

Mr-Biquit,
what do you mean?
the menu system+administration+software update does exist, but the update process fails.
thanks for help

knudfl 01-13-2010 05:18 PM

Quote:

Error getting repository data for $s
I think, you will have to show which repo's
you have in /etc/yum.repos.d/

Something is wrong, no repo should be named $s .

.....

hectorDUQUE 01-13-2010 05:25 PM

Code:

ls /etc/yum.repos.d/
fedora-rawhide.repo  fedora-updates.repo
fedora.repo          fedora-updates-testing.repo

i would like also to include livna.

hectorDUQUE 01-13-2010 05:47 PM

Code:

cat fedora-updates.repo
[updates]
name=Fedora $releasever - $basearch - Updates
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/$basearch/
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

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

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

this is the fedora-updates.repo file, which is include in the FC12 DVD distro.
does it have any errors ?
baseurl is commented ...

knudfl 01-14-2010 04:45 AM

Seems to be a known yum related bug .. ?
https://bugzilla.redhat.com/show_bug.cgi?id=543322
https://bugzilla.redhat.com/show_bug.cgi?id=553115

> > Google .. repository not found' $ (repoid) ..
http://www.google.com/webhp#hl=en&so...168296788512a5

# yum deplist yum
.. shows all yum dependencies :
python yum-metadata-parser pygpgme python-sqlite
python-urlgrabber rpm-python rpm python-iniparse

May be you updated one of those to a new unstable
testing version ?

The command : rpm -qa --last | less
Or / and : rpm -qa --last > last-packages.txt
... will show when package installs happened.
.....

hectorDUQUE 01-14-2010 12:27 PM

thanks knudfl,
it was bug reported in the links you provide us; solution is:

Code:


yum update PackageKit

it is updating FC12 for my laptop know :-)

but the way, i have a similar problem with my pc, upgrading from FC10 to FC12, an anhundled error appears after the reboot ... any way, if problem continuous i will open another thread providing more information .. i hope this is enought!

thanks for help.

Hector


All times are GMT -5. The time now is 10:14 AM.