Unifi installation package .deb on update script
Closed this issue · 1 comments
Hey Steve,
Love your work here, it is really helping me expand my knowledge of Linux.
I used the update script, but the current download from Ubiquiti is a .deb. Your script is trying to do unzip, so the script failed on that. Any chance you would update it to handle that?
I was thinking change your unzip to "dpkg -x package.deb /opt/UniFi" or ar
Cheers,
Dietmar
Hi, @DietmarRK. The .deb package will only work on Debian-based systems (naturally), but this script is specific to the "unsupported Unix/Linux distros" links.
If you have a Debian system, you don't need the script. Download the .deb file and then install it with:
dpkg -i <deb file>
If it complains of any dependency issues, do:
apt-get install -f
which will install dependencies (the -f stands for "fix").
Then repeat the original command to install with the dependencies fixed:
dpkg -i <deb file>