{"id":2034,"date":"2018-03-07T16:03:43","date_gmt":"2018-03-07T16:03:43","guid":{"rendered":"http:\/\/hauweele.net\/~gawen\/blog\/?p=2034"},"modified":"2018-05-20T13:14:08","modified_gmt":"2018-05-20T13:14:08","slug":"wrong-os-version-in-pkg","status":"publish","type":"post","link":"https:\/\/hauweele.net\/~gawen\/blog\/?p=2034","title":{"rendered":"Wrong OS version in pkg"},"content":{"rendered":"<p>If FreeBSD&#8217;s pkg refuses to update because of a wrong OS version, for example because you are in a FreeNAS jail and version mismatch are <a href=\"https:\/\/forums.freenas.org\/index.php?threads\/update-jail-base-system.26610\">bound to happen<\/a>, then you can always try to <a href=\"https:\/\/bugs.freebsd.org\/bugzilla\/show_bug.cgi?id=225104\">force the OS version in pkg<\/a> (which you can find with <code>uname -UK<\/code>. Either put <code>OSVERSION={{version}}<\/code> in <i>\/usr\/local\/etc\/pkg.conf<\/i> or start it with <code>pkg -o OSVERSION={{version}}<\/code> where <code>{{version}}<\/code> is the target version, for example <i>1101001<\/i>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If FreeBSD&#8217;s pkg refuses to update because of a wrong OS version, for example because you are in a FreeNAS jail and version mismatch are bound to happen, then you can always try to force the OS version in pkg &hellip; <a href=\"https:\/\/hauweele.net\/~gawen\/blog\/?p=2034\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[155,137,389,881,970,969,968,394],"class_list":["post-2034","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-error","tag-force","tag-freebsd","tag-freenas","tag-mismatch","tag-os-version","tag-osversion","tag-pkg"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/hauweele.net\/~gawen\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2034","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hauweele.net\/~gawen\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hauweele.net\/~gawen\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hauweele.net\/~gawen\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hauweele.net\/~gawen\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2034"}],"version-history":[{"count":0,"href":"https:\/\/hauweele.net\/~gawen\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2034\/revisions"}],"wp:attachment":[{"href":"https:\/\/hauweele.net\/~gawen\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2034"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hauweele.net\/~gawen\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2034"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hauweele.net\/~gawen\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2034"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}