emacs-helm / helm-system-packages

A Helm interface to the package manager of your operating system
GNU General Public License v3.0
106 stars 11 forks source link

Using Eshell with dpkg noninteractive mode #10

Closed dvzubarev closed 6 years ago

dvzubarev commented 6 years ago

Hi, thank you for the wonderful package! It is possible to disable interactive prompts of dpkg with the following command: sudo DEBIAN_FRONTEND=noninteractive apt-get -q install postfix I tried it in eshell and it worked fine. If you don't want to disable interactive mode of dpkg by default, there is a possibility to add an option for running dpkg non-interactively in eshell. I can create a PR, if you are interested in this feature.

dvzubarev commented 6 years ago

Actually, it is even better to use readline interface. sudo DEBIAN_FRONTEND=readline apt-get -q install postfix. It prompts user via readline and it works in eshell fine for me.

Ambrevar commented 6 years ago

Excellent! Thank you for this.

As I don't have access to a dpkg-based system at the moment, a PR would be very welcome. Let me know if you need help.

To reflect what is currently done with pacman: