# Need To Purge percona-server-server-5.6 without any prompt?

**URL:** <https://forums.percona.com/t/need-to-purge-percona-server-server-5-6-without-any-prompt/3763>\
**Category:** Other MySQL® Questions\
**Created:** [September 23, 2014, 12:55am UTC](https://forums.percona.com/t/need-to-purge-percona-server-server-5-6-without-any-prompt/3763 "2014-09-23T00:55:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Harshad](https://avatars.discourse-cdn.com/v4/letter/h/97f17d/32.png) [@Harshad](https://forums.percona.com/u/Harshad)\
**Post date:** [September 23, 2014, 12:55am UTC](https://forums.percona.com/t/need-to-purge-percona-server-server-5-6-without-any-prompt/3763/1 "2014-09-23T00:55:56Z")

</div>

Hi Team,

I am using Percona Server on Ubuntu and Debian distrributions.  
I want to purge percona-server-server-5.6 package without any prompt.  
I used this command to purge package `apt-get -y purge percona-server-server-5.6` .  
It still prompts though i used ‘-y’ option.

Could you tell me how should i purge percona-server-server-5.6 without prompt?

---

<div class="post-metadata">

**Author:** ![jrivera](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/jrivera/32/13_2.png) [@jrivera](https://forums.percona.com/u/jrivera)\
**Post date:** [September 23, 2014, 9:00am UTC](https://forums.percona.com/t/need-to-purge-percona-server-server-5-6-without-any-prompt/3763/2 "2014-09-23T09:00:46Z")

</div>

Harshad,

## You can run this to avoid the prompt:

root@ubuntu:/# export DEBIAN\_FRONTEND=noninteractive; apt-get -y purge percona-server-server-5.6 percona-server-client-5.6  
Reading package lists… Done  
Building dependency tree  
Reading state information… Done  
The following packages were automatically installed and are no longer required:  
libnet-daemon-perl libaio1 libdbi-perl libmysqlclient18 libperconaserverclient18.1 libdbd-mysql-perl libplrpc-perl percona-server-common-5.6  
Use ‘apt-get autoremove’ to remove them.  
The following packages will be REMOVED:  
percona-server-client-5.6\* percona-server-server-5.6\*  
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.  
After this operation, 141 MB disk space will be freed.  
(Reading database … 17711 files and directories currently installed.)  
Removing percona-server-server-5.6 …

- Stopping MySQL (Percona Server) mysqld [OK]  
Purging configuration files for percona-server-server-5.6 …  
Removing percona-server-client-5.6 …  
Processing triggers for ureadahead …

Please note that the default setting is to not remove all databases from the datadir.

## You can then run:

root@ubuntu:/# export DEBIAN\_FRONTEND=dialog

to revert back to the default frontend setting.

Is Percona Server installed on your staging/testing environment? Are you evaluating Percona Server 5.6?

Let us know if the above suggestion helps.

---

<div class="post-metadata">

**Author:** ![Harshad](https://avatars.discourse-cdn.com/v4/letter/h/97f17d/32.png) [@Harshad](https://forums.percona.com/u/Harshad)\
**Post date:** [September 24, 2014, 5:57am UTC](https://forums.percona.com/t/need-to-purge-percona-server-server-5-6-without-any-prompt/3763/3 "2014-09-24T05:57:35Z")

</div>

Thank you jrivera, for your reply.  
But it didn’t solve my problem completely.  
after export DEBIAN\_FRONTEND=noninteractive; apt-get -y purge percona-server-server-5.6 percona-server-client-5.6; it didn’t prompt me for remove files from /var/lib/mysql/.  
but it didnot removed files from /var/lib/mysql/ .  
I want to purge percona-server-server-5.6 completely.  
How do i achieve that??
