2

我有一张 8G MicroSD 卡,我想使用 opkg 为 Arduino Yun 安装 Node,但我收到以下消息:

root@Arduino:~# opkg update
Downloading http://downloads.arduino.cc/openwrtyun/1/packages/Packages.gz.
Updated list of available packages in /var/opkg-lists/attitude_adjustment.
Downloading http://downloads.arduino.cc/openwrtyun/1/packages/Packages.sig.
Signature check passed.
root@Arduino:~# opkg install node
Installing node (v0.10.33-1) to root...
Collected errors:
 * verify_pkg_installable: Only have 2040kb available on filesystem /overlay, pkg node needs 3016
 * opkg_install_cmd: Cannot install package node.
root@Arduino:~# df -h
Filesystem                Size      Used Available Use% Mounted on
rootfs                    6.9M      4.9M      2.0M  71% /
/dev/root                 7.5M      7.5M         0 100% /rom
tmpfs                    29.8M    480.0K     29.4M   2% /tmp
tmpfs                   512.0K         0    512.0K   0% /dev
/dev/mtdblock3            6.9M      4.9M      2.0M  71% /overlay
overlayfs:/overlay        6.9M      4.9M      2.0M  71% /
/dev/sda1                 7.3G     46.8M      7.2G   1% /mnt/sda1

有没有办法安装它?

4

2 回答 2

1

尝试这个

opkg -d /dev/sda1 install node

似乎正在尝试安装/overlay,大小为 6.9MB

于 2015-06-22T06:38:44.793 回答
0

您必须首先使用“overlay-only -i”扩展您的 rootfs

http://www.arduino.org/learning/tutorials/advanced-guides/how-to-enable-the-auto-expanding-of-your-file-system-using-pivot-overlay

于 2017-08-07T08:56:26.737 回答