Red Hat Bugzilla – Bug 506110
PackageKit requires network connection while using hard drive repos only
Last modified: 2009-11-17 08:00:11 EST
Description of problem:
PackageKit does not allow installation of packages from local disk if a network connection is not present
Steps to Reproduce:
1. Add a yum local repository
2. Disable all other repos
3. Open Add/Remove Software and select a package from the local repo for installation
PackageKit displays an error "No network connection available" and installation does not proceed
PackageKit should allow installation of packages from local repos even in the absence of a network connection
Author: Richard Hughes <email@example.com>
Date: Mon Jun 15 17:26:03 2009 +0100
yum: don't hardcode network access to install or update packages. Fixes rh#506110
PackageKit-0.4.8-2.fc11 has been submitted as an update for Fedora 11.
PackageKit-0.4.8-2.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.
It still requires network connection (though a bit differently). When there is no network connection, I get this error:
Errors were encountered while downloading packages.
b43-fwcutter-011-4.fc11.x86_64: Caching enabled but no local cache of /var/cache/yum/fedora-local/packages/b43-fwcutter-011-4.fc11.x86_64.rpm from fedora-local
(It should not expect the package to be downloaded to cache for local files).
(In reply to comment #4)
> (It should not expect the package to be downloaded to cache for local files).
Can you post the repo file for fedora-local please.
Created attachment 358066 [details]
My fedora-local repo file
What's the output of:
find * | grep b43-fwcutter
(It's a regular Fedora DVD x86_64 iso mounted there)
This is the output:
[root@localhost opt]# find * | grep b43-fwcutter
Also notice that I can install this package from this repository when there is a network connection available!
Is fixed for me in F12.