Bug 506110

Summary: PackageKit requires network connection while using hard drive repos only
Product: [Fedora] Fedora Reporter: Kurian John <dtlabz>
Component: gnome-packagekitAssignee: Richard Hughes <richard>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 11CC: hedayatv, rhughes, richard
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 0.4.8-2.fc11 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-11-17 13:00:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
My fedora-local repo file none

Description Kurian John 2009-06-15 15:51:43 UTC
Description of problem:
PackageKit does not allow installation of packages from local disk if a network connection is not present

How reproducible:
Always

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
  
Actual results:
PackageKit displays an error "No network connection available" and installation does not proceed

Expected results:
PackageKit should allow installation of packages from local repos even in the absence of a network connection

Comment 1 Richard Hughes 2009-06-15 16:27:15 UTC
commit 64997e86e36e1c6964289eec657d1595c92cd534
Author: Richard Hughes <richard>
Date:   Mon Jun 15 17:26:03 2009 +0100

    yum: don't hardcode network access to install or update packages. Fixes rh#506110

Comment 2 Fedora Update System 2009-07-06 10:45:23 UTC
PackageKit-0.4.8-2.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/PackageKit-0.4.8-2.fc11

Comment 3 Fedora Update System 2009-07-16 07:29:54 UTC
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.

Comment 4 Hedayat Vatankhah 2009-08-20 10:01:16 UTC
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).

Comment 5 Richard Hughes 2009-08-20 10:06:35 UTC
(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.

Comment 6 Hedayat Vatankhah 2009-08-20 11:07:20 UTC
Created attachment 358066 [details]
My fedora-local repo file

Comment 7 Richard Hughes 2009-08-20 11:25:16 UTC
What's the output of:

cd /opt
find * | grep b43-fwcutter

Thanks.

Comment 8 Hedayat Vatankhah 2009-08-20 11:28:31 UTC
(It's a regular Fedora DVD x86_64 iso mounted there)
This is the output:

[root@localhost opt]# find * | grep b43-fwcutter
Packages/b43-fwcutter-011-4.fc11.x86_64.rpm
[root@localhost opt]#

Comment 9 Hedayat Vatankhah 2009-08-20 11:32:37 UTC
Also notice that I can install this package from this repository when there is a network connection available!

Thanks

Comment 10 Richard Hughes 2009-11-17 13:00:11 UTC
Is fixed for me in F12.