Home

Blog

Fatcats BBS

Popular Projects
DrugLord, a Dope Wars style door game
FatFish, a fishing simulation door game
Haiku OS ports and stuff
SyncHack, multiplayer rogue-like BBS shell
Synkroban, Sokoban for Synchronet

10/06/2014 08:26 GMT | Updating Haiku using pkgman.
In the previous post, I outlined a way to manually update your Haiku environment by copying the updated PM packages from a nightly image. As of *around* hrev47000, there is now an easier and more reliable method:

- Open Terminal.

- Remove the default HaikuPorts repository:

pkgman drop-repo HaikuPorts


- Add the HaikuPorts nightly package repository (pointing to current):

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


- Add the Haiku repository (pointing to current):

pkgman add-repo http://www.haiku-files.org/haiku/master/repo/x86_gcc2/current


- Run 'pkgman update'. It will automatically download then activate the latest Haiku packages, and deactivate the older ones when it can.

- Reboot to ensure all the latest packages are activated, and the ones from the previous hrev and deactivated.

If you are running gcc4 (x86), x64 or otherwise, remember to update the URLs to the correct directory for your architecture.

In the future, you can simply run 'pkgman update' and reboot, to stay updated.

You're done--enjoy!

Click here for past posts.

Show/Hide Comments