NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Replace default SSH with pkgsrc version



> On 9 Dec 2015, at 2:15 a.m., Eric Haszlakiewicz <erh%nimenees.com@localhost> wrote:
> 
>> On December 8, 2015 10:15:41 AM EST, Andy Ruhl <acruhl%gmail.com@localhost> wrote:
>> On Tue, Dec 8, 2015 at 5:32 AM, itgeek31%googlemail.com@localhost
>> <itgeek31%googlemail.com@localhost> wrote:
>>> Apologies for what may be a n00b question...
>>> 
>>> I familiar with using pkgsrc to build the latest and greatest OpenSSH
>> and
>>> then installing it, but this obviously doesn't overwrite the existing
>> SSH
>>> package that comes with the build.
>>> 
>>> How can I remove the default package and instruct the system to use
>> the one
>>> I've built from pkgsrc?
>> 
>> NetBSD, and the other BSDs (that I'm aware of) don't use a package
>> manager for the base software. So you aren't removing the base ssh
>> software (which is openssh), you're just not starting it at boot time.
> 
> Which is a great way to run into problems.  Even if you need to manually do so, if you're using ssh from pkgsrc I highly suggest removing the base ssh binaries.
> I ran into issues like this before (with pkg_add, etc...) and it can lead to unexpected behavior when you inevitably end up running the wrong binary.
> 
> Eric

How would you do that? Just manually deleting them?


-Mark


Home | Main Index | Thread Index | Old Index