Page 1 of 1
usb package install
Posted: Tue Sep 17, 2013 11:44 am
by nabil_koi
In gargoyle, USB device is automatically mounted. But why I can not install packages on it. I used the below command
gpkg install -d /dev/sda1 <package name>
It says
ERROR: No destination /dev/sda1 found, cannot install
Re: usb package install
Posted: Thu Sep 26, 2013 10:53 am
by ericwong
nabil_koi wrote:
ERROR: No destination /dev/sda1 found, cannot install
I think this means your USB device is not using the path /dev/sda1
Re: usb package install
Posted: Sun Oct 06, 2013 9:14 pm
by hello_world.c
Same problem here:
Code: Select all
> gpkg install -d /dev/sda1 <package name>
ERROR: No destination /dev/sda1 found, cannot install
> mount
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,noatime)
sysfs on /sys type sysfs (rw,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime,size=14632k)
tmpfs on /dev type tmpfs (rw,noatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,noatime,mode=600)
/dev/mtdblock4 on /overlay type jffs2 (rw,noatime)
overlayfs:/overlay on / type overlayfs (rw,noatime,lowerdir=/,upperdir=/overlay)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
none on /proc/bus/usb type usbfs (rw,relatime)
/dev/sda1 on /tmp/usb_mount/e5cb13ba-c166-49a6-a9e2-74f2ee6a2ba2 type ext4 (rw,noatime,user_xattr,barrier=1,data=ordered)
/dev/sda1 is available and Gargoyle has mounted it automatically, but it still cannot be found by gpkg. I formatted it from the web interface and to try it i had Gargoyle even install plugins on the USB drive which worked without a hitch. But with gpkg, no go. Gargoyle is version 1.5.10.
Re: usb package install
Posted: Mon Oct 07, 2013 12:12 am
by ericwong
hello_world.c wrote:it still cannot be found by gpkg. Gargoyle is version 1.5.10.
Try using opkg instead. Other threads have user report that says gpkg have problems.
Re: usb package install
Posted: Wed Oct 09, 2013 9:46 am
by hello_world.c
Thanks, Eric. opkg worked after adding a destination for my USB device to opkg.conf. BTW, some good information here:
http://wiki.openwrt.org/doc/techref/opk ... stinations