Pular para o conteúdo

Desinstalando o MySQL no Ubuntu 20 LTS

Desinstalando o MySQL no Ubuntu

Olá pessoal !

No último artigo eu escrevi sobre como instalar o MySQL 8 no Ubuntu 20 LTS, inclusive você pode conferir o artigo no link abaixo:

https://www.profissionaloracle.com.br/2021/11/02/instalando-o-mysql-no-ubuntu-20-lts/

Há alguns dias atrás, eu recebi um e-mail perguntando sobre os procedimentos para DESINSTALAR o MySQL no Ubuntu. Então pensei em escrever sobre como fazê-lo, da maneira mais simples possível.

Sequência de comandos:

  • apt remove – Remove os binários dos pacotes
  • apt purge – Remove os arquivos de configuração do pacote
  • apt autoremove – Desinstala pacotes que foram instalados para atender as dependências de outros pacotes
  • apt autoclean – Limpa seu repositório de pacotes deprecados, que não podem ser mais baixados, etc…
  • apt remove dbconfig-mysql – Apaga o pacote dbconfig-mysql
  • apt-get remove – Equivalente ao apt remove
  • apt-get autoremove – Equivalente ao apt remove
  • apt-get autoclean – Equivalente o apt autoclean

Agora basta seguir os comando em negrito:

sudo apt remove --purge mysql-server 
[sudo] password for swillians: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libaio1 libcgi-fast-perl libcgi-pm-perl libevent-core-2.1-7 libevent-pthreads-2.1-7 libfcgi-perl libfprint-2-tod1 libhtml-template-perl
  libllvm11 libllvm9 libmecab2 linux-headers-5.11.0-37-generic linux-hwe-5.11-headers-5.11.0-37 linux-image-5.11.0-37-generic
  linux-modules-5.11.0-37-generic linux-modules-extra-5.11.0-37-generic mecab-ipadic mecab-ipadic-utf8 mecab-utils mysql-client
  mysql-community-client mysql-community-client-core mysql-community-server mysql-community-server-core
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  mysql-server*
0 upgraded, 0 newly installed, 1 to remove and 6 not upgraded.
After this operation, 75,8 kB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 242723 files and directories currently installed.)
Removing mysql-server (8.0.27-1ubuntu20.04) ...
sudo apt purge mysql-server 
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Package 'mysql-server' is not installed, so not removed
The following packages were automatically installed and are no longer required:
  libaio1 libcgi-fast-perl libcgi-pm-perl libevent-core-2.1-7 libevent-pthreads-2.1-7 libfcgi-perl libfprint-2-tod1 libhtml-template-perl
  libllvm11 libllvm9 libmecab2 linux-headers-5.11.0-37-generic linux-hwe-5.11-headers-5.11.0-37 linux-image-5.11.0-37-generic
  linux-modules-5.11.0-37-generic linux-modules-extra-5.11.0-37-generic mecab-ipadic mecab-ipadic-utf8 mecab-utils mysql-client
  mysql-community-client mysql-community-client-core mysql-community-server mysql-community-server-core
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
sudo apt autoremove
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  libaio1 libcgi-fast-perl libcgi-pm-perl libevent-core-2.1-7 libevent-pthreads-2.1-7 libfcgi-perl libfprint-2-tod1 libhtml-template-perl
  libllvm11 libllvm9 libmecab2 linux-headers-5.11.0-37-generic linux-hwe-5.11-headers-5.11.0-37 linux-image-5.11.0-37-generic
  linux-modules-5.11.0-37-generic linux-modules-extra-5.11.0-37-generic mecab-ipadic mecab-ipadic-utf8 mecab-utils mysql-client
  mysql-community-client mysql-community-client-core mysql-community-server mysql-community-server-core
