Ersus
1
V3.60~39 with SSH Access trying to update opkg returns errors:
root@einstein:~# opkg update
Downloading https://updates.victronenergy.com/feeds/venus/release/packages/scarthgap/all/Packages.gz.
mpvader
(Matthijs Vader)
2
Hi @Ersus ,
what you need to do is:
/opt/victronenergy/swupdate/set-feed.sh candidate.
Still not working, looks like everyone here is having problems installing pip:
root@raspberrypi4:~# bash /home/root/velib_python-master/test/run_setup.sh
Downloading https://updates.victronenergy.com/feeds/venus/candidate/packages/scarthgap/all/Packages.gz.
Updated source 'all'.
Downloading https://updates.victronenergy.com/feeds/venus/candidate/packages/scarthgap/cortexa7hf-neon-vfpv4/Packages.gz.
Updated source 'cortexa7hf-neon-vfpv4'.
Downloading https://updates.victronenergy.com/feeds/venus/candidate/packages/scarthgap/raspberrypi4/Packages.gz.
Updated source 'raspberrypi4'.
kernel-module-ipip-5.10.110-rpi-venus-6 - 5.10.110-rpi-venus-6-r0 - ipip kernel module
perl-module-io-pipe - 5.38.2-r0 - perl module io-pipe
ppp-password - 2.5.0-r0 - Plugin for PPP to get passwords via a pipe
python3-ensurepip - 3.12.8-r0 - Support for bootstrapping the pip installer
util-linux-pipesz - 2.39.3-r0 - util-linux pipesz
* opkg_prepare_url_for_install: Couldn't find anything to satisfy 'python3-pip'.
/home/root/velib_python-master/test/run_setup.sh: line 9: pip3: command not found
/home/root/velib_python-master/test/run_setup.sh: line 11: pip3: command not found
No pip in v3.60~39:
root@raspberrypi4:~# opkg list | grep pip
kernel-module-ipip-5.10.110-rpi-venus-6 - 5.10.110-rpi-venus-6-r0 - ipip kernel module
perl-module-io-pipe - 5.38.2-r0 - perl module io-pipe
ppp-password - 2.5.0-r0 - Plugin for PPP to get passwords via a pipe
python3-ensurepip - 3.12.8-r0 - Support for bootstrapping the pip installer
util-linux-pipesz - 2.39.3-r0 - util-linux pipesz
“python3-pip - 20.0.2-r0 - The PyPA recommended tool for installing Python packages” - is missing comparing to previous Venus versions
Solution:
root@raspberrypi4:~# python -m ensurepip
Looking in links: /tmp/tmpps2wovk9
Processing /tmp/tmpps2wovk9/pip-24.3.1-py3-none-any.whl
Installing collected packages: pip
Successfully installed pip-24.3.1
root@raspberrypi4:/etc/venus# pip3 --version
pip 24.3.1 from /usr/lib/python3.12/site-packages/pip (python 3.12)
Ersus
5
Hi Matthijs,
Thanks for pointing that out.
I now tried it with V3.60~48 but it seems it had a change in directory
swupdate → swupdate-scripts.