rami3l / pacaptr

Pacman-like syntax wrapper for many package managers.

Home Page:https://crates.io/crates/pacaptr

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Refactor] Use PackageKit for Linux version

rami3l opened this issue · comments

PackageKit provides support for many Linux PMs. Add a single adapter for PackageKit, and most all disastrous are covered.

Credits: u/DrReadIt

PackageKit seems nice at the first sight. However, after some research, I have found out that:

  • It wants to be completely silent when doing its tasks, and it seems that there is no chance of interrupting this process. At least for now, when critical things happen, a prompt might pop up.
  • You lose control of what the library is doing. At least for now, pacaptr simply launches subprocesses, and the commands are deliberately printed out when they are running.