Page 1 of 1
Uninstall and fresh reinstall
Posted: Fri May 05, 2017 5:38 pm
by lilmissndemon
Ok can some one guide me on how to completely remove zm mysql etc so that i can try a fresh try at this? i have ubuntu server 16.04 (only used for a plex server) and im trying to run two webcams in zoneminder from that server ...ive tried so many different approaches to this that it seems best way is to just try again with a fresh install of zm but i dont want to reinstall ubuntu cuz its set up for plex as mentioned before...also the webcams are seen as connected theyre just not viewable without gui on that server...any help u can provide is much appreciated
Re: Uninstall and fresh reinstall
Posted: Fri May 05, 2017 7:26 pm
by bbunge
sudo su
service zoneminder stop
apt remove zoneminder
apt purge zoneminder
apt autoremove
mysql -u root -p
mysql> DROP DATABASE zm;
mysql> \q
https://wiki.zoneminder.com/Ubuntu_Serv ... e_easy_way
Re: Uninstall and fresh reinstall
Posted: Fri May 05, 2017 7:55 pm
by lilmissndemon
Ty so much ive entered all u attached (getting mysql unmet dependencies notice) but i have no more time tonight hopefully that when i reinstall mysql those things will be erased ty for yer quick response ill keep ya posted how it goes
Re: Uninstall and fresh reinstall
Posted: Fri May 05, 2017 11:26 pm
by bbunge
If you are getting unmet dependencies for MySQL it is likely you did not set up LAMP correctly. Removing Zoneminder should not remove anything still needed by another installed application or program.
Run this to try to fix things:
sudo apt-get -f install
Re: Uninstall and fresh reinstall
Posted: Mon May 08, 2017 3:46 pm
by lilmissndemon
ok when i tried that apt-get -f install it returned this error
Preparing to unpack .../mysql-server-5.7_5.7.18-0ubuntu0.16.04.1_amd64.deb ...
Aborting downgrade from (at least) 10.0 to 5.7.
If are sure you want to downgrade to 5.7, remove the file
/var/lib/mysql/debian-*.flag and try installing again.
dpkg: error processing archive /var/cache/apt/archives/mysql-server-5.7_5.7.18-0ubuntu0.16.04.1_amd64.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/mysql-server-5.7_5.7.18-0ubuntu0.16.04.1_amd64.deb
Re: Uninstall and fresh reinstall
Posted: Mon May 08, 2017 9:48 pm
by lilmissndemon
could this be a conflict from mariadb when i tried the script? how can i remove the problems?