Opened 5 years ago

Last modified 5 years ago

#13161 new enhancement

-norefresh parameter in pkgman command

Reported by: michel Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Applications/Command Line Tools Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All


The pkgman command refreshes all the loaded repositories every time it is invoked. so if you are carefully adding seven packages one by one with "pkgman install xyz.hpkg" and so on, it refreshes the database seven times within minutes. Which was OK when it was just Haiku and Haikuports. Add in some 3rd-party repos, which may be on slow servers, and it becomes a bit irritating.

We can keep that as the default, but things could be speeded up considerably if there was a -norefresh parameter

pkgman install abc.hpkg pkgman -norefresh install def.hpkg ...

Change History (2)

comment:1 by diver, 5 years ago

Component: ApplicationsApplications/Command Line Tools

comment:2 by KapiX, 5 years ago

Current behavior also makes it impossible to install anything with pkgman without internet connection. +1 from me.

Note: See TracTickets for help on using tickets.