> On Mar 1, 2017, at 8:56 AM, N. Nadine Miller <nnmil...@gmail.com> wrote: > > I installed pkgsrc some time ago and attempted to upgrade this > morning. When I attempted to update the pkg tools, it gave me an error
What exactly do you mean when you says "update the pkg tools"? > regarding 32-bit vs 64-bit, so reflexively I checked 'uname' output to > verify I hadn't broken my recent update to r151020. > > I discovered that 'uname' incorrectly reports that I have a 32-bit > version of OmniOS: >> root@jarvis:/opt# uname -a >> SunOS jarvis 5.11 omnios-bed3013 i86pc i386 i86pc That (mis)behavior has always been there. r151014(~/ws/illumos-omnios)[0]% uname -a SunOS r151014 5.11 omnios-280c743 i86pc i386 i86pc r151014(~/ws/illumos-omnios)[0]% > My kernel is 64-bit, per 'isainfo -k': >> root@jarvis:/opt# isainfo -k >> amd64 >> root@jarvis:/opt# isalist >> amd64 pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86 Correct also. isainfo & isalist are the proper illumos interfaces for figuring these things out. > Build version: >> root@jarvis:/opt# uname -v >> omnios-bed3013 >> root@jarvis:/opt# cat /etc/release >> OmniOS v11 r151020 > > Looking at the uname binary, it's 32-bit: > root@jarvis:/# file /sbin/uname > /sbin/uname: ELF 32-bit LSB executable 80386 Version 1, dynamically > linked, not stripped, no debugging information available Also correct -- the binaries in /sbin are compiled 32-bit for ancient reasons. And you may also notice that a binary in /usr/{bin,sbin} is also 32-bit, but there are /usr/{bin,sbin}/{i86,i386,amd64} versions, which are auto-switched-into the correct version based on isainfo: r151014(~/ws/illumos-omnios)[0]% ls -lt /usr/sbin/dtrace -r-xr-xr-x 77 root bin 12768 Feb 3 2015 /usr/sbin/dtrace* r151014(~/ws/illumos-omnios)[0]% ls -lt /usr/sbin/*/dtrace -r-xr-xr-x 1 root bin 57920 Dec 31 01:50 /usr/sbin/amd64/dtrace* -r-xr-xr-x 1 root bin 50924 Dec 31 01:50 /usr/sbin/i86/dtrace* r151014(~/ws/illumos-omnios)[0]% As I said earlier, I'm not sure what you mean by "update the pkg tools". Please elaborate. Thanks, Dan _______________________________________________ OmniOS-discuss mailing list OmniOS-discuss@lists.omniti.com http://lists.omniti.com/mailman/listinfo/omnios-discuss