Re: Accidentally "upgraded" i386 to amd64
Andy Ruhl <[email protected]> Wed, 2 Dec 2020 07:25:25 -0700
| Newsgroups | gmane.os.netbsd.ports.x86-64,gmane.os.netbsd.ports.i386 |
|---|---|
| Message-ID | <CAJcb3frZU2k8Yb_6xeZ18QpbD8_znT5BCBp-wSk5nQmyNM3Q4w@mail.gmail.com> |
On Wed, Dec 2, 2020 at 7:04 AM Martin Husemann <[email protected]> wrote: > This is configured in /etc/ld.elf_so and the fix probably is to remove > that file completely. I don't have that but I have /etc/ld.so.conf which says: # cat ld.so.conf libm.so.0 machdep.fpu_present 1:libm387.so.0,libm.so.0 > For the pkgin issue: are you sure you updated pkgin itself too? > You could check with: file /usr/pkg/*bin/pkgin Yes, I did it with pkg_add: # file /usr/pkg/*bin/pkgin /usr/pkg/bin/pkgin: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /usr/libexec/ld.elf_so, for NetBSD 9.0, stripped However I found something else, possibly related to the pkg_install package (which will not upgrade)?: # file /usr/pkg/sbin/pkg* /usr/pkg/sbin/pkg_add: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /usr/libexec/ld.elf_so, for NetBSD 9.0, not stripped /usr/pkg/sbin/pkg_admin: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /usr/libexec/ld.elf_so, for NetBSD 9.0, not stripped /usr/pkg/sbin/pkg_create: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /usr/libexec/ld.elf_so, for NetBSD 9.0, not stripped /usr/pkg/sbin/pkg_delete: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /usr/libexec/ld.elf_so, for NetBSD 9.0, not stripped /usr/pkg/sbin/pkg_info: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /usr/libexec/ld.elf_so, for NetBSD 9.0, not stripped /usr/pkg/sbin/pkg_view: POSIX shell script, ASCII text executable > Also double check or recreate everything in /dev > (like: cd /dev && sh MAKEDEV all) Did this with no problems, thanks for the reminder. Andy