Project

General

Profile

Bug #6750

/hipster gnu-tar dependency issue

Added by Predrag Zečević over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
-
Start date:
2016-03-15
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

Hi,
I had impression that OpenSSH installation has replaced SunSSH on my /hipster box, but I was wrong - both are installed:

$ pkg contents network/ssh | grep /bin/
usr/bin/scp
usr/bin/sftp
usr/bin/ssh
usr/bin/ssh-add
usr/bin/ssh-agent

$ pkg contents network/openssh | grep /bin/
usr/bin/scp
usr/bin/sftp
usr/bin/ssh
usr/bin/ssh-add
usr/bin/ssh-agent
usr/bin/ssh-keygen
usr/bin/ssh-keyscan
usr/lib/openssh/bin/scp
usr/lib/openssh/bin/sftp
usr/lib/openssh/bin/ssh
usr/lib/openssh/bin/ssh-add
usr/lib/openssh/bin/ssh-agent
usr/lib/openssh/bin/ssh-keygen
usr/lib/openssh/bin/ssh-keyscan

So, when I use /usr/bin/ssh which one is that?
$ pkg search -l /usr/bin/ssh
INDEX      ACTION VALUE       PACKAGE
path       link   usr/bin/ssh pkg:/network/ssh@0.5.11-2015.0.2.15519
path       link   usr/bin/ssh pkg:/network/openssh@7.1.0.2-2015.0.2.1

Found that SunSSH package was installed because gnu-tar requires it:

$ pkg contents -t depend -H -o action.raw archiver/gnu-tar
depend fmri=pkg:/compress/bzip2@1.0.6-2014.0.1.2 type=require
depend fmri=pkg:/compress/gzip@1.5-2014.0.1.1 type=require
depend fmri=pkg:/network/ssh@0.5.11-2014.0.1.14479 type=require
depend fmri=pkg:/system/extended-system-utilities@0.5.11-2014.0.1.14479 type=require
depend fmri=pkg:/system/library@0.5.11-2014.0.1.14479 type=require

E.G:
$ pfexec pkg uninstall -vn pkg://openindiana.org/network/ssh
Creating Plan (Solver setup): -
pkg uninstall: Unable to remove 'network/ssh@0.5.11-2015.0.2.15519' due to the following packages that depend on it:
  archiver/gnu-tar@1.27.1-2014.1.0.0

I guess this needs fix to enable either SSH package...
Or, I did something wrong (NOTE: this is fresh /hipster installation, e.g. no upgrade from previous /dev was done).

Can we get this fixed, please?

Regards.

History

#1

Updated by Predrag Zečević over 4 years ago

Moreover, looks like /usr/bin/tar behaves like GNU tar (e.g knows how to open .gz or .bz2 or .xz files) - so, no need for gnu-tar at all?

#2

Updated by Alexander Pyhalov over 4 years ago

  • Status changed from New to Resolved
  • Assignee set to Alexander Pyhalov

tar had to be rebuilt to get correct dependencies. Should be solved now.

$ pkg contents -r -t depend -H -o action.raw archiver/gnu-tar
depend fmri=pkg:/SUNWcs@0.5.11-2015.0.2.15414 type=require
depend fmri=pkg:/compress/bzip2@1.0.6-2014.0.1.2 type=require
depend fmri=pkg:/compress/gzip@1.5-2014.0.1.1 type=require
depend fmri=pkg:/system/extended-system-utilities@0.5.11-2015.0.2.15414 type=require
depend fmri=pkg:/system/library@0.5.11-2015.0.2.15414 type=require
depend fmri=pkg:/network/ssh@0.5.11-2015.0.2.15414 fmri=pkg:/network/openssh@7.1.0.2-2015.0.2.1 type=require-any

Also available in: Atom PDF