Opened 6 years ago

Closed 6 years ago

#9925 closed enhancement (fixed)

[pkgman] feature request

Reported by: diver Owned by: bonefish
Priority: normal Milestone: R1
Component: Applications/Command Line Tools Version: R1/Package Management
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

It would be nice to have:

  • support for unattended (un)install/update, something like pkgman uninstall -y bepdf
  • an option to list all packages from a repo (all repos) so one can pipe the list through grep

Change History (4)

comment:1 by bonefish, 6 years ago

Regarding the former: echo y | uninstall bepdf should do that already. However there's always the chance that installing/uninstalling packages leads to conflicts, for which the user would need to choose a solution.

Regarding the latter, the search command should actually make piping anything through grep unnecessary. I also thought that wildcard support was enabled for it, but that doesn't seem to be the case. pkgman search "" lists all packages, though I guess an explicit option would be more intuitive. At any rate, the search command needs a lot more love (well, the others do, too).

comment:2 by DaaT, 6 years ago

Ingo, just my 2 cents. Yeah, an explicit option would be nice, something like "pkgman search all" for example. Awesome work by you two :)

comment:3 by diver, 6 years ago

The ability to list available packages might come in handy when one wants to create a list of (installed/activated) packages to duplicate them on another Haiku box or to see the amount of currently installed (wc -l).

comment:4 by bonefish, 6 years ago

Resolution: fixed
Status: newclosed

Added the non-interactive mode in hrev46408. The option -a for search to list all packages has been added a while ago. That leaves the selection of specific repositories. I'm lumping that together with #10145 and close this ticket.

Note: See TracTickets for help on using tickets.