PDA

View Full Version : upgrading via command-line


dhylton
07-24-2012, 05:59 PM
i have server edition installed via 20120621 snapshot, and would like to upgrade to the latest beta. and then to -release, once available. none of the gui tools are installed of course, and the upgrade notes that i've found do not cover this situation.

how would i go about performing the upgrade?

dhylton
07-25-2012, 02:19 PM
just in case anyone else is in this situation ...

pc-updatemanager is a command-line utility that was included with subsequent snapshots. i downloaded/built that from source, and it was able to take me to 9.1-beta1.

rvc
09-01-2012, 01:43 PM
just in case anyone else is in this situation ...

pc-updatemanager is a command-line utility that was included with subsequent snapshots. i downloaded/built that from source, and it was able to take me to 9.1-beta1.

can you elaborate on how you did it ?
i ve been breaking my head after an interrupt thru the gui and everytime it says system is uptodate !
i too wish to be carried into rc-2 (which is the latest i think !)

kmoore134
09-04-2012, 04:07 PM
rc1 is the latest. You can run "pc-updatemanager" command from the CLI,
and it'll give you a list of usage options.

rvc
09-05-2012, 01:12 AM
rc1 is the latest. You can run "pc-updatemanager" command from the CLI,
and it'll give you a list of usage options.

i did that many times...
i followed the update method, downloaded all the packages (base + gnome desktop and i had to interrupt that download in between when kde was being downloaded) i tried to restart the procedure but now i am getting system is up to date and i didnt get the console pop up asking for upgrading the downloaded packages.

now ive downloaded the usb full image for RC1. is there a way i can use that to upgrade without affecting my downloaded softwares and customizations ? OR do i have to go for a clean install ?

kmoore134
09-05-2012, 01:25 PM
You can install fresh, but can you post the output of this?

% pbreg get /PC-BSD/Version
% uname -a

Maybe the version number is wrong.

rvc
09-05-2012, 06:21 PM
You can install fresh, but can you post the output of this?

% pbreg get /PC-BSD/Version
% uname -a

Maybe the version number is wrong.

[rvc@isotope] ~> pbreg get /PC-BSD/Version
9.0[rvc@isotope] ~> uname -a
FreeBSD isotope 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12 02:52:29 UTC 2012 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
[rvc@isotope] ~>

this is the output i get.....
honestly speaking, i have the rc1 usb full ready on my hdd as i had a fresh download... but if i have to do that then can i retain my current configuration ? i doubt if i can ! but if that is possible then i ll be delighted to go about that ! as such 9.0 is working cool, i am doing all the jugglery simply coz i am unable to connet to my work place windows share and unable to connect the office printer...

kmoore134
09-10-2012, 08:27 PM
Oh, you are on 9.0 still, so you will need to follow the instructions at
the end of the 9.1-RC1 release announcement, or wait for 9.1 to be
officially released:

http://lists.pcbsd.org/pipermail/testing/2012-August/007330.html ('http://lists.pcbsd.org/pipermail/testing/2012-August/007330.html')

jwele
10-02-2012, 11:50 PM
* If you wish to update from 9.0 to RC1 you may do so by editing the "/usr/local/share/pcbsd/pc-updatemanager/conf/sysupdate.conf" file and changing the PATCHSET: variable to "pcbsdtest".

After changing this variable, you may run the updater utility, to download a new update manager. Once this update manager is installed, the online update to the RC1 version will appear.

tomaz
04-05-2013, 10:53 AM
freebsd-update is still needed to update kernel and base OS?

So proper sequence is this:

pc-updatemanager check
pc-updatemanager install <something>

freebsd-update check
freebsd-update install