1. cd /usr/ports && make fetchindex 2. portsdb -uU 3. rm -f /var/db/pkg/pkgdb.db 4. pkgdb -Fu 5. cd /usr/src ; make buildworld; make kernel; make installworld; reboot— 這招很好用 上面步驟如果只需要更新ports tree 只需要 cd /usr/ports && make fetchindex 就可以了
介紹一堆美食日記,生活日記,電腦筆記
1. cd /usr/ports && make fetchindex 2. portsdb -uU 3. rm -f /var/db/pkg/pkgdb.db 4. pkgdb -Fu 5. cd /usr/src ; make buildworld; make kernel; make installworld; reboot— 這招很好用 上面步驟如果只需要更新ports tree 只需要 cd /usr/ports && make fetchindex 就可以了
Pingback: 淡 — 平常茶飯事, 心得, 雜談 » Blog Archive » Ports 更新 index 有需要這樣嗎?()