Solved Missing libs after update

After much trial and error, mostly error, I managed to get one of my installations up to 15.0.

However some libraries are missing such as libslang.so.2, libnet.so.9 among several others.

I ran pkg update and pkg upgrade after completing freebsd-update.

What did I miss out? Or how do I install these missing libs?
 
Me too but it doesn't sometimes. Software is written by persons making errors , so software contains always errors, including macos,windows,linux.
You can try,
pkg update -f
pkg upgrade -f
Check /var/log/messages if packages get uninstalled during the process, ie conflicting
 
I don't understand any of this at all.

Is it my system that is screwed up or the pkg server?
root@X61:~ $ pkg version -vRl= > temp.blob
pkg: sqlite error while executing grmbl in file update.c:154: NOT NULL constraint failed: packages.path
pkg: sqlite error while executing grmbl in file update.c:154: NOT NULL constraint failed: packages.path
pkg: sqlite error while executing INSERT OR REPLACE INTO packages (origin, name, version, comment, desc, arch, maintainer, www, prefix, pkgsize, flatsize, licenselogic, cksum, path, manifestdigest, olddigest, vital)VALUES (?1, ?2, ?3, ?4, ?5, ?6, ?7, ?8, ?9, ?10, ?11, ?12, ?13, ?14, ?15, ?16, ?17) in file update.c:158: not an error
 
Well it's now a very good time to go to the local bar, drink a good beer and meet beautiful women. [Joking].
I'll keep you informed when i come back :)
 
check the file /usr/local/etc/pkg/repos/FreeBSD.conf if you have one. They must contain sections FreeBSD-ports and FreeBSD-ports-kmods. In 15.x-RELEASE the name are changed. Then re-bootstrap and re-update pkg.
 
I thought pkg update would pull in all the required libs.
This may be a typo on your part, but just in case it isn't... pkg update doesn't pull in libs, it updates the package catalogues for the repositories that you've pointed your configuration at. The command that you're looking for is pkg upgrade.
 
This may be a typo o n your part, but just in case it isn't... pkg update doesn't pull in libs, it updates the package catalogues for the repositories that you've pointed your configuration at. The command that you're looking for is pkg upgrade.
I normally try both, but it looks like there was some temporary error on the server as things seem to be workng OK now.
 
Back
Top