Skip to content

Instantly share code, notes, and snippets.

@jlk
Created May 1, 2015 16:00
Show Gist options
  • Save jlk/3ce25f05edff4feb350b to your computer and use it in GitHub Desktop.
Save jlk/3ce25f05edff4feb350b to your computer and use it in GitHub Desktop.
goddamn ubuntu...
# dpkg --list|grep apache
rc apache2 2.2.14-5ubuntu8.15 amd64 Apache HTTP Server metapackage
# apt-get remove apache*
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'apache2' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
# apt-get purge apache*
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
apache2*
0 upgraded, 0 newly installed, 1 to remove and 3 not upgraded.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 62543 files and directories currently installed.)
Removing apache2 (2.2.14-5ubuntu8.15) ...
Purging configuration files for apache2 (2.2.14-5ubuntu8.15) ...
#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment