2 posts / 0 new
Last post
IOTR core snap upgrade

The login screen for the IOTR serves up the following message:
[ 9 updates to install: apt upgrade ]

However, executing either "apt upgrade" or "sudo apt ugrade" displays the following:

E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

Please explain what our options are for this process?

Re:-IOTR core snap upgrade

SSNI is providing dev account access and there you can use sudo command from dev account to install/uninstall/upgrade  your applications and packaging (using snaps) or for any other administrative task.  Please try to execute below steps and update here if that works for you.

1) Download the new snap from GitHub:
wget  https://github.com/silverspringnetworks/developer_program/raw/master/HDK...
2) Remove the previous snap:
sudo snap remove starfish-sensortag-app_0.3_armhf.snap
3) Install the new snap:
sudo snap install --dangerous --devmode starfish-sensortag-app_X.XX_armhf.snap