System update

Hi

I’d like to know, what’s the best way to update Haiku system from newer nightly images, without constant re-installing, or is Haiku Depot already capable of system update (or will it ever be)?

#!/bin/sh
pkgman add-repo http://packages.haiku-os.org/haikuports/master/repo/x86_gcc2/current
pkgman add-repo http://www.haiku-files.org/haiku/master/repo/x86_gcc2/current
pkgman update -y
sync
sleep 1
shutdown -r

Thaks!

Great script. Updated my system and the logo from the bootscreen is gone, but I assume that’s due to the current Haiku build.

I finally have a way to upgrade my Haiku install without having to reinstall! Yay! I was taken by surprise when the Haiku logo was missing from the boot screen, but what the hell I can live with that! Webpositive won’t run, something about a missing symbol. Will get more info about that later.

As far as this being a rolling release, yes it is! You are now able to not only update your system, but your installed apps as well! I have not had much luck with rolling release Linux distros, but I am hopefull for Haiku! One big difference between Linux rolling release distros and Haiku is Linux has far more frequent revisions to their software (for the most part), while Haiku software is not updated very often (except for newly ported software).

I am enjoying being able to upgrade my OS install and all apps this way! Perhaps someone can either integrate this functionality into Haiku Depot, or create a seperate GUI upgrade utility (written in python, etc.) I would be willing to help fund this effort, if more people find this idea important. I applaud everyone who has helped to make this possible! Thanks!

This is incredible. It gives us a de facto rolling release system for Haiku.

Created the script, did the update and everything works nicely, but every haiku logo disappeared. No bootlogo, no wallpaper, no logo in the about-window. Is this my fault or should i create a ticket?

http://haiku.uwolke.ru/repo/binaries-x86_gcc2/packages/haiku_update_script-1.1-2-x86_gcc2.hpkg

http://haiku.uwolke.ru/repo/binaries-x86_gcc2/#En

pkgman add-repo http://haiku.uwolke.ru/repo/binaries-x86_gcc2

Yes, that’s a problem with the images that the update script is downloading not being built as an official image.

[quote=kim1963]#!/bin/sh
pkgman add-repo http://packages.haiku-os.org/haikuports/master/repo/x86_gcc2/current
pkgman add-repo http://www.haiku-files.org/haiku/master/repo/x86_gcc2/current
pkgman update -y
sync
sleep 1
shutdown -r[/quote]

Update !

#!/bin/sh
pkgman add-repo http://packages.haiku-os.org/haikuports/master/repo/x86_gcc2/current
pkgman add-repo http://download.haiku-os.org/haiku-repositories/master/x86_gcc2/current/
pkgman update -y
sync
sleep 1
shutdown -r

Now that System updates are now possible, is anyone developing a GUI update utility? Updating from the terminal is fun and informative, but it would be nice to have a one-click update experience in Haiku! I can not tell you how overjoyed I am to see how far Package Management has come along. It seems that new apps are being “ported” over to Haiku on an almost daily basis now.

I am moved to tears to see the dedication of so many people here working on what most in the Unix world sees as an ancient and outdated OS! However, Unix, Linux, BSD’s and Windows are all older than Haiku and BeOS! Those of you here and now are here not because Haiku is popular, or trendy, but because you see its potential and beauty as I do.

I do see Haiku becoming more popular over time once R1 is released and R2 is in development! It will be R2 and beyond that will attract more of the mainstream because it would have a more modern API and GUI, as well as using an up-to-date GCC or clang even! Using an old version of GCC (2.95) is much of the problem Haiku is facing in my opinion! Only x86 32 bit versions of Haiku using gcc 2.95 are backwards compatible with BeOS applications. While I do see the reason for doing this, it is limiting Haiku in more ways I can imagine!

Perhaps docker (or something similar) could be used to help ease some of the isues! If docker could be ported to Haiku, then it would matter less what compiler was used! Using docker containers may be a way of insuring that Haiku apps will run, no matter what compiler was used?

ddavid123

When will this be supported on GCC4 derived distributions? (And x86_64 if possible)

pkgman add-repo http://download.haiku-os.org/haiku-repositories/master/x86_64/current/

pkgman add-repo http://packages.haiku-os.org/haikuports/master/repo/x86_64/current/

I’ve made a quick-n-dirty graphical front-end for pkgman:

Web page:
http://clasquin-johnson.co.za/michel/haiku/yab-apps/pkg-gui.html

Direct download:
https://dl.dropboxusercontent.com/u/1043447/binaries/haikufiles/pkgGUI_0.1-1.hpkg