aptitude installation for Fledge v1.9.1 fails
shantanoo-desai opened this issue · comments
Hardware Spec
- Raspberry Pi 4 2GB Model B
- Ubuntu 20.04.2 LTS
Steps to reproduce problem
-
Install GPG key for Fledge
wget -q -O - http://archives.fledge-iot.org/KEY.gpg | sudo apt-key add -
-
Since there is no source for Ubuntu 20.04 LTS I use the 18.04
sudo add-apt-repository ‘deb http://archives.fledge-iot.org/latest/ubuntu1804/aarch64/ / ‘
-
Update apt repositories
sudo apt update
-
Install
fledge
sudo apt install fledge
Error Logs
The package configuration fails at this point:
cp cannot stat '/usr/local/fledge/data.new/extras/fogbench/fogbench_sensor_coap.template.json': No such file or directory
Other Trials
-
I have tried purging the repository
sudo apt remove --purge fledge
-
Removed
/usr/local/fledge
directory -
reinstalling fledge and provides the same error
I have raised this in the engineering task system as FOGL-5769, it should be worked on shortly and a fix will be forthcoming., Thank you for raising this.
Since there is no source for Ubuntu 20.04 LTS I use the 18.04
We officially do not support ub20.04 on aarch64
architecture and with ub18.04 packages install on the given hardware specs which we do not recommend. There is no guarantee of packages to be work as these packages were made/compiled on ub18.04 platform specific.
We have updated the documentation in develop branch, you may see here
cp cannot stat '/usr/local/fledge/data.new/extras/fogbench/fogbench_sensor_coap.template.json': No such file or directory
This error comes only when fledge data directory exists in your system and above fogbench template is missing inside data directory which is required for the case.
Also you may see doc for uninstallation of package
Note - sudo make install | sudo apt install fledge (as a service) - Both are stored in directory /usr/local/fledge by default.
I see you have tried purging of a repository & fledge installation directory removal. So I suspect there is something either a misconfigured/incomplete package installation or cache related issue which is causing it. Would you mind to clean your cache?
APTs cached files are located in:
/var/cache/apt/archives/
sudo apt-get clean
It removes everything except the partials folder and lock file from /var/cache/apt/archives/.
# if no success with clean command, try below
sudo dpkg --remove --force-remove-reinstreq fledge