por que não pode remover completamente ro dizer desinstalar nginx?

2
apt-get --purge remove nginx
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  nginx-common nginx-full
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  nginx*
0 upgraded, 0 newly installed, 1 to remove and 23 not upgraded.
After this operation, 101 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 213649 files and directories currently installed.)
Removing nginx (1.6.2-5) ...
root@pengsir:/home/debian8# dpkg -l nginx
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-=================================
un  nginx          <none>       <none>       (no description available)
root@pengsir:/home/debian8# find / -name 'nginx'
/usr/sbin/nginx
/usr/share/nginx
/etc/nginx
/etc/ufw/applications.d/nginx
/etc/logrotate.d/nginx
/etc/init.d/nginx
/etc/default/nginx
/var/lib/nginx
/var/log/nginx

apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  nginx-common nginx-full
0 upgraded, 0 newly installed, 2 to remove and 23 not upgraded.
After this operation, 1,339 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 213645 files and directories currently installed.)
Removing nginx-full (1.6.2-5) ...
Removing nginx-common (1.6.2-5) ...
Processing triggers for man-db (2.7.0.2-5) ...

find / -name 'nginx'
/etc/nginx
/etc/ufw/applications.d/nginx
/etc/logrotate.d/nginx
/etc/init.d/nginx
/etc/default/nginx
/var/log/nginx

Os arquivos como / usr / sbin / nginx .... estão todos relacionados ao nginx, acho que o nginx não será removido completamente.
Quando nós sya completely uninstall package_name , significa excluir todos os arquivos de configuração relacionados ao package_name?
Como remover todos os arquivos com algum comando de forma eficiente?
Por favor, não diga para fazer com find / -name 'nginx' | rm -rf..... .

    
por it_is_a_literature 06.09.2015 / 03:06

0 respostas