this also affects Ubuntu 20.x

```
root@li45-90:~# apt-get install -y mytop
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  galera-4 libcgi-fast-perl libcgi-pm-perl libdbd-mariadb-perl libfcgi-perl 
libhtml-template-perl libmariadb3 libpmem1 mariadb-client-core-10.6 
mariadb-common mariadb-server-core-10.6
  socat
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  libconfig-inifiles-perl libdbd-mysql-perl
The following packages will be REMOVED:
  mariadb-client mariadb-client-10.6 mariadb-server mariadb-server-10.6
The following NEW packages will be installed:
  libconfig-inifiles-perl libdbd-mysql-perl mytop
0 upgraded, 3 newly installed, 4 to remove and 44 not upgraded.
Need to get 155 kB of archives.
After this operation, 96.6 MB disk space will be freed.
Get:1 http://mirrors.linode.com/ubuntu focal/universe amd64 libdbd-mysql-perl 
amd64 4.050-3 [82.8 kB]
Get:2 http://mirrors.linode.com/ubuntu focal/main amd64 libconfig-inifiles-perl 
all 3.000002-1 [40.6 kB]
Get:3 http://mirrors.linode.com/ubuntu focal/universe amd64 mytop all 1.9.1-4 
[31.1 kB]
Fetched 155 kB in 0s (5,743 kB/s) 
(Reading database ... 127585 files and directories currently installed.)
Removing mariadb-client (1:10.6.5+maria~focal) ...
Removing mariadb-server (1:10.6.5+maria~focal) ...
Removing mariadb-server-10.6 (1:10.6.5+maria~focal) ...
Removing mariadb-client-10.6 (1:10.6.5+maria~focal) ...
^CW: Operation was interrupted before it could finish
W: APT had planned for dpkg to do more than it reported back (8 vs 21).
   Affected packages: libconfig-inifiles-perl:amd64 libdbd-mysql-perl:amd64 
mytop:amd64
E: Problem executing scripts DPkg::Post-Invoke 'bash /usr/local/bin/wp-status 
2>/dev/null || true '
E: Sub-process returned an error code
root@li45-90:~# apt install -y mariadb-client mariadb-server
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  mariadb-client-10.6 mariadb-server-10.6
Suggested packages:
  mailx mariadb-test
The following NEW packages will be installed:
  mariadb-client mariadb-client-10.6 mariadb-server mariadb-server-10.6
0 upgraded, 4 newly installed, 0 to remove and 44 not upgraded.
Need to get 0 B/5,711 kB of archives.
After this operation, 97.1 MB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously unselected package mariadb-client-10.6.
(Reading database ... 127377 files and directories currently installed.)
Preparing to unpack .../mariadb-client-10.6_1%3a10.6.5+maria~focal_amd64.deb ...
Unpacking mariadb-client-10.6 (1:10.6.5+maria~focal) ...
Selecting previously unselected package mariadb-server-10.6.
Preparing to unpack .../mariadb-server-10.6_1%3a10.6.5+maria~focal_amd64.deb ...
/var/lib/mysql: found previous version 10.6
Unpacking mariadb-server-10.6 (1:10.6.5+maria~focal) ...
Selecting previously unselected package mariadb-client.
Preparing to unpack .../mariadb-client_1%3a10.6.5+maria~focal_all.deb ...
Unpacking mariadb-client (1:10.6.5+maria~focal) ...
Selecting previously unselected package mariadb-server.
Preparing to unpack .../mariadb-server_1%3a10.6.5+maria~focal_all.deb ...
Unpacking mariadb-server (1:10.6.5+maria~focal) ...
Setting up mariadb-client-10.6 (1:10.6.5+maria~focal) ...
Setting up mariadb-client (1:10.6.5+maria~focal) ...
Setting up mariadb-server-10.6 (1:10.6.5+maria~focal) ...
Warning: The unit file, source configuration file or drop-ins of 
mariadb.service changed on disk. Run 'systemctl daemon-reload' to reload units.
mariadb-extra.socket is a disabled or a static unit not running, not starting 
it.
mariadb-extra.socket is a disabled or a static unit, not starting it.
Setting up mariadb-server (1:10.6.5+maria~focal) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for systemd (245.4-4ubuntu3.11) ...
{"data":null}roo^C
root@li45-90:~# systemctl status mysql
● mariadb.service - MariaDB 10.6.5 database server
     Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor 
preset: enabled)
    Drop-In: /etc/systemd/system/mariadb.service.d
             └─migrated-from-my.cnf-settings.conf
     Active: active (running) since Mon 2021-12-13 14:02:22 UTC; 43s ago
       Docs: man:mariadbd(8)
             https://mariadb.com/kb/en/library/systemd/
   Main PID: 565710 (mariadbd)
     Status: "Taking your SQL requests now..."
      Tasks: 25 (limit: 19110)
     Memory: 178.0M
     CGroup: /system.slice/mariadb.service
             └─565710 /usr/sbin/mariadbd

Dec 13 14:02:22 li45-90 systemd[1]: Starting MariaDB 10.6.5 database server...
Dec 13 14:02:22 li45-90 mariadbd[565710]: 2021-12-13 14:02:22 0 [Note] 
/usr/sbin/mariadbd (server 10.6.5-MariaDB-1:10.6.5+maria~focal) starting as 
process 565710 ...
Dec 13 14:02:22 li45-90 mariadbd[565710]: 2021-12-13 14:02:22 0 [Warning] Could 
not increase number of max_open_files to more than 32768 (request: 132037)
Dec 13 14:02:22 li45-90 mariadbd[565710]: 2021-12-13 14:02:22 0 [Warning] 
Changed limits: max_open_files: 32768  max_connections: 29538 (was 100000)  
table_cache: 200 (was 2000)
Dec 13 14:02:22 li45-90 systemd[1]: Started MariaDB 10.6.5 database server.
Dec 13 14:02:22 li45-90 /etc/mysql/debian-start[565739]: Looking for 'mysql' 
as: /usr/bin/mysql
Dec 13 14:02:22 li45-90 /etc/mysql/debian-start[565739]: Looking for 
'mysqlcheck' as: /usr/bin/mysqlcheck
Dec 13 14:02:22 li45-90 /etc/mysql/debian-start[565739]: This installation of 
MariaDB is already upgraded to 10.6.5-MariaDB, use --force if you still need to 
run mysql_upgrade
Dec 13 14:02:22 li45-90 /etc/mysql/debian-start[565750]: Checking for insecure 
root accounts.
Dec 13 14:02:22 li45-90 /etc/mysql/debian-start[565754]: Triggering 
myisam-recover for all MyISAM tables and aria-recover for all Aria tables
root@li45-90:~# apt install -y galera-4 libcgi-fast-perl libcgi-pm-perl 
libdbd-mariadb-perl libfcgi-perl libhtml-template-perl libmariadb3 libpmem1 
mariadb-client-core-10.6 mariadb-common mariadb-server-core-10.6 socat
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libcgi-fast-perl is already the newest version (1:2.15-1).
libcgi-fast-perl set to manually installed.
libcgi-pm-perl is already the newest version (4.46-1).
libcgi-pm-perl set to manually installed.
libfcgi-perl is already the newest version (0.79-1).
libfcgi-perl set to manually installed.
libhtml-template-perl is already the newest version (2.97-1).
libhtml-template-perl set to manually installed.
libpmem1 is already the newest version (1.8-1ubuntu1).
libpmem1 set to manually installed.
socat is already the newest version (1.7.3.3-2).
socat set to manually installed.
libdbd-mariadb-perl is already the newest version (1.11-3ubuntu2).
libdbd-mariadb-perl set to manually installed.
galera-4 is already the newest version (26.4.9-focal).
galera-4 set to manually installed.
libmariadb3 is already the newest version (1:10.6.5+maria~focal).
libmariadb3 set to manually installed.
mariadb-client-core-10.6 is already the newest version (1:10.6.5+maria~focal).
mariadb-client-core-10.6 set to manually installed.
mariadb-common is already the newest version (1:10.6.5+maria~focal).
mariadb-common set to manually installed.
mariadb-server-core-10.6 is already the newest version (1:10.6.5+maria~focal).
mariadb-server-core-10.6 set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 44 not upgraded.
root@li45-90:~#
```

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1815199

Title:
  Installing mytop un Ubuntu 18.04.1 LTS uninstalls MariaDB

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mytop/+bug/1815199/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to