pkgsrc-Users archive

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

Re: Can't install sysutils/lsof



from Ray Phillips:

> Hi,     

> I'm unable to install lsof on a NetBSD/amd64 7.1 machine using pkgin.
> This was the result of my attempt...
        
> # pkgin install lsof
> calculating dependencies... done.
        
> nothing to upgrade.
> 2 packages to be installed (105K to download, 308K to install):
        
> osabi-NetBSD-7.0 lsof-4.89

> proceed ? [Y/n] y
> downloading packages...
> osabi-NetBSD-7.0.tgz                100% 2952     2.9KB/s   2.9KB/s   00:00
> lsof-4.89.tgz                       100%  102KB  51.2KB/s   6.3KB/s   00:02
> installing packages...
> installing osabi-NetBSD-7.0...
> The Operating System version (7.1) does not match 7.0
> installing lsof-4.89...
> The Operating System version (7.1) does not match 7.0
> pkg_install warnings: 3, errors: 3
> pkg_install error log can be found in /var/db/pkgin/pkg_install-err.log
> reading local summary...
> processing local summary...
> no such installed package lsof
#
 
> The corresponding entries in /var/db/pkgin/pkg_install-err.log were:

> ---Nov 21 02:50:45: installing osabi-NetBSD-7.0...
> pkg_add: Warning: package `osabi-NetBSD-7.0' was built for a platform:
> pkg_add: NetBSD/x86_64 7.0 (pkg) vs. NetBSD/x86_64 7.1 (this host)
> pkg_add: install script returned error status
> pkg_add: 1 package addition failed
> ---Nov 21 02:50:45: installing lsof-4.89...
> pkg_add: Warning: package `lsof-4.89' was built for a platform:
> pkg_add: NetBSD/x86_64 7.0 (pkg) vs. NetBSD/x86_64 7.1 (this host)
> pkg_add: Warning: package `osabi-NetBSD-7.0' was built for a platform:
> pkg_add: NetBSD/x86_64 7.0 (pkg) vs. NetBSD/x86_64 7.1 (this host)
> pkg_add: install script returned error status
> pkg_add: Can't install dependency osabi-NetBSD-7.0
> pkg_add: 1 package addition failed

> I discovered that  http://pkgsrc.se/pkgtools/osabi  says that osabi
> "is a dummy-package which is made a dependence for packages which are
> tightly bound to a specific version of an operating system" so,
> reasoning that the package for 7.0 would be close enough to work with
> 7.1 I tried to force the install using  pkgin -F install lsof  but the
> result was the same.

> Will I have to wait until a package explicitly built for 7.1 is
> available or there a way around this problem now?

You could build the package from pkgsrc for your installed NetBSD version, but there could possibility be incompatibilities when you install prebuilt packages and then some that you compile from the source.


Tom



Home | Main Index | Thread Index | Old Index