Actions
Bug #4670
closedpkg - ELF interpreter /libexec/ld-elf.so.1 not found
Status:
Not a Bug
Priority:
Normal
Assignee:
-
Category:
Operating System
Target version:
-
Start date:
05/02/2015
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
Affected Architecture:
amd64
Description
Latest 2.2.3-DEVELOPMENT snapshot.
$ pkg ELF interpreter /libexec/ld-elf.so.1 not found Abort $ ls -l /libexec/ld-elf.so.1 -r-xr-xr-x 1 root wheel 282016 May 2 05:53 /libexec/ld-elf.so.1 $ file /libexec/ld-elf.so.1 /libexec/ld-elf.so.1: ELF 64-bit LSB shared object, x86-64, version 1 (FreeBSD), dynamically linked, stripped
Eh, dafuq?
Updated by Kill Bill almost 9 years ago
Well, figured out. Another corpse left after accidental cross-arch upgrade (kindly see Bug #4636 and fix the braindead thing.)
$ truss pkg ... access("/usr/local/sbin/pkg",1) = 0 (0x0) ELF interpreter /libexec/ld-elf.so.1 not found process exit, rval = 0
$ file /usr/local/sbin/pkg /usr/local/sbin/pkg: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), dynamically linked (uses shared libs), for FreeBSD 10.0 (1000510), stripped
$ mv /usr/local/sbin/pkg /usr/local/sbin/pkg.i386 $ pkg The package management tool is not yet installed on your system. Do you want to fetch and install it now? [y/N]:
Not really sure how to handle this. Overall, I'd say full installs would benefit from the nanobsd "two-sliced" approach. The amount of stale cruft that keeps accumulating on the system and eventually causing serious breakage is disturbing.
Updated by Kill Bill almost 9 years ago
Hmmm, wonderful. Now, someone tell me how to fix this.
$ pkg The package management tool is not yet installed on your system. Do you want to fetch and install it now? [y/N]: y Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/freebsd:10:x86:64/latest, please wait... Verifying signature with trusted certificate pkg.freebsd.org.2013102301... done Installing pkg-1.5.1... the most recent version of pkg-1.4.1 is already installed
Sigh.
Updated by Chris Buechler almost 9 years ago
- Status changed from New to Not a Bug
- Target version deleted (
2.2.3) - Affected Version deleted (
2.2.3)
Actions