Bug 441674 - system-install-packages does not work
Summary: system-install-packages does not work
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-packagekit
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Robin Norwood
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F9PKBlocker F9ODBlocker
TreeView+ depends on / blocked
 
Reported: 2008-04-09 13:30 UTC by Tim Waugh
Modified: 2008-04-12 16:53 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-04-12 16:53:45 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Tim Waugh 2008-04-09 13:30:09 UTC
Description of problem:
The system-install-packages program does not work.

Version-Release number of selected component (if applicable):
gnome-packagekit-0.1.11-1.fc9

How reproducible:
100%

Steps to Reproduce:
1.yum remove -y hpijs || :
2.system-install-packages hpijs
  
Actual results:
Error dialog saying:

  Failed to install
  No such file ''

Expected results:
Package should be installed.

Additional info:
Worked fine in Fedora 8.

Comment 1 Owen Taylor 2008-04-10 15:25:06 UTC
Right now system-install-packages is a symlink to gpk-install-file,
but s-i-p can install files or packages
What we need is a wrapper in our packaging that:

 - Checks if the arguments exist, if so does install-file
 - Otherwise does install-package
 - Dialogs if a mixture is specified

I'll work on that today. (We should actually change things to use 
gpk-install-package directly, I think, in the long term.)


Comment 2 Owen Taylor 2008-04-10 18:15:55 UTC
I've committed a wrapper script and the .spec file changes to package CVS.
This can be closed when a package gets built and pushed.

Comment 3 Richard Hughes 2008-04-11 15:28:25 UTC
Owen, you sure you committed it? - i can't see any such change in CVS/devel.

Comment 4 Owen Taylor 2008-04-11 16:26:44 UTC
step 1: commit
step 2: write the above comment
step 3: notice that the commit failed with a conflict
step 4: merge, kick off a local build to make sure that the merge was OK
step 5: go off and do something else, forget about it

Now actually commited.

Comment 5 Richard Hughes 2008-04-12 16:53:45 UTC
I've built this for rawhide and F9.


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