Hi!
Now it worked, and what was wrong was the string I copied from the wiki. It says this: 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 and the one that worked(Dan's) is this: 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 So, somneone needs to change the wiki. Best regards from/Med vänliga hälsningar från Johan Kragsterman Capvert -----Dan McDonald <[email protected]> skrev: ----- Till: Johan Kragsterman <[email protected]> Från: Dan McDonald <[email protected]> Datum: 2017-02-20 16:33 Kopia: omnios-discuss <[email protected]>, Dan McDonald <[email protected]> Ärende: Re: [OmniOS-discuss] updating to openssh in ipkg zone Silly question: Are your packages on this zone (even the ones you plan to get rid of) up to the latest versions? It sounds silly, but see what: pkg update -nv shows you first. If there's output, make sure you update the zone to latest things first, THEN try the update. BTW, I ran this test on an r151018 zone (albeit using the global zone and "pkg -R"), and did not fail: r151018(~)[0]% zoneadm list -cv ID NAME STATUS PATH BRAND IP 0 global running / ipkg shared - test1 installed /zones/test1 ipkg excl - test2 configured /zones/test2 ipkg excl r151018(~)[0]% sudo pkg -R /zones/test1/root list | grep ssh Password: network/ssh 0.5.11-0.151018 i-- network/ssh/ssh-key 0.5.11-0.151018 i-- service/network/ssh 0.5.11-0.151018 i-- service/network/ssh-common 0.5.11-0.151018 i-- r151018(~)[0]% sudo pkg -R /zones/test1/root install -nv --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 Packages to remove: 4 Packages to install: 2 Packages to update: 1 Mediators to change: 1 Services to change: 2 Estimated space available: 312.28 GB Estimated space to be consumed: 61.75 MB Rebuild boot archive: No Changed mediators: mediator ssh: implementation: sunssh (system default) -> None Changed packages: omnios network/ssh 0.5.11-0.151018:20161027T152706Z -> None network/ssh/ssh-key 0.5.11-0.151018:20161027T152706Z -> None service/network/ssh 0.5.11-0.151018:20161027T152708Z -> None service/network/ssh-common 0.5.11-0.151018:20161027T152708Z -> None network/openssh None -> 7.4.1-0.151018:20170202T053251Z network/openssh-server None -> 7.4.1-0.151018:20170202T053308Z library/security/openssl 1.0.2.10-0.151018:20160926T143231Z -> 1.0.2.11-0.151018:20170126T161901Z Services: restart_fmri: svc:/network/ssh:default svc:/system/manifest-import:default r151018(~)[0]% sudo pkg -R /zones/test1/root 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 Packages to remove: 4 Packages to install: 2 Packages to update: 1 Mediators to change: 1 Services to change: 2 DOWNLOAD PKGS FILES XFER (MB) SPEED Completed 7/7 427/427 9.2/9.2 1.9M/s PHASE ITEMS Removing old actions 140/140 Installing new actions 74/74 Updating modified actions 397/397 Updating package state database Done Updating package cache 5/5 Updating image state Done Creating fast lookup database Done r151018(~)[0]% Dan _______________________________________________ OmniOS-discuss mailing list [email protected] http://lists.omniti.com/mailman/listinfo/omnios-discuss
