Re: update packages by pkg_add

看板FB_questions作者時間14年前 (2011/10/30 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串5/7 (看更多)
On Saturday 29 October 2011, hvn wrote: > Using version 8.2, can somebody tell me how I can upgrade packages > that I installed using pkg_add? I'm trying to install more packages > but get messages that there are package-conflicts because of older > installed version. pkg_delete -f name-of-package pkg_add name-of-package-file The pkg_delete command needs the full name of the package including the version number at the end. Since you're going to immediately re-install the package you don't need to worry about any warning messages saying that the package is needed by other packages. The above pkg_add command will install a package from a file that you've already downloaded. If you don't have the package file then you can fetch and install the package from an FTP site with the command: pkg_add -r name-of-package -- Mike Clarke _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
文章代碼(AID): #1Eh3zbwi (FB_questions)
文章代碼(AID): #1Eh3zbwi (FB_questions)