To install a specific version of thin-edge.io on a Debian based operating system, you will have to use APT Package Pinning, as the tedge-full
package is a virtual package, and installing a specific version of the virtual package does not transfer to the package's dependencies (unfortunately).
Below shows how the exact thin-edge.io version can be installed.
-
Create a debian package pin definition for thin-edge.io
Create the following file:
sudo vi /etc/apt/preferences.d/tedge
And add the following contents to the file:
Package: tedge-full Pin: version 0.13.2~229+g460f3eb Pin-Priority: 1001 Package: tedge Pin: version 0.13.2~229+g460f3eb Pin-Priority: 1001 Package: tedge-mapper Pin: version 0.13.2~229+g460f3eb Pin-Priority: 1001 Package: tedge-agent Pin: version 0.13.2~229+g460f3eb Pin-Priority: 1001 Package: c8y-firmware-plugin Pin: version 0.13.2~229+g460f3eb Pin-Priority: 1001 Package: c8y-remote-access-plugin Pin: version 0.13.2~229+g460f3eb Pin-Priority: 1001 Package: tedge-apt-plugin Pin: version 0.13.2~229+g460f3eb Pin-Priority: 1001 Package: tedge-watchdog Pin: version 0.13.2~229+g460f3eb Pin-Priority: 1001
-
Update the apt cache
sudo apt-get update
-
Install thin-edge.io
sudo apt-get install tedge-full
Note
-
If you want to remove the package pinning just delete the file created in the above procedure
sudo rm /etc/apt/preferences.d/tedge