Uninstall and fresh reinstall
-
- Posts: 17
- Joined: Thu Apr 27, 2017 9:57 pm
Uninstall and fresh reinstall
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
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
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
-
- Posts: 17
- Joined: Thu Apr 27, 2017 9:57 pm
Re: Uninstall and fresh reinstall
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 goesbbunge wrote: ↑Fri May 05, 2017 7:26 pm 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
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
Run this to try to fix things:
sudo apt-get -f install
-
- Posts: 17
- Joined: Thu Apr 27, 2017 9:57 pm
Re: Uninstall and fresh reinstall
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
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
-
- Posts: 17
- Joined: Thu Apr 27, 2017 9:57 pm
Re: Uninstall and fresh reinstall
could this be a conflict from mariadb when i tried the script? how can i remove the problems?