Bug 439662 - pk-install-file doesn't install multiple packages
Summary: pk-install-file doesn't install multiple packages
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: PackageKit
Version: 9
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Robin Norwood
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 440109 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-03-30 02:07 UTC by Jonathan Blandford
Modified: 2013-04-02 04:21 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-06-09 17:06:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jonathan Blandford 2008-03-30 02:07:06 UTC
If I have two files that need each other for install (such as foo.rpm,
foo-devel.rpm) I would expect to be able to click on them both to install them.
 package-kit won't try to install the two together to resolve dependencies.

Comment 1 Andrew Farris 2008-03-31 16:00:36 UTC
I also see this, and I'm guessing it stems from the problem that packagekit
tries to do everything as separate transactions, for instance in the add/remove
software window (very annoying btw, building a transaction and doing it at once
hopefully gets done soon).

I cannot get this to work by either command line (pk-install-package) or through
nautilus context menu (open using package installer).

Comment 2 Richard Hughes 2008-04-07 09:28:39 UTC
Do you mean if you install the file /home/hughsie/Desktop/moo.rpm then the
depsolve should use /home/hughsie/Desktop/*.rpm to resolve deps? I'm not sure if
that what is the user is expecting.

Comment 3 Andrew Farris 2008-04-07 09:39:56 UTC
If you run:  pk-install-package ./moo*.rpm it should correctly depsolve from the matching packages; 
currently it will fail.  The user does expect that to work, just like right clicking two packages at once in 
nautilus should figure out that deps are provided between them.

Comment 4 Richard Hughes 2008-04-21 00:40:40 UTC
*** Bug 440109 has been marked as a duplicate of this bug. ***

Comment 5 Grosswiler Roger 2008-05-07 05:37:44 UTC
I see this as a problem in usability. Most of the users are aware of more than
one package (e.g. additional packages for NetworkManager, Livna RPMs etc.) and
want to check them ONCE. 

Even, having for each package a complete transaction set
(choosing-downloading-testing-installing-rebuilding list) takes too much time.

This is not positive marketing.

Roger

Comment 6 Richard Hughes 2008-05-07 10:30:37 UTC
>This is not positive marketing.

It's already on the planned features page: http://www.packagekit.org/pk-help.html

I would appreciate help with PackageKit development -- as I'm sure you'll
appreciate, building a whole new packaging infrastructure and community takes a
little bit longer than 6 months, and rants on bugzillas do not make me feel any
better.


Comment 7 Richard Hughes 2008-05-07 17:08:53 UTC
commit 0bd4ac015345da185271679a0c5e64019f5b2231
Author: Richard Hughes <richard>
Date:   Wed May 7 18:03:50 2008 +0100

    gpk-install-local-file can now install more than one file at once. fixes
rh#439662

If you now select more than one local rpm file and press enter, then both are
tried to be installed in the same transaction, and thus can be depsolved. I'm
just working on doing the same thing for the gpk-install-package-name tool.

I broke lots of API this morning to do this, and so this feature is only
available from git master from tomorrow morning. The other features are on
schedule to be completed in the planned features help page.

Jonathan, okay to close this bug as NEXTRELEASE?


Comment 8 Bug Zapper 2008-05-14 08:25:47 UTC
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 9 Brennan Ashton 2008-06-08 01:41:34 UTC
Reporter, could you please reply to the previous question? If you won't reply in
one month, I will have to close this bug as INSUFFICIENT_DATA. Thank you.

Comment 10 Andrew Farris 2008-06-08 02:02:46 UTC
Brennan, I think closed NEXTRELEASE is more appropriate, whether Jonathan gets back to comment or not.  
The problem was easily reproducable at the time it is just was not going to be fixed for F9 release.  Using 
rpm or yum from the commandline still works as expected, so this is just simply a feature not yet finished 
in PackageKit to replace those CLI methods of installation.

Comment 11 Robin Norwood 2008-06-09 17:06:40 UTC
Yes, this should be available in the next update to PK (the 0.2.x series), which
we hope to have in a few weeks.


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