/srv/irclogs.ubuntu.com/2019/01/12/#ubuntustudio-devel.txt

EickmeyerOvenWerks: Found a nasty flaw with ubuntustudio-installer: It chokes when installing ubuntustudio-audio because jackd, when installing, has a dialog box. Is there a way we can expose a console?06:42
OvenWerksEickmeyer: That used to work18:16
OvenWerksEickmeyer: the best thing to do is like our ISO, set a debconfig variable that just answers yes.18:16
OvenWerksWhen I first tried it, there was a dialog that did work for that.18:17
OvenWerksMost sw installers just use "no" for everything to not get hung up.18:17
OvenWerksThe package may have changed just a bit and that may be why.18:18
EickmeyerOvenWerks: Yeah, strange. Any tweaks I made shouldn't have removed that. Is there a way to do that using the command line that we can implement in the .desktop file?19:32
EickmeyerAlso, it's an ncurses dialog, so that may have something to do with it.19:40
OvenWerksEickmeyer: the whole thing is a script, so it should be possible to set variables.21:42
OvenWerksEickmeyer: our preseed file does: "jackd2jackd/tweak_rt_limitsboolean true"21:43
OvenWerksEickmeyer: right now I think we just do an apt install <long list>21:45
OvenWerksmaybe we should separate out jackd2. The truth is it no longer matters if the dialog is answered yes or no so long as -controls is run after.... or even /usr/sbin/ubuntustudio-system fix21:48
EickmeyerOvenWerks: Well, if that's the case, maybe we should have the script set that variable.21:55
OvenWerksYa, I am just lookign to see how I might do that21:55
OvenWerksit looks like we need to do two things...21:56
OvenWerksDEBIAN_FRONTEND = noninteractive21:57
OvenWerksthen run apt with the -y flag to assume yes21:57
EickmeyerNot sure if you got the memo, but -installer is now a git repo in case you still had the bzr repo.21:58
EickmeyerSounds easy enough of a fix.21:59
OvenWerksno problem I am not actually working on the code...21:59
EickmeyerI'm looking at the code now.22:00
OvenWerksthat was it! RUN DEBIAN_FRONTEND=noninteractive apt-get install -yq jackd2 seems to be working. Feel free to post it as an answer or and I will accept it or let me know if I post it. 22:00
OvenWerksfrom: https://stackoverflow.com/questions/40160592/dockerfile-how-to-pass-an-answer-to-a-prompt-post-apt-get-install22:00
OvenWerksI think -yq means assume yes and be quiet22:01
EickmeyerYeah, I think you're right.22:01
OvenWerksI don't know if we want quiet or the progress bar may no longer work.22:01
OvenWerks(it looks for certain output from the command)22:02
EickmeyerThe line I see that may be relevant in the code is set instcmd "pkexec apt-get install -yq=0 $pkgs |& cat"22:03
OvenWerksYa, that looks right22:03
OvenWerksjust add DEBIAN_FRONTEND = noninteractive; in front?22:04
EickmeyerI'll try that and see if it works.22:04
OvenWerksThe problem doesn't show up if jackd2 is already installed22:04
EickmeyerI'll have to remove it (and ubuntustudio-audio) if I'm going to test it again.22:05
EickmeyerOkay, pushed, rebuilding in autobuilds. I'll let you know how it goes.22:10
EickmeyerOvenWerks: Yeah, that didn't work. Probably needs "set DEBIAN_FRONTEND=noninteractive;".22:45
EickmeyerOvenWerks: What did the trick was adding DEBIAN_FRONTEND=noninteractive as a separate set instcmd right before it.22:54
OvenWerkscool22:54
EickmeyerI'll be pushing the change shortly.22:54

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!