I just upgrade my FreeBSD and using PKGNG instead, as old pkg_add is currently marked obsolete.
Ref
pkgng – best thing since sliced bread!
pkgng: First look at FreeBSD’s new package manager
After these steps, run pkg update.
Report following packages conflicts with newers.
1 2 3 4 |
pkg delete -f docbook-xml-4.4_1 pkg delete -f perl5.14-5.14.4_4 pkg delete -f docbook-xml-4.3 pkg delete -f docbook-sk-4.1.2.4 |
after that, pkg update should work.
Reboot.
following 2 libs reported missing:
libgcrypt.so.18 and libpcre.so.1
1 2 3 |
# cd /usr/local/lib # ln -s libpcre.so.3 libpcre.so.1 # ln -s libgcrypt.so.19 libgcrypt.so.18 |
New system fonts display seems not good, anti-sawtooth font’s option cannot be enabled.
it should be owned by the auto dependency installed wqy fonts.
problem is involved by a wrong-configured fonts.conf, which applied to all fonts size<17
W/R:
Edit: /usr/local/etc/fonts/conf.avail/85-wqy.conf
1 2 |
<test name="size" compare="less_eq"><int>16</int></test> <edit name="antialias" mode="assign"><bool>false</bool></edit> |
replace 16 with 8, or just remove the 85-wqy.conf file.
解决FreeBSD/DragonFlyBSD字体抗锯齿设置无效的问题
X下antialias设置对所有字号小于17的字体均不生效