[OmniOS-discuss] OmniOS r151014: failed to switch from SunSSH to OpenSSH

Peter Tribble peter.tribble at gmail.com
Mon Jul 24 14:21:33 UTC 2017


On Mon, Jul 24, 2017 at 2:56 PM, Davide Poletto <davide.poletto at gmail.com>
wrote:

> Hello all,
>
> I'm facing a strange issue on a pretty standard OmniOS r151014 LTS box
> fully updated (only Global Zone), following the "Upgrading to r151022"
> instructions at https://omnios.omniti.com/wiki.php/Upgrade_to_r151022
> required before any jump to OmniOS r151022 (my final target is OmniOS
> Community Edition r151022i) I found that I'm unable to switch to OpenSSH as
> per "Upgrading to OpenSSH from SunSSH" instructions on the same page:
>
> executing the suggested command:
>
> root at nas01:/root# /usr/bin/pkg install --no-backup-be --reject
> pkg:/network/ssh --reject pkg:/network/ssh/ssh-key --reject
> pkg:/service/network/ssh --reject pkg:/service/network/ssh-common
> pkg:/network/openssh pkg:/network/openssh-server
>
> fails with the message:
>
> pkg install: The following pattern(s) did not match any allowable
> packages.  Try
> using a different matching pattern, or refreshing publisher information:
>
>     pkg:/service/network/ssh-common
>

The r151014 release notes

https://omnios.omniti.com/wiki.php/ReleaseNotes/r151014

say

/usr/bin/pkg install --no-backup-be --reject pkg:/network/ssh --reject
pkg:/network/ssh/ssh-key --reject pkg:/service/network/ssh
pkg:/network/openssh pkg:/network/openssh-server

Blindly I tried to omit the specific "ssh-common" package reject
>

I think you were on the right track.


> but the result is not conforting me (maybe I tried a command in a totally
> wrong way not understanding what the --reject options really mean):
>
> root at nas01:/root# /usr/bin/pkg install --no-backup-be --reject
> pkg:/network/ssh --reject pkg:/network/ssh/ssh-key --reject
> pkg:/service/network/ssh --reject pkg:/network/openssh
> pkg:/network/openssh-server
>

I think you have an extra --reject in there, so you've told it not to
install openssh.

-- 
-Peter Tribble
http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20170724/819374f7/attachment.html>


More information about the OmniOS-discuss mailing list