Bug 350619 - package-manager (yast2) should resolve dependencies as KRPMView does.
Summary: package-manager (yast2) should resolve dependencies as KRPMView does.
Status: RESOLVED DUPLICATE of bug 230223
Alias: None
Product: openSUSE 10.3
Classification: openSUSE
Component: YaST2 (show other bugs)
Version: Final
Hardware: i586 openSUSE 10.3
: P2 - High : Major with 5 votes (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: Jiri Srain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-24 18:13 UTC by Francesco Locunto
Modified: 2007-12-24 19:24 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Francesco Locunto 2007-12-24 18:13:31 UTC
Trying to install a package that requires one or more dependencies through package-manager fails. For example:

- Download Skype rpm and save it to the desktop
- Single/Double click on it: "/sbin/yast2 --install" will be called
- installation will not complete due to missing libsigc package (without any error message). Obviously if that package is already installed, all will be correctly done.

If, following the above example, Skype rpm is installed through KRPMView for example (open the rpm through Konqueror, then click on "Install package with Yast"), all dependencies are resolved correctly and the package is installed.

Reading the /sbin/yast2 --help output:

<package> can be a single short package name (e.g. gvim)
which will be installed with dependency checking, or the full
path to an rpm package (e.g /tmp/gvim.rpm) which will be
installed without dependency checking.

If "yast2 --install" can't resolve dependencies for such packages and cannot be patched (strange behavior in my opinion...), it should be avoided in favour to other methods, as KRPMView for example. An user will be disoriented if he simply clicks on an rpm and it doesn't install without any error message (and the menu entry says "Open with Software Installer" if the user right-clicks on a rpm...)
Comment 1 Benjamin Weber 2007-12-24 19:24:52 UTC
Zypp should be getting support for installing individual packages for #230223, I'll mark as a duplicate of that.

You can work around for now by adding the directory containing the package as a plaindir repository, or using "createrepo" to create a repository. (This is what krpmview does).

*** This bug has been marked as a duplicate of bug 230223 ***