LibreSSL 15.1.9_1 snapshots no upgrade path?

Started by chol, June 07, 2015, 08:38:35 PM

Previous topic - Next topic
Don't force the upgrade to 15.1.11 on an old installation, especially only upgrading the kernel through "-k" is dangerous... see `man opnsense-update' for details. The old 15.1.9 sets have been removed so it's normal you are getting this error on fetch. I haven't previously seen the error you have with pkg or know why 12) stops working for you while it seems to work fine each time I try. Anybody else getting these?

Found this:

* similar bug:
https://forums.freebsd.org/threads/bin-sh-shared-object-has-no-run-time-symbol-table.43007/

* might be a disc error, says:
https://forums.freebsd.org/threads/error-when-starting-sshd.36657/

* "Shared object has no run-time symbol table" usually means FreeBSD can't
find a library file you linked the code against, says :
http://lists.grdata.com/pipermail/rtg/2004-December/001375.html


Seems to be a corrupted pkg or a corrupted library file..

Hmm, can you do a quick:

# ldd /usr/sbin/pkg
# ldd /usr/local/sbin/pkg

Quote from: franco on June 09, 2015, 07:30:38 PM
Hmm, can you do a quick:

# ldd /usr/sbin/pkg
# ldd /usr/local/sbin/pkg

# ldd /usr/sbin/pkg

Gives a list of 14 libraries (lib[..].so.#) with a => director to their positions in the root tree, each with a hex (0x80[..]) numberal

# ldd /usr/local/sbin/pkg

gives nothing


That means the "real" pkg binary is trashed. Can you remove it and bootstrap again (meaning run "pkg" manually, let it download itself by confirming)?

There seems to be a systematic theme in your installations we haven't seen elsewhere, although I really don't know what differs in your case.

O.k. Thank you for the help.
I did not anticipate it could be a trashed pkg - so you may understand my initial question about differences and possible changes in repository and image, neighter did I see the _1 in the kernel namestring before, sorry for that.

running

# /usr/sbin/pkg

or

# /usr/local/sbin/pkg

gives error: "runtime library has no shared object"

# portsnap fetch

says "command not found"

---

SOLVED:

#cd /usr/sbin

# fetch http://pkg.freebsd.org/freebsd:10:x86:64/latest/All/pkg-1.5.3.txz

#tar -C / -xvzf  pkg-1.5.3.txz

# exit

Console menu item 12) Upgrade from console runs seamlessly now!!

*** Welcome to OPNsense 15.1.11.3-d007whatever (amd64) on OPNsense ***

Thank you!!  :)

chol..


Hi Christian,

that's good news. :)  BTW, you can also take the package(s) that we provide:

https://pkg.opnsense.org/FreeBSD:10:amd64/latest/Latest/pkg.txz


Have fun,
Franco