Opened 5 years ago
Package management: better handling of local packages
|Reported by:||Giova84||Owned by:||bonefish|
|Has a Patch:||no||Platform:||x86|
I have noticed a sort of issue while installing local packages using HaikuDepot. Well, I just double click on any HPKG file present on my disk, and HaikuDepot will prompt me to install this package. But i noticed that if my internet connection is busy (eg I'm downloading/uploading something over internet on another computer on my lan - or on the pc with Haiku) it will take a while to install local packages (and during the install process i can see, on Haiku, a connection activity, sign of the fact that the package management is looking for dependencies). So I guess that this is due to the dependencies resolution (stated in the .PackageInfo file). Well, obviously this cannot be avoided, but HaikuDepot/package management daemon should, before check on the server for dependencies, if these deps are already present on the disk, to avoiding the described issue. Eg i noticed this issue while I was installing a local QupZilla package (it relies on libqt_x86), but libqt was already present on my disk, so in this case, is a waste of time use the connection to check for deps. I hope to have been clear in my explanation.