![]() Nano install.sh # Copy contents into script here Package's postrm script (which is called by dpkg), has to takeĬare of their removal during purge.The complete script below can be dropped into a file that we will call "install.sh" and executed by doing the following: touch install.sh # Create empty file In that case, dpkg won't remove them by itself, but the Some configuration files might be unknown to dpkg because theyĪre created and handled separately through the configuration var/lib/dpkg/status, are removed or purged, respectively. Unpacked, but marked to be removed or purged in file pending is given instead of a package name, then all packages Or -purge removes everything, including conffiles. (Conffiles are configurationįiles that are listed in the DEBIAN/conffiles control file). ![]() This may avoid having to reconfigure the packĪge if it is reinstalled later. r or -remove remove everythingĮxcept conffiles. r, -remove, -P, -purge package.|-a|-pending Since I couldn't detect neither the problem nor the actual solution I am not posting it as an answer.ĭpkg -P package should purge the package entirely including configuration files.įollowing is the description of the option from man dpkg command ![]() How can I delete MySQL completely for a fresh install?ĮDIT: Problem solved itself after restarting the computer. Īs you can see it is stuck on starting the MySQL server again. Please use -explicit_defaults_for_timestamp server option (see documentation for more details). 04:13:48 0 TIMESTAMP with implicit DEFAULT value is deprecated. Update-alternatives: using /etc/mysql/mysql.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode Processing triggers for systemd (225-1ubuntu9). Ureadahead will be reprofiled on next reboot Processing triggers for ureadahead (0.100.0-19). Selecting previously unselected package mysql-server. 188621 files and directories currently installed.) Selecting previously unselected package mysql-server-5.6. Update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode Processing triggers for man-db (2.7.4-1). ![]() Selecting previously unselected package mysql-client-5.6. Selecting previously unselected package libdbd-mysql-perl. Selecting previously unselected package libmysqlclient18:i386. 188526 files and directories currently installed.) Selecting previously unselected package mysql-common. The following NEW packages will be installed:Ġ upgraded, 6 newly installed, 0 to remove and 87 not upgraded.Īfter this operation, 101 MB of additional disk space will be used. Libdbd-mysql-perl libmysqlclient18 mysql-client-5.6 mysql-common The following extra packages will be installed: However during installation this happened: sudo apt-get install mysql-server It was not starting so I decided to delete it. I need to completely delete everything about MySQL.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |