pkg wrong architecture pRoBlEm !!

From: Jeffrey Bouquet <jbtakk_at_iherebuywisely.com>
Date: Wed, 05 Apr 2017 03:13:10 -0700 (PDT)
Script started on Wed Apr  5 03:05:22 2017

Command: pkg add -f /var/cache/pkg/vim-8.0.0534-c8fbf335b0.txz

pkg: Ignoring bad configuration entry in pkg.conf: "/usr/cache/pkg"
pkg: Ignoring bad configuration entry in pkg.conf: "INDEX-12"

Installing vim-8.0.0534...

pkg: wrong architecture: FreeBSD:12:i386 instead of freebsd:12:x86:32

package vim is already installed, forced install
Extracting vim-8.0.0534:   0%
Extracting vim-8.0.0534:   0%
Extracting vim-8.0.0534:   1%
Extracting vim-8.0.0534:   2%
Extracting vim-8.0.0534:   3%
Extracting vim-8.0.0534:   4%
Extracting vim-8.0.0534:   5%
Extracting vim-8.0.0534:   6%
Extracting vim-8.0.0534:   7%
Extracting vim-8.0.0534:   8%
Extracting vim-8.0.0534:   9%
Extracting vim-8.0.0534:  10%
Extracting vim-8.0.0534:  11%
Extracting vim-8.0.0534:  12%
Extracting vim-8.0.0534:  13%
Extracting vim-8.0.0534:  14%
Extracting vim-8.0.0534:  15%
Extracting vim-8.0.0534:  16%
Extracting vim-8.0.0534:  17%
Extracting vim-8.0.0534:  18%
Extracting vim-8.0.0534:  19%
Extracting vim-8.0.0534:  20%
Extracting vim-8.0.0534:  21%
Extracting vim-8.0.0534:  22%
Extracting vim-8.0.0534:  23%
Extracting vim-8.0.0534:  24%
Extracting vim-8.0.0534:  25%
Extracting vim-8.0.0534:  26%
Extracting vim-8.0.0534:  27%
Extracting vim-8.0.0534:  28%
Extracting vim-8.0.0534:  29%
Extracting vim-8.0.0534:  30%
Extracting vim-8.0.0534:  31%
Extracting vim-8.0.0534:  32%
Extracting vim-8.0.0534:  33%
Extracting vim-8.0.0534:  34%
Extracting vim-8.0.0534:  35%
Extracting vim-8.0.0534:  36%
Extracting vim-8.0.0534:  37%
Extracting vim-8.0.0534:  38%
Extracting vim-8.0.0534:  39%
Extracting vim-8.0.0534:  40%
Extracting vim-8.0.0534:  41%
Extracting vim-8.0.0534:  42%
Extracting vim-8.0.0534:  43%
Extracting vim-8.0.0534:  44%
Extracting vim-8.0.0534:  45%
Extracting vim-8.0.0534:  46%
Extracting vim-8.0.0534:  47%
Extracting vim-8.0.0534:  48%
Extracting vim-8.0.0534:  49%
Extracting vim-8.0.0534:  50%
Extracting vim-8.0.0534:  51%
Extracting vim-8.0.0534:  52%
Extracting vim-8.0.0534:  53%
Extracting vim-8.0.0534:  54%
Extracting vim-8.0.0534:  55%
Extracting vim-8.0.0534:  56%
Extracting vim-8.0.0534:  57%
Extracting vim-8.0.0534:  58%
Extracting vim-8.0.0534:  59%
Extracting vim-8.0.0534:  60%
Extracting vim-8.0.0534:  61%
Extracting vim-8.0.0534:  62%
Extracting vim-8.0.0534:  63%
Extracting vim-8.0.0534:  64%
Extracting vim-8.0.0534:  65%
Extracting vim-8.0.0534:  66%
Extracting vim-8.0.0534:  67%
Extracting vim-8.0.0534:  68%
Extracting vim-8.0.0534:  69%
Extracting vim-8.0.0534:  70%
Extracting vim-8.0.0534:  71%
Extracting vim-8.0.0534:  72%
Extracting vim-8.0.0534:  73%
Extracting vim-8.0.0534:  74%
Extracting vim-8.0.0534:  75%
Extracting vim-8.0.0534:  76%
Extracting vim-8.0.0534:  77%
Extracting vim-8.0.0534:  78%
Extracting vim-8.0.0534:  79%
Extracting vim-8.0.0534:  80%
Extracting vim-8.0.0534:  81%
Extracting vim-8.0.0534:  82%
Extracting vim-8.0.0534:  83%
Extracting vim-8.0.0534:  84%
Extracting vim-8.0.0534:  85%
Extracting vim-8.0.0534:  86%
Extracting vim-8.0.0534:  87%
Extracting vim-8.0.0534:  88%
Extracting vim-8.0.0534:  89%
Extracting vim-8.0.0534:  90%
Extracting vim-8.0.0534:  91%
Extracting vim-8.0.0534:  92%
Extracting vim-8.0.0534:  93%
Extracting vim-8.0.0534:  94%
Extracting vim-8.0.0534:  95%
Extracting vim-8.0.0534:  96%
Extracting vim-8.0.0534:  97%
Extracting vim-8.0.0534:  98%
Extracting vim-8.0.0534:  99%
Extracting vim-8.0.0534: 100%

Command exit status: 0
Script done on Wed Apr  5 03:05:54 2017


as SAMBA44 is here per UPDATING, not only does pkg install vim which has
already been fetched need samba43 download, but the wrong architecture
problem above makes it a real conundrum.  How to make pkg smart enough
to either point to which file it gets each from to change to one OR the other,
and put it in /usr/src/PKG-UPDATING, since the pkg is in base,  OR
present a choice of options "keep this architecture, pkg will do FOO, or keep
that architecture, pkg will do BAR, " and let the user pick?

I know I can fix this just by waiting a week and doing beta stuff, but it would be
nice to have a polished ncurses or something what-will-happen choice or why-it-happened
explanation so conf files can be edited.

Thanks
J Bouquet 
Received on Wed Apr 05 2017 - 08:47:44 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:11 UTC