Red Hat Bugzilla – Bug 438868
pk-install-file requires network access to install local files
Last modified: 2008-05-02 21:59:06 EDT
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.
Agreed. What was the traceback? Thanks.
This should work with 0.1.10 - can you please confirm or re-open this bug. Thanks.
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
I just tried with system-install-packages, and it successfully installed a local
package without network.
Jeremy, can you try again with the latest package in rawhide please? Thanks.
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.
Robin, do you want that fix you committed cherry-picked to stable?
Not yet, it isn't fixed yet, after all. I'm working on it more today.
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.
Is there a particular build that has this fix?
This should be fixed in the rawhide versions now
(PackageKit-0:0.1.12-7.20080425.fc9.i386 and greater, for instance)