Opened 2 years ago

Last modified 2 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:
Has a Patch: no Platform: All

Description

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 Changed 2 years ago by diver

Component: ApplicationsApplications/Command Line Tools

comment:2 Changed 2 years ago by KapiX

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.