Problems with repositories

apt-get install zoneminder

error parser xml
solution move file to root/ or update the

then try to apt.get remove zoneminder and then try to install again
problem with
the solution was create a user in the DB mysql
– connect to mysql like as root
GRANT ALL PRIVILEGES ON *.* TO ‘zmuser’@’localhost’ IDENTIFIED BY ‘zmpass’;
Type dpkg -P zoneminder and reinstalling zoneminder installed sucessfully.

The device doesnt have the correct right to read
chmod 666 /dev/video0
My /dev/video already has its permissions set to 777.

If I chmod 777 /dev/video, however, it brings the cameras on-line and stops all the errors.

Obviously, this is a workaround that I can do each time I boot the server, which is not often, but it does seem weird.

cant locate /localhost/zm in the browser
copy all /var/bb to /var/www/zonemider
or make a symbolink link to
ln -s