Description of problem: This is what I received. Richard Hughes asked me to report it against yum. <hughsie> PK is asking yum to download a file, but all yum says is "invalid" <hughsie> which isn't really helpful [kparal@localhost ~]$ pkcon --only-download --background update Getting updates [=========================] Waiting in queue [=========================] Starting [=========================] Getting information [=========================] Updating packages [=========================] Waiting in queue [=========================] Starting [=========================] Running [=========================] Resolving dependencies [=========================] Downloading packages [=========================] Fatal error: Error Type: <class 'yum.Errors.RepoError'> Error Value: Downloaded package gstreamer1-0.11.94-1.fc18.i686, from updates-testing, but it was invalid. File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 3588, in <module> main() File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 3585, in main backend.dispatcher(sys.argv[1:]) File : /usr/lib/python2.7/site-packages/packagekit/backend.py, line 760, in dispatcher self.dispatch_command(args[0], args[1:]) File : /usr/lib/python2.7/site-packages/packagekit/backend.py, line 721, in dispatch_command self.update_packages(transaction_flags, package_ids) File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2294, in update_packages self._runYumTransaction(transaction_flags, allow_skip_broken=True) File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2378, in _runYumTransaction path = repo.getPackage(txmbr.po) File : /usr/lib/python2.7/site-packages/yum/yumRepo.py, line 990, in getPackage raise Errors.RepoError, msg Version-Release number of selected component (if applicable): yum-3.4.3-42.fc18.noarch PackageKit-0.8.3-4.fc19.i686 How reproducible: I don't know, it's possible that the file download got corrupted. When I rebooted and tried again it worked.
Yes, package was downloaded and the checksum failed. This should have been detected earlier and downloaded again from next mirror, but due to a Yum bug the checkfunc callback was essentially ignored. Fixed upstream.
yum-3.4.3-30.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/yum-3.4.3-30.fc17
Package yum-3.4.3-30.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing yum-3.4.3-30.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-18062/yum-3.4.3-30.fc17 then log in and leave karma (feedback).
I have something similar, at least in the error message: Error Downloading Packages: xless-1.7-12kc_0tek_fc17.x86_64: [Errno 256] No more mirrors to try. xless-1.7-12kc_0tek_fc17.x86_64: Downloaded package xless-1.7-12kc_0tek_fc17.x86_64, from homebrew-fedora-17, but it was invalid. I packaged xless myself, and xless-1.7-12kc_0tek_fc17.x86_64.rpm: (sha1) dsa sha1 md5 gpg OK :::::::::::::: /etc/yum.repos.d/homebrew-fedora-17.repo :::::::::::::: [homebrew-fedora-17] name=Home Brewed Software for Fedora 17 baseurl=file:///home/local/src/homebrew/fedora/17/executable/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-homebrew-fedora-17 -rw-r----- 2 user group 30433 Nov 15 23:32 /home/local/src/homebrew/fedora/17/executable/xless-1.7-12kc_0tek_fc17.x86_64.rpm I created the repo with createrepo --database /home/local/src/homebrew/fedora/17/executable I wonder if the forthcoming update will help me. For now I'm installing with rpm. Thanks....
yum-3.4.3-30.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.