Port-amd64 archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Accidentally "upgraded" i386 to amd64
On Wed, Dec 2, 2020 at 7:04 AM Martin Husemann <martin%duskware.de@localhost> 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
Home |
Main Index |
Thread Index |
Old Index