When running lxqt-sudo apt full-upgrade, I should be able to reply to apt when asked if I want to continue.
Current Behavior
When running lxqt-sudo apt full-upgrade, my input is ignored after apt launches - typing n and pressing Enter silently fails.
Possible Solution
Probably this is just the result of user input not being properly piped to the application (I checked the lxqt-sudo code and I didn't see anything that took user input and shuttled it to the launched app). Theoretically this should be easy to fix.
Steps to Reproduce (for bugs)
Open a terminal on a Debian-based system with LXQt.
Run lxqt-sudo apt full-upgrade
Provide your password when prompted.
When asked if you wish to continue, type n and press Enter. It will appear as if apt didn't get the message.
Context
I'm trying to write an updater application for Lubuntu that uses apt-get to retrieve info and do the installation work. To accomplish this, I have a script that does some two-way communication with the updater application (in order to allow handing conffile conflict problems). The script is then run as root via lxqt-sudo, and it communicates with the Qt-based frontend application. While output from the script (and from apt-get) reaches the application, attempts by the application to "talk back" to the script are being silently ignored since lxqt-sudo isn't forwarding the data.
System Information
Distribution & Version: Lubuntu 24.04 Noble Numbat Development
Expected Behavior
When running
lxqt-sudo apt full-upgrade
, I should be able to reply toapt
when asked if I want to continue.Current Behavior
When running
lxqt-sudo apt full-upgrade
, my input is ignored after apt launches - typingn
and pressing Enter silently fails.Possible Solution
Probably this is just the result of user input not being properly piped to the application (I checked the lxqt-sudo code and I didn't see anything that took user input and shuttled it to the launched app). Theoretically this should be easy to fix.
Steps to Reproduce (for bugs)
lxqt-sudo apt full-upgrade
n
and press Enter. It will appear as if apt didn't get the message.Context
I'm trying to write an updater application for Lubuntu that uses apt-get to retrieve info and do the installation work. To accomplish this, I have a script that does some two-way communication with the updater application (in order to allow handing conffile conflict problems). The script is then run as root via lxqt-sudo, and it communicates with the Qt-based frontend application. While output from the script (and from apt-get) reaches the application, attempts by the application to "talk back" to the script are being silently ignored since lxqt-sudo isn't forwarding the data.
System Information