pkg update

Robert Fitzpatrick robert at webtent.org
Sun Jul 22 13:00:03 UTC 2018


Isn't 10.4 still alive? I plan to upgrade before October, but I'm seeing 
this now:

root at data3:~ # uname -a
FreeBSD data3.webtent.net 10.4-RELEASE-p9 FreeBSD 10.4-RELEASE-p9 #0: 
Tue May  8 07:05:01 UTC 2018     
root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
root at data3:~ # pkg update
/lib/libc.so.7: version FBSD_1.4 required by /usr/local/lib/libpkg.so.4 
not found

Can someone suggest what I could do to correct this and update packages? 
I get the same whether trying to install a package or upgrade.

Also, I keep receiving the same src updates but I don't have the src 
installed, how can I have freebsd-update not install src items as shown 
below? I do have some files in the /usr/src directory, perhaps I 
downloaded some src at some point in the past. Can't remember how they 
got there...

root at data3:~ # ls /usr/src
contrib crypto  secure
root at data3:~ # freebsd-update fetch
Looking up update.FreeBSD.org mirrors... none found.
Fetching metadata signature for 10.4-RELEASE from update.FreeBSD.org... 
done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.

The following files will be added as part of updating to 10.4-RELEASE-p9:
/usr/src/contrib/file/magic/Magdir/apache
/usr/src/contrib/file/magic/Magdir/bhl
/usr/src/contrib/file/magic/Magdir/gconv
/usr/src/contrib/file/magic/Magdir/gpu
/usr/src/contrib/file/magic/Magdir/webassembly
/usr/src/contrib/file/magic/Magdir/yara
/usr/src/contrib/file/tests/hddrawcopytool.result
/usr/src/contrib/ntp/sntp/m4/ntp_af_unspec.m4
/usr/src/contrib/ntp/sntp/tests/testconf.yml
root at data3:~ # freebsd-update install
Installing updates...install: 
///usr/src/contrib/file/magic/Magdir/apache: No such file or directory
install: ///usr/src/contrib/file/magic/Magdir/bhl: No such file or directory
install: ///usr/src/contrib/file/magic/Magdir/gconv: No such file or 
directory
install: ///usr/src/contrib/file/magic/Magdir/gpu: No such file or directory
install: ///usr/src/contrib/file/magic/Magdir/webassembly: No such file 
or directory
install: ///usr/src/contrib/file/magic/Magdir/yara: No such file or 
directory
install: ///usr/src/contrib/file/tests/hddrawcopytool.result: No such 
file or directory
install: ///usr/src/contrib/ntp/sntp/m4/ntp_af_unspec.m4: No such file 
or directory
install: ///usr/src/contrib/ntp/sntp/tests/testconf.yml: No such file or 
directory
  done.

-- 
Robert



More information about the freebsd-questions mailing list