Error saying Invalid operation uninstall on sudo apt uninstall apache2

0 votes

I'm trying to uninstall apache2, I execute the following command:

sudo apt uninstall apache2 

error:

E: Invalid operation uninstall

May 14, 2019 in Linux Administration by Pallavi
5,643 views
did you find the answer?
Hey, @There,

I would suggest you go through the solution mentioned below, I hope that will be helpful for you.

1 answer to this question.

0 votes

Try this:

sudo apt-get cpufrequtils

is missing a mandatory option. To install or remove use...

sudo apt-get install cpufrequtils
sudo apt-get remove cpufrequtils
answered May 14, 2019 by Yesha

Related Questions In Linux Administration

0 votes
1 answer

"connect: Network is unreachable?" error on ping

You need to set your default gateway. ...READ MORE

answered Jan 23, 2019 in Linux Administration by Tina
12,105 views
0 votes
1 answer

Error when trying to install a few packages on ubuntu

Try executing the following commands and try ...READ MORE

answered Mar 15, 2019 in Linux Administration by Jobin
670 views
0 votes
1 answer

Error saying "Failed to start httpd.service: Unit httpd.service not found."

Execute the following steps or make sure ...READ MORE

answered May 14, 2019 in Linux Administration by Kiara
18,907 views
+1 vote
1 answer
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
1,326 views
0 votes
3 answers

How to uninstall Apache2 on Ubuntu?

apache2 is a meta package that just selects ...READ MORE

answered Dec 14, 2020 in Linux Administration by Gitika
• 65,970 points
94,830 views
0 votes
1 answer

Argument receiving error for rm command

Bash actually expands the asterisk to every ...READ MORE

answered Jun 8, 2019 in Linux Administration by Shubham
• 13,480 points
194 views