Re: -Stable periodic updates

看板FB_questions作者時間14年前 (2011/11/06 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串10/12 (看更多)
On Sat, Nov 5, 2011 at 3:36 PM, Zantgo <zantgo@gmail.com> wrote: > I will say my question clear. > If I have FreeBSD-8.2-stable, updated 2011/05/18, what I want to do is update the current, as for example 2011/11/01. I am willing to read me a manual that tells me how to do this._______________________________________________ Short answer: 1. Update /usr/src with csup using an appropriate supfile. e.g.: ---------- /etc/8stable-sup ---------------------------- *default host=cvsup2.FreeBSD.org *default base=/usr *default prefix=/usr *default release=cvs tag=RELENG_8 *default delete use-rel-suffix *default compress src-all ----------- /etc/8stable-sup ---------------------------- # csup -g -L2 /etc/8stable-sup 2. Compile /usr/src into /usr/obj: # cd /usr/src # make buildworld && make buildkernel KERNCONF=GENERIC 3. Install /usr/obj as the base system: # make installkernel KERNCONF=GENERIC # reboot (single user) (You do this to verify that the new kernel is booting correctly) (single-user)# mount -a (single-user)# cd /usr/src (single-user)# mergemaster -p (single-user)# make installworld (single-user)# mergemaster (single-user)# make delete-old [optional, but beware!] (single-user)# make delete-old-libs (single-user)# reboot 4. Now update the ports tree /usr/ports -------------- /etc/ports-sup ------------------------------- *default host=cvsup2.FreeBSD.org *default base=/usr *default prefix=/usr *default release=cvs tag=. *default delete use-rel-suffix *default compress ports-all --------------- /etc/ports-sup ------------------------------- # csup -g -L2 /etc/ports-sup 5. Update the installed ports on your system, by rebuilding all ports that are not up-to-date: # cd /usr/ports # less UPDATING (Read from the entry of the last time you've updated the ports) (get a new portmaster just in case) # portmaster -b ports-mgmt/portmaster (now, rebuild all that is not up-to-date) # portmaster -a Or, if you prefer: # pkg_version -v '<' > /root/pkg-update-list.txt # less /root/pkg-update-list # portmaster -b (one-port-after-the-other-from-the-list-above) (To get portmaster, install /usr/ports/ports-mgmt/portmaster) Good luck, -cpghost. -- Cordula's Web. http://www.cordula.ws/ _______________________________________________ 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): #1EjNddsu (FB_questions)
討論串 (同標題文章)
文章代碼(AID): #1EjNddsu (FB_questions)