usb package install

General discussion about Gargoyle, OpenWrt or anything else even remotely related to the project

Moderator: Moderators

Post Reply
nabil_koi
Posts: 3
Joined: Tue Sep 17, 2013 11:38 am

usb package install

Post 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

User avatar
ericwong
Posts: 430
Joined: Sat Aug 25, 2012 6:15 am
Location: Melbourne, Australia
Contact:

Re: usb package install

Post 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
Eric Wong

PM me if you need to buy Gargoyle router in Australia/NZ, willing to pay me to help you on your Gargoyle configurations or build custom configured ROM with pre-installed app or try to fix your bricked router. Yes, I am looking for job/work.

hello_world.c
Posts: 9
Joined: Thu Oct 03, 2013 9:09 am

Re: usb package install

Post 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.

User avatar
ericwong
Posts: 430
Joined: Sat Aug 25, 2012 6:15 am
Location: Melbourne, Australia
Contact:

Re: usb package install

Post 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.
Last edited by ericwong on Wed Oct 09, 2013 11:34 am, edited 2 times in total.
Eric Wong

PM me if you need to buy Gargoyle router in Australia/NZ, willing to pay me to help you on your Gargoyle configurations or build custom configured ROM with pre-installed app or try to fix your bricked router. Yes, I am looking for job/work.

hello_world.c
Posts: 9
Joined: Thu Oct 03, 2013 9:09 am

Re: usb package install

Post 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

Post Reply