0 upgraded, 0 newly installed, 24 to remove and 6 not upgraded.
After this operation, 827 MB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 242717 files and directories currently installed.)
Removing mysql-community-server (8.0.27-1ubuntu20.04) ...
update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode
Removing mysql-community-server-core (8.0.27-1ubuntu20.04) ...
Removing libaio1:amd64 (0.3.112-5) ...
Removing libcgi-fast-perl (1:2.15-1) ...
Removing libhtml-template-perl (2.97-1) ...
Removing libcgi-pm-perl (4.46-1) ...
Removing libevent-pthreads-2.1-7:amd64 (2.1.11-stable-1) ...
Removing libevent-core-2.1-7:amd64 (2.1.11-stable-1) ...
Removing libfcgi-perl (0.79-1) ...
Removing libfprint-2-tod1:amd64 (1:1.90.2+tod1-0ubuntu1~20.04.4) ...
Removing libllvm11:amd64 (1:11.0.0-2~ubuntu20.04.1) ...
Removing libllvm9:amd64 (1:9.0.1-12) ...
Removing mecab-ipadic-utf8 (2.7.0-20070801+main-2.1) ...
update-alternatives: using /var/lib/mecab/dic/ipadic to provide /var/lib/mecab/dic/debian (mecab-dictionary) in auto mode
Removing mecab-ipadic (2.7.0-20070801+main-2.1) ...
Removing mecab-utils (0.996-10build1) ...
Removing libmecab2:amd64 (0.996-10build1) ...
Removing linux-headers-5.11.0-37-generic (5.11.0-37.41~20.04.2) ...
Removing linux-hwe-5.11-headers-5.11.0-37 (5.11.0-37.41~20.04.2) ...
Removing linux-modules-extra-5.11.0-37-generic (5.11.0-37.41~20.04.2) ...
Removing mysql-client (8.0.27-1ubuntu20.04) ...
Removing mysql-community-client (8.0.27-1ubuntu20.04) ...
Removing mysql-community-client-core (8.0.27-1ubuntu20.04) ...
Removing linux-image-5.11.0-37-generic (5.11.0-37.41~20.04.2) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.11.0-37-generic
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.11.0-40-generic
Found initrd image: /boot/initrd.img-5.11.0-40-generic
Found linux image: /boot/vmlinuz-5.11.0-38-generic
Found initrd image: /boot/initrd.img-5.11.0-38-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
done
Removing linux-modules-5.11.0-37-generic (5.11.0-37.41~20.04.2) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
sudo apt autoclean
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Del linux-libc-dev 5.4.0-89.100 [1.110 kB]
Del firefox 93.0+build1-0ubuntu0.20.04.1 [55,7 MB]
Del linux-firmware 1.187.19 [110 MB]
Del distro-info-data 0.43ubuntu1.8 [4.664 B]
Del linux-headers-generic-hwe-20.04 5.11.0.38.42~20.04.17 [2.512 B]
Del firefox-locale-en 93.0+build1-0ubuntu0.20.04.1 [660 kB]
Del linux-image-generic-hwe-20.04 5.11.0.38.42~20.04.17 [2.620 B]
Del tzdata 2021a-2ubuntu0.20.04 [297 kB]
Del linux-generic-hwe-20.04 5.11.0.38.42~20.04.17 [1.928 B]
sudo apt remove dbconfig-mysql
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package 'dbconfig-mysql' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
sudo apt-get remove --purge mysql* -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'mysql-cluster-commercial-server' for glob 'mysql*'
Note, selecting 'mysql-source-8.0' for glob 'mysql*'
Note, selecting 'mysqltcl' for glob 'mysql*'
Note, selecting 'mysql-cluster-commercial-client' for glob 'mysql*'
Note, selecting 'mysql-apt-config' for glob 'mysql*'
Note, selecting 'mysql-commercial-server-core' for glob 'mysql*'
Note, selecting 'mysql-workbench' for glob 'mysql*'
Note, selecting 'mysql-commercial-test' for glob 'mysql*'
Note, selecting 'mysql-community-server-core' for glob 'mysql*'
Note, selecting 'mysql-client-5.0' for glob 'mysql*'
Note, selecting 'mysql-client-5.1' for glob 'mysql*'
Note, selecting 'mysql-client-5.5' for glob 'mysql*'
Note, selecting 'mysql-client-5.6' for glob 'mysql*'
Note, selecting 'mysql-client-5.7' for glob 'mysql*'
Note, selecting 'mysql-common-5.6' for glob 'mysql*'
Note, selecting 'mysql-connector-odbc-setup' for glob 'mysql*'
Note, selecting 'mysql-server-5.0' for glob 'mysql*'
Note, selecting 'mysql-server-5.1' for glob 'mysql*'
Note, selecting 'mysql-server-5.5' for glob 'mysql*'
Note, selecting 'mysql-server-5.6' for glob 'mysql*'
Note, selecting 'mysql-server-5.7' for glob 'mysql*'
Note, selecting 'mysql-connector-odbc-commercial-setup' for glob 'mysql*'
Note, selecting 'mysql-client-8.0' for glob 'mysql*'
Note, selecting 'mysql-community-server-debug' for glob 'mysql*'
Note, selecting 'mysql-community-test-debug' for glob 'mysql*'
Note, selecting 'mysql-testsuite' for glob 'mysql*'
Note, selecting 'mysql-server' for glob 'mysql*'
Note, selecting 'mysql-router' for glob 'mysql*'
Note, selecting 'mysql-server-8.0' for glob 'mysql*'
Note, selecting 'mysql-client' for glob 'mysql*'
Note, selecting 'mysql-workbench-community' for glob 'mysql*'
Note, selecting 'mysql-connector-odbc-dbgsym' for glob 'mysql*'
Note, selecting 'mysql-cluster-community-server' for glob 'mysql*'
Note, selecting 'mysql-cluster-community-client' for glob 'mysql*'
Note, selecting 'mysql-community-test-dbgsym' for glob 'mysql*'
Note, selecting 'mysql-shell' for glob 'mysql*'
Note, selecting 'mysql-router-community-dbgsym' for glob 'mysql*'
Note, selecting 'mysql-commercial-client-core' for glob 'mysql*'
Note, selecting 'mysql-sandbox' for glob 'mysql*'
Note, selecting 'mysql-community-client-core' for glob 'mysql*'
Note, selecting 'mysql-community-test' for glob 'mysql*'
Note, selecting 'mysql-commercial-client-plugins' for glob 'mysql*'
Note, selecting 'mysql-community-client-plugins' for glob 'mysql*'
Note, selecting 'mysql-community-client-dbgsym' for glob 'mysql*'
Note, selecting 'mysql-community-server' for glob 'mysql*'
Note, selecting 'mysql-community-client' for glob 'mysql*'
Note, selecting 'mysql-client-core-5.0' for glob 'mysql*'
Note, selecting 'mysql-client-core-5.1' for glob 'mysql*'
Note, selecting 'mysql-client-core-5.5' for glob 'mysql*'
Note, selecting 'mysql-client-core-5.6' for glob 'mysql*'
Note, selecting 'mysql-client-core-5.7' for glob 'mysql*'
Note, selecting 'mysql' for glob 'mysql*'
Note, selecting 'mysql-workbench-gpl' for glob 'mysql*'
Note, selecting 'mysql-commercial-server' for glob 'mysql*'
Note, selecting 'mysql-commercial-client' for glob 'mysql*'
Note, selecting 'mysql-client-core-8.0' for glob 'mysql*'
Note, selecting 'mysql-router-commercial' for glob 'mysql*'
Note, selecting 'mysql-connector-python-commercial-py3' for glob 'mysql*'
Note, selecting 'mysql-connector-odbc' for glob 'mysql*'
Note, selecting 'mysql-connector-odbc-setup-dbgsym' for glob 'mysql*'
Note, selecting 'mysql-testsuite-5.5' for glob 'mysql*'
Note, selecting 'mysql-testsuite-5.6' for glob 'mysql*'
Note, selecting 'mysql-testsuite-5.7' for glob 'mysql*'
Note, selecting 'mysql-community-client-plugins-dbgsym' for glob 'mysql*'
Note, selecting 'mysql-shell-commercial' for glob 'mysql*'
Note, selecting 'mysql-common' for glob 'mysql*'
Note, selecting 'mysql-workbench-oss' for glob 'mysql*'
Note, selecting 'mysql-testsuite-8.0' for glob 'mysql*'
Note, selecting 'mysql-router-community' for glob 'mysql*'
Note, selecting 'mysql-connector-odbc-commercial' for glob 'mysql*'
Note, selecting 'mysql-community-server-core-dbgsym' for glob 'mysql*'
Note, selecting 'mysqltuner' for glob 'mysql*'
Note, selecting 'mysql-workbench-community-dbgsym' for glob 'mysql*'
Note, selecting 'mysql-workbench-data' for glob 'mysql*'
Note, selecting 'mysql-connector-python-cext-py3' for glob 'mysql*'
Note, selecting 'mysql-community-client-core-dbgsym' for glob 'mysql*'
Note, selecting 'mysql-community-server-debug-dbgsym' for glob 'mysql*'
Note, selecting 'mysql-server-core-5.0' for glob 'mysql*'
Note, selecting 'mysql-server-core-5.1' for glob 'mysql*'
Note, selecting 'mysql-server-core-5.5' for glob 'mysql*'
Note, selecting 'mysql-server-core-5.6' for glob 'mysql*'
Note, selecting 'mysql-server-core-5.7' for glob 'mysql*'
Note, selecting 'mysql-shell-dbgsym' for glob 'mysql*'
Note, selecting 'mysql-connector-python-py3' for glob 'mysql*'
Note, selecting 'mysql-server-core-8.0' for glob 'mysql*'
Note, selecting 'mysql-connector-java' for glob 'mysql*'
Package 'mysql-client-5.7' is not installed, so not removed
Package 'mysql-client-core-5.7' is not installed, so not removed
Package 'mysql-server-5.5' is not installed, so not removed
Package 'mysql-server-5.7' is not installed, so not removed
Package 'mysql-server-core-5.7' is not installed, so not removed
Package 'mysql-client-core-5.5' is not installed, so not removed
Package 'mysql-client-core-5.6' is not installed, so not removed
Package 'mysql-client-5.5' is not installed, so not removed
Package 'mysql-client-5.6' is not installed, so not removed
Package 'mysql-server-core-5.5' is not installed, so not removed
Package 'mysql-server-core-5.6' is not installed, so not removed
Package 'mysql-server-5.6' is not installed, so not removed
Package 'mysql-testsuite-5.5' is not installed, so not removed
Package 'mysql-testsuite-5.6' is not installed, so not removed
Package 'mysql-testsuite-5.7' is not installed, so not removed
Package 'mysql' is not installed, so not removed
Package 'mysql-cluster-commercial-client' is not installed, so not removed
Package 'mysql-cluster-community-client' is not installed, so not removed
Package 'mysql-commercial-client' is not installed, so not removed
Package 'mysql-commercial-client-core' is not installed, so not removed
Package 'mysql-commercial-server-core' is not installed, so not removed
Package 'mysql-commercial-client-plugins' is not installed, so not removed
Package 'mysql-commercial-server' is not installed, so not removed
Package 'mysql-client-5.0' is not installed, so not removed
Package 'mysql-client-5.1' is not installed, so not removed
Package 'mysql-client-core-5.0' is not installed, so not removed
Package 'mysql-client-core-5.1' is not installed, so not removed
Package 'mysql-cluster-commercial-server' is not installed, so not removed
Package 'mysql-cluster-community-server' is not installed, so not removed
Package 'mysql-server-5.0' is not installed, so not removed
Package 'mysql-server-5.1' is not installed, so not removed
Package 'mysql-server-core-5.0' is not installed, so not removed
Package 'mysql-server-core-5.1' is not installed, so not removed
Package 'mysql-commercial-test' is not installed, so not removed
Package 'mysql-connector-odbc-commercial' is not installed, so not removed
Package 'mysql-connector-odbc-commercial-setup' is not installed, so not removed
Package 'mysql-connector-python-commercial-py3' is not installed, so not removed
Package 'mysql-connector-python-cext-py3' is not installed, so not removed
Package 'mysql-router-commercial' is not installed, so not removed
Package 'mysql-shell-commercial' is not installed, so not removed
Package 'mysql-workbench' is not installed, so not removed
Package 'mysql-workbench-data' is not installed, so not removed
Package 'mysql-workbench-gpl' is not installed, so not removed
Package 'mysql-workbench-oss' is not installed, so not removed
Package 'mysql-sandbox' is not installed, so not removed
Package 'mysqltcl' is not installed, so not removed
Package 'mysqltuner' is not installed, so not removed
Package 'mysql-client-8.0' is not installed, so not removed
Package 'mysql-client-core-8.0' is not installed, so not removed
Package 'mysql-server-core-8.0' is not installed, so not removed
Package 'mysql-source-8.0' is not installed, so not removed
Package 'mysql-testsuite-8.0' is not installed, so not removed
Package 'mysql-client' is not installed, so not removed
Package 'mysql-community-client-core' is not installed, so not removed
Package 'mysql-community-client-core-dbgsym' is not installed, so not removed
Package 'mysql-community-client-dbgsym' is not installed, so not removed
Package 'mysql-community-client-plugins-dbgsym' is not installed, so not removed
Package 'mysql-community-server-core' is not installed, so not removed
Package 'mysql-community-server-core-dbgsym' is not installed, so not removed
Package 'mysql-community-server-debug' is not installed, so not removed
Package 'mysql-community-server-debug-dbgsym' is not installed, so not removed
Package 'mysql-community-test' is not installed, so not removed
Package 'mysql-community-test-dbgsym' is not installed, so not removed
Package 'mysql-community-test-debug' is not installed, so not removed
Package 'mysql-server' is not installed, so not removed
Package 'mysql-testsuite' is not installed, so not removed
Package 'mysql-connector-java' is not installed, so not removed
Package 'mysql-connector-odbc' is not installed, so not removed
Package 'mysql-connector-odbc-dbgsym' is not installed, so not removed
Package 'mysql-connector-odbc-setup' is not installed, so not removed
Package 'mysql-connector-odbc-setup-dbgsym' is not installed, so not removed
Package 'mysql-connector-python-py3' is not installed, so not removed
Package 'mysql-router' is not installed, so not removed
Package 'mysql-router-community' is not installed, so not removed
Package 'mysql-router-community-dbgsym' is not installed, so not removed
Package 'mysql-shell' is not installed, so not removed
Package 'mysql-shell-dbgsym' is not installed, so not removed
Package 'mysql-workbench-community-dbgsym' is not installed, so not removed
The following packages were automatically installed and are no longer required:
  acl apg colord-data gnome-control-center-faces gnome-online-accounts hplip-data libcolord-gtk1 libcolorhug2 libgsound0 libgssdp-1.2-0
  libgupnp-1.2-0 libgupnp-av-1.0-2 libgupnp-dlna-2.0-3 libieee1284-3 libimagequant0 libopengl0 libpcrecpp0v5 libproj15 librygel-core-2.6-2
  librygel-db-2.6-2 librygel-renderer-2.6-2 librygel-server-2.6-2 libsane-common libsnmp-base libzip5 mobile-broadband-provider-info
  network-manager-gnome printer-driver-postscript-hp proj-data python3-macaroonbakery python3-olefile python3-pil python3-protobuf
  python3-pymacaroons python3-renderpm python3-reportlab python3-reportlab-accel python3-rfc3339 python3-tz rygel
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  colord* gnome-control-center* hplip* libhpmud0* libmysqlclient21* libsane* libsane-hpaio* libsnmp35* mysql-apt-config* mysql-common*
  mysql-community-client* mysql-community-client-plugins* mysql-community-server* mysql-server-8.0* mysql-workbench-community*
  printer-driver-hpcups* sane-utils* simple-scan* ubuntu-desktop* ubuntu-desktop-minimal*
