Upcoming Maintenance Alert:

The UBNT Community will be upgraded at 5pm MDT on April 25th. During this time the community forums will be set to read-only status.

Learn more

×

Repository is back!

by Ubiquiti Employee Thursday - last edited Thursday

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:

 

http://www.ubnt.com/downloads/unifi-video/apt-3.x

 

 

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 is:

 

wget -O - http://www.ubnt.com/downloads/unifi-video/apt-3.x/unifi-video.gpg.key | sudo apt-key add -; platform=`lsb_release -c | awk '{print $2}'` ; sudo sh -c "echo \"deb [arch=amd64] http://www.ubnt.com/downloads/unifi-video/apt-3.x $platform 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:\/\/www.ubnt.com\/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.