Hi,
@David_GT
you said the "dummy package" installation is not working for you. Could you try the following workaround? (on german also
here). In our view the noderedrevpinodes-server is not broken and nodered will stay as needed dependency. Upgrading Node-RED via the script is circumventing the official package manager of raspbian.
Anyway you can use the following steps if you still want to use a newer Node-RED version:
1. Upgrade Node-RED (Node-RED version: v1.0.6, Node.js version: v12.18.0)
bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)
2. Download noderedrevpinodes-server package
without installing it
sudo apt-get install --download-only noderedrevpinodes-server
3. Install downloaded package without reinstalling the nodered dependency :
sudo dpkg -i --ignore-depends=nodered /var/cache/apt/archives/noderedrevpinodes-server_1.0.1_all.deb
4. Start noderedrevpinodes-server:
sudo systemctl start noderedrevpinodes-server
5. Start Node-RED:
6. Install node-red-contrib-revpi-nodes in the Node-RED palette manager
7. Remove nodered dependency to prevent further problems with apt. This will leave the system in a potential unstable configuration, do it on your own risk:
sudo nano /var/lib/dpkg/status
Change
Depends: init-system-helpers (>= 1.18~), python3 (>= 3.5.3-1), python3-revpimodio2 (>= 2.4.2-1), nodered (>= 0.2)
to
Depends: init-system-helpers (>= 1.18~), python3 (>= 3.5.3-1), python3-revpimodio2 (>= 2.4.2-1)
under
Package: noderedrevpinodes-server
This is a workaround and not the officially supported installation procedure.
Greetings,
Jonas