Repository is back!

by Ubiquiti Employee ‎05-18-2017 07:34 AM - edited ‎07-19-2017 09:14 AM

The Linux repository is back online.


Things to know:

  • The old repository, as we all know it as of yesterday, will stay capped out at 3.1.5
  • The repository update packages may be intentionally delayed from time to time
  • This repository serve GA releases only.  No beta upgrades, no alpha upgrades.
  • We're aiming for more consistency with the UniFi line with the URL.


The new repository URL is:



It should also be noted that the GPG key hasn't changed; adding the GPG key is simply there to cover all bases.


An easy one-liner to add the new repository for Ubuntu is:


wget -O - | sudo apt-key add -; platform=`lsb_release -c | awk '{print $2}'` ; sudo sh -c "echo \"deb [arch=amd64] $platform ubiquiti\" > /etc/apt/sources.list.d/unifi-video.list"

And an easy one-liner to add the new repository for Debian is:

wget -O - | sudo apt-key add -; sudo sh -c "echo \"deb [arch=amd64] wheezy ubiquiti\" > /etc/apt/sources.list.d/unifi-video.list"


If you want to remove the old repository you’ll need to do so manually.  This command will provide you with the file name that contains the old URL.  From there, you can use vi or nano to remove it.  There is no need to remove it, but will aide in cleaner command line output and logs:



sudo grep -rl http:\/\/\/downloads\/unifi-video\/apt /etc/apt



If your repository is located outside of /etc/apt for some reason, you'll need to locate the file manually.


Of course, after you run the above commands, you'll need to:


sudo apt-get update && sudo apt-get upgrade

We will link to these instructions within release announcements for the next few releases, but the instructions included in future release announcements will assume that you have the repository in your apt lists already.