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.