Haiku Beta 6 / Nightly: HaikuDepot and pkgman repository issues in QEMU/KVM VM

I’m troubleshooting a Haiku installation running as a QEMU/KVM virtual machine through virt-manager, and I’m running into persistent problems with the Haiku package repositories / HaikuDepot.

The current installation is a fresh Haiku installation running in a VM. The VM has normal network connectivity, but HaikuDepot and pkgman don’t appear to be behaving correctly.

What I’ve observed

HaikuDepot is able to connect to the repository and retrieve a package listing, but the listing appears to be incomplete. It doesn’t seem to be retrieving the complete repository/package database.

I’ve also encountered failures when refreshing the repositories with pkgman, including:

failed! Operation not permitted

I’ve tested the repository connectivity separately with curl, and the VM is able to establish network connections.

Troubleshooting already performed

I’ve ruled out several possible causes:

  • The VM has working network connectivity.

  • The initial IPv6-related networking problem was resolved; IPv4 connectivity works.

  • Changing the virtual NIC model did not resolve the repository/package problem.

  • The system date/time is correct.

  • The time zone is correctly configured for Chicago/Central Time.

  • NTP synchronization is working.

  • This is a fresh Haiku installation.

  • The problem persists after changing the VM’s virtual network adapter.

  • The problem isn’t simply that the VM has no Internet access.

I also experienced similar repository/update behavior with some Haiku nightly installations prior to the Beta 6 release.

Environment

  • Haiku: Beta 6 / recent nightly testing

  • Virtualization: QEMU/KVM

  • VM management: virt-manager

  • Guest networking: virtual Ethernet adapter

  • Host networking: working normally

At this point I’m wondering whether this is a repository/package-manager issue, a HaikuDepot database synchronization issue, or something specific to Haiku running under QEMU/KVM.

I’m happy to provide additional command output or run specific diagnostic commands if someone can point me in the right direction.

I’m particularly interested in determining whether the incomplete HaikuDepot listing and the pkgman refresh “Operation not permitted” error are related.

Hello @NMinker ; I’m running Haiku nightly on QEMU and it’s able to update packages OK. Possibly you may get some more details from HaikuDepot by running the application from the command line with verbose logging. See here for how to do that under “Diagnostic Logs”.

Depot Debug log

Okay let’s try this again, still learning how to use this kind of forum

I am unable to boot nightlies on both real hardware or QEMU with UEFI. Same behavior, boot splash shows up but not even the first icon highlights.

On real hardware I can boot the usb and install, but the installed never boots. I’ve tried to boot from usb and select disk boot volume, but it is not listed.

Same behavior, boot splash shows up but not even the first icon highlights.

Hello. Is this related to the issue described in the thread or is a separate issue?

I’ve had a look at the log you have posted. A bit tricky as I can’t download the file and also can’t selected the text in that Google Drive preview which makes it difficult but there are many lines like this;

[PackageFillingPkgListener] unable to find the pkg XXX

This is implying that HaikuDepot desktop application can see the package from HDS but is unable to correlate it with one from the configured package repository on your Haiku computer. Try run the following command;

pkgman search -a

How many packages do you see? Where HaikuDepot is “unable to find the pkg”, do you see the package in the output from this command?

Can you please run this command…

pkgman list-repos

…and paste the output here.

1 Like