I have no X now, I get libcrypto.so.7 not found , also sudo doesn't work now I get shared objetct libpam.so.5 not found, requiered by "sudoers.so"
I really don't know what to do...
I really don't know what to do...
uname -a
FreeBSD dambsd 11.0-RELEASE-p2 FreeBSD 11.0-RELEASE-p2 #0: Mon Oct 24 06:55:27 UTC 2016 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
Because you didn't follow the steps. After any major upgrade you must reinstall all ports/packages.why this happened?
#pkg-static bootstrap -f
(answer yes at the prompt)
# pkg update -f
# pkg upgrade -f -y
FreeBSD: {
url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest"
}
# pkg update -f
# pkg upgrade -y
This is your problem, not the "missing" library. Library versions may change between FreeBSD releases such as libcrypto.so.7. This is a library in FreeBSD 10.x, but not FreeBSD 11.x. Recompiling / reinstalling packages after an upgrade, ensures software is pointing to the correct libraries for your system.some packages failed to build with portmaster -af,
pkg upgrade -y
installed binaries packages not from source? If I want to rebuild the packages and using source I will have to use portmaster -af
? freebsd-update
update my system to 11.0 p2 and not to 11.0 p5? enter
or q
(I think, can't remember) to get out of the pager display and then run sudo freebsd-update install
. This would install the updates you just fetched.if i want to rebuild the packages and using source i will have to use portmaster -af? is there anything better than portmaster to rebuild from source?
Looking up update.FreeBSD.org mirrors... 4 mirrors found.
Fetching metadata signature for 11.0-RELEASE from update6.freebsd.org... done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.
No updates needed to update system to 11.0-RELEASE-p5.
sudo freebsd-update install
No updates are available to install.
Run '/usr/sbin/freebsd-update fetch' first.
$ sudo freebsd-update fetch
Looking up update.FreeBSD.org mirrors... 4 mirrors found.
Fetching metadata signature for 11.0-RELEASE from update5.freebsd.org... done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.
No updates needed to update system to 11.0-RELEASE-p5.
No updates are available to install.
Run '/usr/sbin/freebsd-update fetch' first.
freebsd-version -u
I'm not a big fan of this "feature" of freebsd-update(8) but you'll just have to live with it. There's work towards packaging the base system with ports-mgmt/pkg and with that system you would have properly versioned packages of everything and there wouldn't be any confusion if a component such as the kernel needs updating or not and there would be no harm in doing dummy updates that just update the version number.
https://wiki.freebsd.org/PkgBase
ports-mgmt/synth will, in fact up(grade/date) your entire (installed) ports. Whether built from ports, or installed via pkg(8).A lot of us are using ports-mgmt/synth as our day to day builder tool, but come to think if it, I'm not sure if Synth can be told to "rebuild all installed ports" even if no updates are available. It's pretty smart so maybe its author has detection logic built in that figures that out. I'll try to fart around with that soon, but might be a few days.