Bug 491882

Summary: openssh-hpn provides dependencies for openssh-askpass and openssh-askpass-gnome
Product: [openSUSE] openSUSE 11.1 Reporter: David Bailey <dr>
Component: OtherAssignee: Pascal Bleser <pascal.bleser>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P3 - Medium CC: dimstar, meissner, mrueckert, pcerny, wvvelzen
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description David Bailey 2009-04-03 13:02:02 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.7) Gecko/2009022800 SUSE/3.0.7-1.1.6 Firefox/3.0.7

It is apparently impossible, using zypper to install both openssh-hpn and openssh-askpass and/or openssh-askpass-gnome at the same time.

openssh-hpn provides all the dependencies as openssh, but the packaging system seems to be unaware of this.

Reproducible: Always

Steps to Reproduce:
1. install openssh-hpn
2. install openssh-askpass

Actual Results:  
zypper tries to uninstall openssh-hpn and install openssh package to fulfill the dependency requirements of openssh-askpass

Expected Results:  
The packaging system should understand that openssh-hpn provides all the same requirements that openssh provides. You should be able to install openssh-hpn and openssh-askpass together with zypper.

The only work-around I was able to find was to download the openssh-askpass and openssh-askpass-gnome packages manually, and install them with:

rpm -ivh --nodeps <packagename>
Comment 1 Marcus Meissner 2009-04-03 13:48:52 UTC
there is no openssh-hpn in openSUSE itself.

which repo did you use?
Comment 2 David Bailey 2009-04-03 14:21:19 UTC
openssh-hpn is in the security repository.

Here's the x86_64 package:
http://download.opensuse.org/repositories/security/openSUSE_11.1/x86_64/openssh-hpn-5.1p1-2.1.x86_64.rpm
Comment 3 Marcus Meissner 2009-04-03 14:43:44 UTC
-> mrueckert as bugowner of security project
Comment 4 Marcus Rückert 2009-04-03 14:48:39 UTC
and here we go: pascal. maybe provide openssh.
Comment 5 Pascal Bleser 2009-04-04 22:21:46 UTC
Added "Provides:openssh"

I just hope it won't create too many side effects, as people who want the pristine openssh don't end up with openssh-hpn (even though it is just a set of patches that add features to openssh and shouldn't break anything).

David, thanks for reporting. Updated packages are available.
Comment 6 Pascal Bleser 2009-04-05 02:13:38 UTC
Changed to fixed, please reopen if it's still broken.
Comment 7 David Bailey 2009-04-06 12:44:10 UTC
Now, we have a very interesting situation. After performing a refresh and removal of relevant packages, I get this.

$ sudo zypper in openssh-hpn
Loading repository data...
Reading installed packages...
Resolving package dependencies...

Problem: Solvable openssh-hpn-5.1p1-3.1.x86_64 conflicts with openssh provided by itself
 Solution 1: do not ask to install a solvable providing openssh-hpn

Choose the above solution using '1' or cancel using 'c' [1/C]: c
Comment 8 David Bailey 2009-04-06 12:46:33 UTC
I also noticed (before reporting this) that openssh-hpn was installed, but it didn't remove openssh, which shouldn't have happened.

As far as I can tell, openssh-hpn should be a complete replacement for openssh. Installing one should uninstall the other and replace it as far as dependencies go.
Comment 9 David Bailey 2009-04-06 13:09:14 UTC
FYI- To work around this issue, I had to manually download and install the package with --force and --nodeps using RPM. However, after doing that, I *was* able to user zypper to install openssh-askpass and openssh-askpass-gnome, without zypper trying to uninstall openssh-hpn.

We just need to keep the package from conflicting with itself!  :)
Comment 10 Wilfred van Velzen 2009-05-01 15:20:20 UTC
+1

Can't install openssh-hpn, through one-click-install or yast, even after de-installing openssh first.
Comment 11 Pascal Bleser 2011-03-31 15:51:40 UTC
I updated the package (in the security repository) by replacing it with a link to the openssh package in openSUSE:Factory, and by updating the HPN-13 patches to the latest version, which applies against 5.8p1.

I also removed the self-obsolete ;)
Comment 12 Dominique Leuenberger 2016-11-03 20:54:11 UTC
Dear Reporter,

Thank you for taking the time to report this bug and helping to make openSUSE better.

We are sorry that we do not always have the capacity to look at all reported bugs in a timely manner. There have been many changes in openSUSE since the time you reported the bug and your problem may have been fixed with some of the updates. It would help us a lot if you could test it on a current, supported openSUSE version.

When you test it and it is still an issue, kindly reopen this bug and move it to the tested version of openSUSE. 

Truly yours.