Bug 438868 - pk-install-file requires network access to install local files
Summary: pk-install-file requires network access to install local files
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: PackageKit
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Robin Norwood
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: NeedsRetesting
Depends On:
Blocks: F9PKBlocker
TreeView+ depends on / blocked
 
Reported: 2008-03-25 17:35 UTC by Jeremy Katz
Modified: 2008-05-03 01:59 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-05-03 01:59:06 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jeremy Katz 2008-03-25 17:35:20 UTC
If installing a package off of local media when you don't have a network
available, you get a nice long traceback rather than a nice error message.  And
given that the package's dependencies are fulfilled with what is resolved, it
probably shouldn't even require the repos to be up.

Comment 1 Richard Hughes 2008-03-26 00:20:38 UTC
Agreed. What was the traceback? Thanks.

Comment 3 Richard Hughes 2008-03-30 16:42:31 UTC
This should work with 0.1.10 - can you please confirm or re-open this bug. Thanks.

Comment 4 Jeremy Katz 2008-04-11 14:16:57 UTC
It doesn't traceback now, but it still doesn't let me install packages.  I get a
dialog that says "No network connection available" (etc, etc).  But the fact
that there's no network connection is irrelevant to installing a local package
which has all of its deps already satisfied

Comment 5 Matthias Clasen 2008-04-13 02:29:31 UTC
I just tried with system-install-packages, and it successfully installed a local
package without network.

Comment 6 Richard Hughes 2008-04-13 10:10:37 UTC
Jeremy, can you try again with the latest package in rawhide please? Thanks.

Comment 7 Jeremy Katz 2008-04-15 02:42:40 UTC
Still fails for me.  Booted and never had network available.  Then I click on
the package that's on my USB key (that has the firmware for my wireless card, so
that I can _get_ a network connection) and I still get the network error.

If I plug in the network and let repo bits get downloaded and then take down the
network, it's fine.

Comment 8 Richard Hughes 2008-04-18 11:57:06 UTC
Robin, do you want that fix you committed cherry-picked to stable?

Comment 9 Robin Norwood 2008-04-18 14:56:11 UTC
Not yet, it isn't fixed yet, after all.  I'm working on it more today.

Comment 10 Robin Norwood 2008-04-23 14:50:14 UTC
Ok, I'm done poking with the install-file command - this bug should be fixed, as
well as giving better error messaging when things do go awry.


Comment 11 Bill Nottingham 2008-04-30 18:29:47 UTC
Is there a particular build that has this fix?

Comment 12 Robin Norwood 2008-05-01 14:37:05 UTC
This should be fixed in the rawhide versions now
(PackageKit-0:0.1.12-7.20080425.fc9.i386 and greater, for instance)


Note You need to log in before you can comment on or make changes to this bug.