View Single Post
  #1   (View Single Post)  
Old 27th March 2017
aht0 aht0 is offline
Port Guard
 
Join Date: Nov 2014
Posts: 16
Default NetBSD 7.1 binary packages issues

Hello. I've been trying to use NetBSD 7.1 binary packages and found that "7.1" packages directorys seem to be softlinked to earlier version on FTP/HTTP/etc mirrors. instead of being packages purpose-built for "7.1".

As a result, whetever I would try to install, I'd get bunch of errors in style:
Code:
---Mar 26 18:54:11: installing somepackage-0.1...
pkg_add: Warning: package `somepackage-0.1' was built for a platform:
pkg_add: NetBSD/x86_64 7.0.1_PATCH (pkg) vs. NetBSD/x86_64 7.1 (this host)
at best, I'd get warning and the package would install. At worst, package would fail because required dependency is not there.
Quote:
---Mar 26 18:54:21: installing libgtop-2.28.4nb10...
pkg_add: Warning: package `libgtop-2.28.4nb10' was built for a platform:
pkg_add: NetBSD/x86_64 7.0.1_PATCH (pkg) vs. NetBSD/x86_64 7.1 (this host)
pkg_add: no pkg found for 'osabi-NetBSD-7.0.1_PATCH', sorry.
pkg_add: Can't install dependency osabi-NetBSD-7.0.1_PATCH
pkg_add: 1 package addition failed
Which in turn, would release chain of failures..

Code:
pkg_add: Can't install dependency osabi-NetBSD-7.0.1_PATCH
pkg_add: Can't install dependency libgtop>=2.28.4nb3
Issue feels worst using 7.1 package directory, I cleaned up the packages completely and replaced the repository to "7.0_current" - which is giving me less failures, but still..

I've also substituted building/compiling the failing components from /usr/pkgsrc but some packages take "forever" to build on weaker hardware (QT4 for example). So the way binary packages are handled in NetBSD at the moment, feels rather half-assed, pardon the expression.

I am open to suggestions.

Btw, pkg_adm in NetBSD installer, for some reason fails to download and install pkgin though one can install pkgsrc packages through installer.
Reply With Quote