How to install pkgman?

This is my first time ever with Haiku/BeOS, and so far i’m liking it very much.

I’ve read i can update the installed packages by using the “pkgman” package manager, but it’s not installed by default.
How can i install it?

Sorry if this is a noob question, i’m a complete newbie.

/boot/system/apps/HaikuDepot work fine

Update OS - script :

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

Hi LNHX!

Sounds like you are using the Alpha4 release.
Packagemanagement wasn’t available back when Alpha4 came out. You need a nightly image. Then you have HaikuDepot as GUI application or pkgman from the commandline.

Regards,
Humdinger

Yes, i have Alpha 4.1 (downloaded from the link on the official site.)
I’ll try the nightly image, Thank you.

A liittle off-topic:
I installed haiku on my real machine (home desktop).

And everything, from sound to USB ports is working properly, it’s blazing fast and has a very small footprint…
I’m looking forward for a final release. Great job!

Unfortunately i coudn’t get the latest nightly build to boot on this machine.
I can successfully install it, but it gives me a kernel panic when booting from the hard drive: “Unexpected error: Divide Error Exception”.

Could anyone help?

Boot livecd - terminal - listdev ?
http://www.haiku-files.org/haiku/development/haiku-nightly-hrev47119-x86gcc2hybrid-cd.zip

BIOS - AHCI mode ?

hard drive - MBR or GPT ?

http://www.haiku-os.org/docs/userguide/en/bootloader.html

Maybe it’s the same bug described in <a href=#10717 (KDL trying to mount boot filesystem during bootup) – Haiku">ticket #10717. If you can boot from the USB stick, you could mount the HDD-installed Haiku partition and see if the /system/var/logs/syslog shows something and add that to the #10717 ticket.
Maybe disconnecting the optical drive, as described there, works for you as well.

The “Welcome” page has a link on how to file a good bug report. Maybe your collected info can help fix the bug.

Regards,
Humdinger

hi
i have the same kernel panic msg,the workaround is to put a cd/dvd no blanc cd though in the cd drive before booting haiku,until the bug is fixed.

[quote=LNHX]Unfortunately i coudn’t get the latest nightly build to boot on this machine.
I can successfully install it, but it gives me a kernel panic when booting from the hard drive: “Unexpected error: Divide Error Exception”.

Could anyone help?[/quote]
I’m getting this same error. it works fine with something in a USB port, though. it’s bizarre

[quote=khallebal]hi
i have the same kernel panic msg,the workaround is to put a cd/dvd no blanc cd though in the cd drive before booting haiku,until the bug is fixed.[/quote]

go into the safemode options, and try disabling IDE DMA

see if that helps.