Installation ignores --assume-yes flag

Bug #1191165 reported by Kasper Grubbe
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
graphite-carbon (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When I run apt-get -y install graphite-carbon this prompt still appears:

Configuring graphite-carbon
The /var/lib/graphite/whisper directory contains the whisper database files
You may want to keep these database files even if you completely remove graphite-carbon, in case you plan to reinstall it later.
Remove database files when purging graphite-carbon?

Even though the apt-get specifies this behavior:

-y, --yes, --assume-yes
           Automatic yes to prompts; assume "yes" as answer to all prompts and run non-interactively. If an undesirable situation, such as changing a held
           package, trying to install a unauthenticated package or removing an essential package occurs then apt-get will abort. Configuration Item:
           APT::Get::Assume-Yes.

Revision history for this message
Kasper Grubbe (kawsper) wrote :

A temporary fix is to run it like this:

DEBIAN_FRONTEND=noninteractive apt-get -y install graphite-carbon python-whisper

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in graphite-carbon (Ubuntu):
status: New → Confirmed
Revision history for this message
Changbin Liu (changbl) wrote :

To avoid popping up the dialog to select yes/no, you can do the following before running "sudo apt-get install graphite-carbon"

# echo "graphite-carbon graphite-carbon/postrm_remove_databases boolean false" | sudo debconf-set-selections

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.