Avoid "Update Mozilla certificate authority"?

When I build an image using Debian 8.1 and then log in as root and run the command "apt-get update && apt-get upgrade -y", I run into the the following prompt:

ca-certificates (…) stable; urgency=medium

Update Mozilla certificate authority bundle to version 2.6.

The following certificate authorities were added (+):

….

I always have to sit and wait for this screen so that I can hit "q to quit". Is there any way to run the update so that I can avoid having to reply to this prompt? I'd like to be able to build the image automatically without any input from myself.

Thanks.

3 Replies

Maybe you have apt-listchanger installed? If so, you can remove it, or you can remove its automatic execution from /etc/apt/apt.conf.d/

If that output is not from apt-listchanges then it must be something else which may be possible to disable in the same conf directory.

I know the screen you are talking about. I am not sure this will catch it. It should basically turn your upgrade into a silent upgrade and ask no questions at all. Including the ncurses dialogs.

DEBIAN_FRONTEND=noninteractive apt-get update -y -q && apt-get -y -q upgrade

@jeremye77:

I know the screen you are talking about. I am not sure this will catch it. It should basically turn your upgrade into a silent upgrade and ask no questions at all. Including the ncurses dialogs.

DEBIAN_FRONTEND=noninteractive apt-get update -y -q && apt-get -y -q upgrade

This worked. Thanks jeremye77!

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct