PackageKit Frequently Asked Questions

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
(update FAQ)
(update FAQ)
Line 15: Line 15:
 
=== Why can't I install multiple packages with pkcon, gpk-install-package or system-install-packages? ===
 
=== Why can't I install multiple packages with pkcon, gpk-install-package or system-install-packages? ===
  
In 0.2.x you can. The API was modified to allow this, so from 0.2.1 onwards you can send multiple packages or files to be installed from the command line. The diffstat from 0.2.1 to 0.1.11 is far to large to backport this API change, and so this feature will have to wait for a few weeks before 0.2.x is backported to updates-testing repository.
+
If you use Fedora 10 or rawhide, you can.
  
 
=== Why can't I install multiple packages with 0.1.x or 0.2.x? ===
 
=== Why can't I install multiple packages with 0.1.x or 0.2.x? ===

Revision as of 15:41, 16 February 2009

Contents

PackageKit Frequently Asked Questions

Generic questions

Fedora specific questions

What's the status of GPG key import?

The decision to use PackageKit over pup or pirut in Fedora was taken only very late in the Fedora 9 planning process. At the time the decision was made, PackageKit had just branched for 0.2.x. 0.1.x was in bugfix and trivial fix mode, with no new features allowed. GPG key signing was pretty broken on F9 for a few months.

Now 0.2.x is in F9, and 0.3.x is in F10, and 0.4.x is in rawhide, all the GPG key issues are now fixed. Please open bugs if you have problems.

Why can't I install multiple packages with pkcon, gpk-install-package or system-install-packages?

If you use Fedora 10 or rawhide, you can.

Why can't I install multiple packages with 0.1.x or 0.2.x?

We are looking for input on how the user interface should look like. Jump on the PackageKit mailing list if you have any ideas.

What about group installations ?

Request for enhancement has already been filed at https://bugzilla.redhat.com/show_bug.cgi?id=435768

system-install-packages and gpk-install-file do not work when run as the root user!

Sure. There's two bugs here, one mine and one somebody elses. The first is that the 0.1.11 tools do not test for authentication fail on the second auth attempt, and silently exit. This is fixed in 0.2.1, and probably will be backported in the meantime.

The second is that GTK+ tools should not be run as root. Any GTK+ program run as the root user is a massive security hole -- GTK+ just isn't designed with this in mind. There are numerous attack vectors when running as root, and so we shouldn't be letting programs do such insane, insecure things.

Lots of f10 packages are showing up!

I have been running F9 testing for a while and I'm now getting notified of hundreds of fc10 packages.

You should run:

yum clean all

This is a problem with PackageKit being confused by some pre-F9-release metadata you had laying around.

PackageKit won't work without NetworkManager

PackageKit 0.1.0 uses NetworkManager to get network state. 0.2.x provides unix fallbacks and also allows admins to tell PK to ignore NM using the config file. 0.2.2 will be backported soon.

PackageKit won't work with my proxy server

Short answer: We're working on it.

Long answer: packagekitd runs as root. This means any session policy will not be used, and any http_proxy variables will have to be exported system wide. Uisng 0.2.1 you can set the proxy settings in the /etc/PackageKit/PackageKit.conf config file - In 0.2.2 we are fixing this to allow the user to change the system proxy values for PackageKit in the session - hopefully with everything working without any user interaction.

List of issues filed