Home_greyopenFATE - openSUSE feature tracking > #306526
Dashboard | Search | Sign up | Login

Please login or register to be able to edit or vote this feature.

Pull needed dependencies when installing from a local file

Feature state

openSUSE-11.2
Done

Description

It would be great if it would be possible for YaST? to install any necessary packages when installing something from a local file.

For example: VirtualBox rpm package needs pam-devel which would have to be installed by invoking YaST first (not everyone knows what to do when they encounter a message saying that they're missing a dependency).

So it would be great for YaST to pull the needed dependency or say that they are not available. This would simplify installation of many packages for new users.

Testcase

  • This feature can be tested if kpackagekit or gnome-packagekit is installed, clicking an rpm file in the UI should install the package _with_ its dependencies.
  • This does not work if the above software is not installed, see https://bugzilla.novell.com/show_bug.cgi?id=529510
  • With zypper it works out of the box.

Discussion


icons/user_comment.png M. F. wrote: (8 years ago)

Zypper can do that. Just install local package by:

zypper in ~/path/to/some.rpm
icons/user_comment.png P. J. wrote: (8 years ago)

I don't mean by opening the file from a console, i mean the GUI way when someone clicks the file. Do you thin a new user would know how to open a terminal and additionally know zypper??

icons/user_comment.png A. J. wrote: (8 years ago)

I agree, GUI install and "zypper in" should have the same semantics.

icons/user_comment.png D. M. wrote: (8 years ago)

This should be implemented in PackageKit, adding handlng of packages to the backend.

icons/user_comment.png D. M. wrote: (8 years ago)

Actually I checked, and PackageKit backend for ZYpp supports this already.

The frontend kpackagekit, when called with a local file it install it with dependencies (if those are available in the repository). gnome-packagekit should also support it.
What is missing, is to change the default association of yast2 -i to kpackagekit

icons/user_comment.png D. M. wrote: (8 years ago)

I added support for kpackagekit and gnome-packagekit in the package-manager wrapper script included in libzypp 6.10.5. If you have one of those installed it will be used and it provides that functionality when clicking an rpm in the user interface.

Last change: 8 years ago
Voting
Score: 6
  • Negative: 0
  • Neutral: 0
  • Positive: 6
Feature Export
Application-xmlXML   Text-x-logPlaintext   PrinterPrint