apt-get install curl
Reading package lists... Done
Building dependency tree
Reading state information... Done
curl is already the newest version (7.47.0-1ubuntu2.2).
The following packages were automatically installed and are no longer required:
libnl-route-3-200 libqgsttools-p1 libqt5multimedia5-plugins libqt5multimediawidgets5 wireshark-qt
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up nginx-common (1.10.3-0ubuntu0.16.04.2) ...
/var/lib/dpkg/info/nginx-common.postinst: 4: .: Can't open /usr/share/debconf/confmodule
dpkg: error processing package nginx-common (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of nginx-full:
nginx-full depends on nginx-common (= 1.10.3-0ubuntu0.16.04.2); however:
Package nginx-common is not configured yet.
dpkg: error processing package nginx-full (--configure):
dependency problems - leaving unconfigured
Setting up wireshark-common (2.2.6+g32dac6a-2ubuntu0.16.04) ...
No apport report written because the error message indicates its a followup error from a previous failure.
/var/lib/dpkg/info/wireshark-common.postinst: 5: .: Can't open /usr/share/debconf/confmodule
dpkg: error processing package wireshark-common (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of wireshark-qt:
wireshark-qt depends on wireshark-common (= 2.2.6+g32dac6a-2ubuntu0.16.04); however:
Package wireshark-common is not configured yet.
dpkg: error processing package wireshark-qt (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
Errors were encountered while processing:
nginx-common
nginx-full
wireshark-common
wireshark-qt
E: Sub-process /usr/bin/dpkg returned an error code (1)
Curl é apenas um exemplo. Estou tentando remover o Php e instalá-lo novamente, mas não consigo. O que devo fazer?