Score:0

running `sudo apt-get autoremove` launches phpmyadmin configuration wizard

bt flag

I had a failed installation of phpmyadmin.

Now, I'm trying to completely uninstall Apache, MySQL, PHP, and phpmyadmin in order to start over and try again.

I'm following some online guides to do so. However, whenever I run sudo apt-get autoremove to clean up the last few things, I get the phpmyadmin configuration wizard.

phpmyadmin configuration

No matter what selections I choose in the wizard, the configuration inevitably fails.

My goal is not to configure phpmyadmin. My goal is to remove phpmyadmin, along with Apache, MySQL, and PHP. But it won't let me. What do I do?

bt flag
Yep that fixed it. I'd forgotten to try the obvious before posting the question. Thanks.
Nmath avatar
ng flag
*"My goal is to remove phpmyadmin"* - did you run `sudo apt remove phpmyadmin`? You can also use `purge` instead of `remove` to also remove configs and other files related to the package.
Score:0
ng flag

Instead of sudo apt autoremove, use sudo apt remove packagename or sudo apt purge packagename if you are trying to uninstall a particular package.

The difference between remove and purge in apt is that purge also removes configuration files and other files related to the package.

Examples:

sudo apt remove phpmyadmin

OR

sudo apt purge phpmyadmin
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.