Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Apr 2023 16:46:23 -0400
From:      Chris Wells <freebsd-ruby@chriswells.io>
To:        ruby <ruby@FreeBSD.org>
Subject:   Vagrant Gem Conflict: net-ssh
Message-ID:  <b5ae7df6-370e-375b-2d8e-df252497654a@chriswells.io>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------aeAhwFd4nmWuizQvguVKIA0Y
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

Hi,

I upgraded to the new quarterly packages over the weekend, and now I 
cannot run certain Vagrant commands due to conflicting /net-ssh/ gems:

conflicting dependencies net-ssh (= 6.1.0) and net-ssh (= 7.0.1)

Example failing command:

vagrant plugin install vagrant-disksize

It appears that Vagrant depends on /rubygem-net-ssh*>=7.0.0*/:

https://www.freshports.org/sysutils/vagrant/

Vagrant also depends on /rubygem-net-scp/, which depends on 
/rubygem-net-ssh6>=2.6.5*<7.0.0*/:

https://www.freshports.org/security/rubygem-net-scp/

Thus the reason I have both installed:

https://bsd.to/4fwP/raw

Any advice? Would this be safe?

pkg set -o security/rubygem-net-ssh6-6.1.0:security/rubygem-net-ssh-7.0.1,2

Thanks,

Chris

--------------aeAhwFd4nmWuizQvguVKIA0Y
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit

<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi,<br>
    </p>
    <p>I upgraded to the new quarterly packages over the weekend, and
      now I cannot run certain Vagrant commands due to conflicting <i>net-ssh</i>
      gems: </p>
    <p><font face="monospace">conflicting dependencies net-ssh (= 6.1.0)
        and net-ssh (= 7.0.1)</font><br>
    </p>
    <p>Example failing command:</p>
    <p><font face="monospace">vagrant plugin install vagrant-disksize</font><br>
    </p>
    <p>It appears that Vagrant depends on <i>rubygem-net-ssh<b>&gt;=7.0.0</b></i>:</p>
    <p><a class="moz-txt-link-freetext"
        href="https://www.freshports.org/sysutils/vagrant/">https://www.freshports.org/sysutils/vagrant/</a><br>;
    </p>
    <p>Vagrant also depends on <i>rubygem-net-scp</i>, which depends on
      <i>rubygem-net-ssh6&gt;=2.6.5<b>&lt;7.0.0</b></i>:</p>
    <p><a class="moz-txt-link-freetext"
        href="https://www.freshports.org/security/rubygem-net-scp/">https://www.freshports.org/security/rubygem-net-scp/</a></p>;
    <p>Thus the reason I have both installed:</p>
    <p><a class="moz-txt-link-freetext" href="https://bsd.to/4fwP/raw">https://bsd.to/4fwP/raw</a><br>;
    </p>
    <p>Any advice? Would this be safe?</p>
    <p><font face="monospace">pkg set -o
        security/rubygem-net-ssh6-6.1.0:security/rubygem-net-ssh-7.0.1,2</font></p>
    <p>Thanks,</p>
    Chris
    <p></p>
  </body>
</html>

--------------aeAhwFd4nmWuizQvguVKIA0Y--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b5ae7df6-370e-375b-2d8e-df252497654a>