0 upgraded, 0 newly installed, 20 to remove and 6 not upgraded.
After this operation, 220 MB disk space will be freed.
(Reading database ... 204202 files and directories currently installed.)
Removing ubuntu-desktop (1.450.2) ...
Removing ubuntu-desktop-minimal (1.450.2) ...
Removing gnome-control-center (1:3.36.5-0ubuntu3) ...
Removing colord (1.4.4-2) ...
Removing hplip (3.20.3+dfsg0-2) ...
Removing libsane-hpaio:amd64 (3.20.3+dfsg0-2) ...
Removing printer-driver-hpcups (3.20.3+dfsg0-2) ...
Removing libhpmud0:amd64 (3.20.3+dfsg0-2) ...
Removing mysql-workbench-community (8.0.27-1ubuntu20.04) ...
Removing sane-utils (1.0.29-0ubuntu5.2) ...
Removing mysql-apt-config (0.8.20-1) ...
Removing simple-scan (3.36.3-0ubuntu0.20.04.0) ...
Removing libsane:amd64 (1.0.29-0ubuntu5.2) ...
Removing libsnmp35:amd64 (5.8+dfsg-2ubuntu2.3) ...
Removing libmysqlclient21:amd64 (8.0.27-1ubuntu20.04) ...
Removing mysql-common (8.0.27-1ubuntu20.04) ...
Removing mysql-community-client-plugins (8.0.27-1ubuntu20.04) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for cups (2.3.1-9ubuntu1.1) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for libglib2.0-0:amd64 (2.64.6-1~ubuntu20.04.4) ...
Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for dbus (1.12.16-2ubuntu2.1) ...
Processing triggers for shared-mime-info (1.15-1) ...
Processing triggers for udev (245.4-4ubuntu3.13) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...
(Reading database ... 201792 files and directories currently installed.)
Purging configuration files for hplip (3.20.3+dfsg0-2) ...
Purging configuration files for mysql-server-8.0 (8.0.27-0ubuntu0.20.04.1) ...
Purging configuration files for mysql-community-client (8.0.27-1ubuntu20.04) ...
Purging configuration files for mysql-common (8.0.27-1ubuntu20.04) ...
update-alternatives: warning: alternative /etc/mysql/my.cnf.fallback (part of link group my.cnf) doesn't exist; removing from list of alternatives
update-alternatives: warning: /etc/alternatives/my.cnf is dangling; it will be updated with best choice
Purging configuration files for colord (1.4.4-2) ...
Purging configuration files for mysql-apt-config (0.8.20-1) ...
Purging configuration files for mysql-community-server (8.0.27-1ubuntu20.04) ...
.
dpkg: warning: while removing mysql-community-server, directory '/etc/mysql' not empty so not removed
Purging configuration files for sane-utils (1.0.29-0ubuntu5.2) ...
Purging configuration files for libsane-hpaio:amd64 (3.20.3+dfsg0-2) ...
Processing triggers for dbus (1.12.16-2ubuntu2.1) ...
Processing triggers for systemd (245.4-4ubuntu3.13) ...
sudo apt-get autoremove -y
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following packages will be REMOVED:
acl apg colord-data gnome-control-center-faces gnome-online-accounts hplip-data libcolord-gtk1 libcolorhug2 libgsound0 libgssdp-1.2-0
libgupnp-1.2-0 libgupnp-av-1.0-2 libgupnp-dlna-2.0-3 libieee1284-3 libimagequant0 libopengl0 libpcrecpp0v5 libproj15 librygel-core-2.6-2
librygel-db-2.6-2 librygel-renderer-2.6-2 librygel-server-2.6-2 libsane-common libsnmp-base libzip5 mobile-broadband-provider-info
network-manager-gnome printer-driver-postscript-hp proj-data python3-macaroonbakery python3-olefile python3-pil python3-protobuf
python3-pymacaroons python3-renderpm python3-reportlab python3-reportlab-accel python3-rfc3339 python3-tz rygel
0 upgraded, 0 newly installed, 40 to remove and 6 not upgraded.
After this operation, 62,0 MB disk space will be freed.
(Reading database … 201740 files and directories currently installed.)
Removing acl (2.2.53-6) …
Removing apg (2.2.3.dfsg.1-5) …
Removing colord-data (1.4.4-2) …
Removing gnome-control-center-faces (1:3.36.5-0ubuntu3) …
Removing gnome-online-accounts (3.36.1-0ubuntu1) …
Removing hplip-data (3.20.3+dfsg0-2) …
dpkg: warning: while removing hplip-data, directory '/usr/share/hplip/ui5' not empty so not removed
dpkg: warning: while removing hplip-data, directory '/usr/share/hplip/scan' not empty so not removed
dpkg: warning: while removing hplip-data, directory '/usr/share/hplip/prnt' not empty so not removed
dpkg: warning: while removing hplip-data, directory '/usr/share/hplip/pcard' not empty so not removed
dpkg: warning: while removing hplip-data, directory '/usr/share/hplip/installer' not empty so not removed
dpkg: warning: while removing hplip-data, directory '/usr/share/hplip/fax' not empty so not removed
dpkg: warning: while removing hplip-data, directory '/usr/share/hplip/copier' not empty so not removed
dpkg: warning: while removing hplip-data, directory '/usr/share/hplip/base/pexpect' not empty so not removed
Removing libcolord-gtk1:amd64 (0.2.0-0ubuntu1) …
Removing libcolorhug2:amd64 (1.4.4-2) …
Removing libgsound0:amd64 (1.0.2-4) …
Removing rygel (0.38.3-1ubuntu1) …
Removing librygel-db-2.6-2:amd64 (0.38.3-1ubuntu1) …
Removing librygel-server-2.6-2:amd64 (0.38.3-1ubuntu1) …
Removing librygel-renderer-2.6-2:amd64 (0.38.3-1ubuntu1) …
Removing libgupnp-av-1.0-2 (0.12.11-2) …
Removing libgupnp-dlna-2.0-3 (0.10.5-4) …
Removing libieee1284-3:amd64 (0.2.11-13build1) …
Removing python3-reportlab (3.5.34-1ubuntu1) …
Removing python3-pil:amd64 (7.0.0-4ubuntu0.4) …
Removing libimagequant0:amd64 (2.12.2-1.1) …
Removing libopengl0:amd64 (1.3.2-1~ubuntu0.20.04.1) …
Removing libpcrecpp0v5:amd64 (2:8.39-12build1) …
Removing libproj15:amd64 (6.3.1-1) …
Removing libsane-common (1.0.29-0ubuntu5.2) …
Removing libsnmp-base (5.8+dfsg-2ubuntu2.3) …
Removing libzip5:amd64 (1.5.1-0ubuntu1) …
Removing mobile-broadband-provider-info (20190618-3) …
Removing network-manager-gnome (1.8.24-1ubuntu3) …
Removing printer-driver-postscript-hp (3.20.3+dfsg0-2) …
Removing proj-data (6.3.1-1) …
Removing python3-macaroonbakery (1.3.1-1) …
Removing python3-olefile (0.46-2) …
Removing python3-protobuf (3.6.1.3-2ubuntu5) …
Removing python3-pymacaroons (0.13.0-3) …
Removing python3-renderpm:amd64 (3.5.34-1ubuntu1) …
Removing python3-reportlab-accel:amd64 (3.5.34-1ubuntu1) …
Removing python3-rfc3339 (1.1-2) …
Removing python3-tz (2019.3-1) …
Removing librygel-core-2.6-2:amd64 (0.38.3-1ubuntu1) …
Removing libgupnp-1.2-0:amd64 (1.2.4-0ubuntu1) …
Removing libgssdp-1.2-0:amd64 (1.2.3-0ubuntu0.20.04.1) …
Processing triggers for mime-support (3.64ubuntu1) …
Processing triggers for hicolor-icon-theme (0.17-2) …
Processing triggers for cups (2.3.1-9ubuntu1.1) …
Processing triggers for gnome-menus (3.36.0-1ubuntu1) …
Processing triggers for libglib2.0-0:amd64 (2.64.6-1~ubuntu20.04.4) …
Processing triggers for libc-bin (2.31-0ubuntu9.2) …
Processing triggers for man-db (2.9.1-1) …
Processing triggers for desktop-file-utils (0.24-1ubuntu3) …
sudo apt-get autoclean
Reading package lists… Done
Building dependency tree
Reading state information… Done
Del mysql-community-server 8.0.27-1ubuntu20.04 [76,2 kB]
Del mysql-server 8.0.27-1ubuntu20.04 [65,0 kB]
Del mysql-community-client 8.0.27-1ubuntu20.04 [2.932 kB]
Del mysql-common 8.0.27-1ubuntu20.04 [68,7 kB]
Del mysql-community-client-plugins 8.0.27-1ubuntu20.04 [1.226 kB]
Del mysql-community-server-core 8.0.27-1ubuntu20.04 [20,9 MB]
Del libmysqlclient21 8.0.27-1ubuntu20.04 [1.369 kB]
Del mysql-client 8.0.27-1ubuntu20.04 [65,0 kB]
Del mysql-community-client-core 8.0.27-1ubuntu20.04 [1.779 kB]

Pronto ! Agora o MySQL foi desinstalado do Ubuntu e pronto para a próxima instalação !

Espero ter ajudado ! Abraços !

Referências

Sergio Willians

Sergio Willians

Sergio Willians é o fundador do GPO (Grupo de Profissionais Oracle) e possui quase 30 anos de experiência em tecnologias Oracle, sendo especialista em desenvolvimento Forms/Reports, PL/SQL e EBS (E-Business Suite) nos módulos Receivables, Payables e General Ledger. Atualmente trabalha na Scania Latin America, onde se dedica à área de integração de dados com Confluent Kafka. Sua paixão é compartilhar conhecimento com a comunidade Oracle, contribuindo para o crescimento e a excelência da plataforma.

Deixe um comentário

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *

plugins premium WordPress