Can't install any packages at all using opkg install on Onion Omega2 Pro [RESOLVED]
I'm not sure what's going on with my Onion Omega2 Pro, but it appears that I'm not able to install any packages at all using opkg install.
Every time I try it, I get the following error message:
Unknown package '<PACKAGE_NAME>'.
** opkg_install_cmd: Cannot install package <PACKAGE_NAME>
I am running Repo Firmware Version: 0.3.1 b211
opkg updateand retry.
Already tried that multiple times of course.
@Yvan-Gagnon What package are you trying to install? What is the contents of your
I've tried installing these packages .. and all of them fail
Here are the current contents of my opkg.conf file:
dest root /
dest ram /tmp
lists_dir ext /var/opkg-lists
option overlay_root /overlay
option check_signature 1
opkg update seems to run fine, btw (It's install that doesn't appear to be working).
Someone else here mentioned something about them always having 100% disk space used up on their new Onion Omega Pro, and I'm wondering if I might be running into the same issue. I'm not really sure how to deciper this, but here's what I'm getting when I run "df" at the command line:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 7936 7936 0 100% /rom
tmpfs 29972 220 29752 1% /tmp
/dev/mmcblk0p1 7484816 529616 6555280 7% /overlay
overlayfs:/overlay 7484816 529616 6555280 7% /
tmpfs 512 0 512 0% /dev
/dev/mtdblock6 6720 376 6344 6% /mnt/mtdblock6
It appears that /dev/root is pegged at 100%, but I'm not sure. Any thoughts?
UPDATE: Well .. I just succeeded at installing python, so I now know that opkg install does in fact work. I'm beginning to suspect that I might be trying to install packages that aren't available in any of the repos that I'm querying and that I might need to add some URLs to my distfeeds.conf file. Here's what I have in there right now:
#src/gz openwrt_core http://downloads.openwrt.org/releases/18.06-SNAPSHOT/target
#src/gz openwrt_base http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packag
#src/gz openwrt_luci http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packag
#src/gz openwrt_onion http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packa
#src/gz openwrt_packages http://downloads.openwrt.org/releases/18.06-SNAPSHOT/pa
#src/gz openwrt_routing http://downloads.openwrt.org/releases/18.06-SNAPSHOT/pac
#src/gz openwrt_telephony http://downloads.openwrt.org/releases/18.06-SNAPSHOT/p
src/gz omega2_core http://repo.onioniot.com/omega2/packages/core
src/gz omega2_base http://repo.onioniot.com/omega2/packages/base
src/gz omega2_packages http://repo.onioniot.com/omega2/packages/packages
src/gz omega2_routing http://repo.onioniot.com/omega2/packages/routing
src/gz omega2_onion http://repo.onioniot.com/omega2/packages/onion
Does anyone here know which repos I should add to my distfeeds.conf file so that I can download and install these packages?
@Yvan-Gagnon Edit the '/etc/opkg/distfeeds.conf' file with vi and enable (uncommment) the
'... openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/packages' line.
opkg list | grep -i <some_keyword>
Unfortunately I didn't find anything about that blink-library.
Actually -- the correct spelling is "blynk-library", and I wasn't able to locate the package either. So I guess these articles must be completely wrong or outdated then?
Thank you by the way. I has already figured out how to uncomment those lines in my distfeeds.conf file and to install nano. But I just now learned that the npm package is named "node-npm" and I'm installing it as we speak.
To chime in: see our updated Installing and Using NodeJS documentation article for instructions on installing Node and npm v8.10
@Yvan-Gagnon can you please add [resolved] to the post title?
for anybody looking for the solution to installing
blynk-library, the instructions in the blog post have been updated.
as per this other post on the subject.
In a nutshell,
blynk-librarycan now be installed using npm.
@Lazar-Demin I just tried installing node following the same (updated) directions on a brand new onion 2+ and got the same error,
root@Omega-63D5:~# opkg install node
Unknown package 'node'.
- opkg_install_cmd: Cannot install package node.
Would you try this?
opkg install nodejs
opkg install npm
@davidsi I get the same error