[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#177272: apt: should respect DEBIAN_FRONTEND=noninteractive



[Jason Gunthorpe]
> If you think base-config should not be prompting then it probably
> should be patched to call apt-get directly.

Perhaps.  Do you have any suggestions on how the call to 

  /usr/lib/dpkg/methods/apt/install /var/lib/dpkg

should be changed to call apt-get directly?  At the moment it will
fetch and install the packages currently marked for installation.
I've not found any other way to do this.

> Your patch does not include any options to make apt-get
> non-interactive (which would be insanely dangerous) so it's mostly
> ineffective IMO.

What do you mean?  My patches changes the two prompts I am currently
seing to understand DEBIAN_FRONTEND=noninteractive, and use the
default value instead of prompting.  The only problem I see with my
patch is how I am supposed to set DEBIAN_FRONTEND within
base-installer during installation, but I'm sure I'll find a solution
to this problem.



Reply to: