Removes the dependence with aptitude

Removes the dependence with aptitude by replacing
the call of:
  aptitude purge -y ~npackage by apt_get purge -y package*

Change-Id: I08875ffad9dc6293047827666f02453a355b16ea
Closes-Bug: 1281410
This commit is contained in:
Sahid Orentino Ferdjaoui 2014-02-23 18:55:51 +01:00
parent d7e38ebd05
commit e9648276a6
3 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@ function cleanup_database_mysql {
if is_ubuntu; then
# Get ruthless with mysql
stop_service $MYSQL
sudo aptitude purge -y ~nmysql-server
apt_get purge -y mysql*
sudo rm -rf /var/lib/mysql
return
elif is_fedora; then

View File

@ -21,7 +21,7 @@ function cleanup_database_postgresql {
stop_service postgresql
if is_ubuntu; then
# Get ruthless with mysql
sudo aptitude purge -y ~npostgresql
apt_get purge -y postgresql*
return
elif is_fedora; then
uninstall_package postgresql-server

View File

@ -67,7 +67,7 @@ function cleanup_rpc_backend {
sudo killall epmd || sudo killall -9 epmd
if is_ubuntu; then
# And the Erlang runtime too
sudo aptitude purge -y ~nerlang
apt_get purge -y erlang*
fi
elif is_service_enabled qpid; then
if is_fedora; then