thanks to : https://community.ubnt.com/t5/UniFi-Video/Unifi-Video-Debian-install-for-Dummy-s/td-p/1731927

issue with installation of ubiquiti-video.
the video solution is highly depending on sudo, which was not installed by default.
also the space needed to be able to use apt and apt-get had to be expanded in my case.

 

I used the below steps to install, with the exeption of the version, which i got from the Ubiquiti site :-)

1. after clean new installation install sudo and add you as user:

Switch to root user
    - Type in the Terminal the following command
        su
    - then press [enter]
    - now type in the root password and press [enter]
        - The command prompt should now look like this...
            root@debian:/home/yourusernamehere#
    
Install "sudo"
    - Now that you are root user within the Terminal lets install "sudo"
    - Type in the following command...
        apt-get install sudo
    - then press [enter]

Add your username to the sudo group
    - Type in the following command...
        adduser yourusernamehere sudo
    - then press [enter]
    
Now add your name to /etc/sudoers file
    - Type in the following command...
        nano /etc/sudoers
    - then press [enter]
    - Scroll down and look for the line "%sudo  ALL=(ALL:ALL) ALL"
    - Below that line type in the following...
        yourusernamehere  ALL=(ALL:ALL) ALL
    - Press "Ctrl+x" then press "y" and then press [enter] to exit and save the file

2.

cd /tmp
wget https://dl.ubnt.com/firmwares/ufv/v3.9.12/unifi-video.Debian7_amd64.v3.9.12.deb

3.

sudo apt-get -f install