How to install pkgman?

Forum thread started by LNHX on Wed, 2014-04-16 23:55

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.

Comments

Re: How to install pkgman?

/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

Re: How to install pkgman?

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

Re: How to install pkgman?

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

Re: How to install pkgman?

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!

Re: How to install pkgman?

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?

Re: How to install pkgman?

Re: How to install pkgman?

LNHX wrote:

I can successfully install it, but it gives me a kernel panic when booting from the hard drive: "Unexpected error: Divide Error Exception".

Maybe it's the same bug described in 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

Re: How to install pkgman?

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.

Re: How to install pkgman?

LNHX wrote:

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?

I'm getting this same error. it works fine with something in a USB port, though. it's bizarre

Re: How to install pkgman?

khallebal wrote:

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.

go into the safemode options, and try disabling IDE DMA

see if that helps.