Page 1 of 1

/usr/lib/ not writeable

Posted: Sat Jan 04, 2014 6:28 am
by AlexxV
I use TL-1043ND v1.1 with Gargoyle 1.5.11
I get following error:

Code: Select all

root@Gargoyle:~# gpkg install aircrack-ng
ERROR: Specified install destination is not writable, exiting
But it seems that all file systems are writable:

Code: Select all

root@Gargoyle:~# mount
rootfs on / type rootfs (rw)
/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/mtdblock3 on /overlay type jffs2 (rw,noatime)
overlayfs:/overlay on / type overlayfs (rw,relatime,lowerdir=/,upperdir=/overlay)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
none on /proc/bus/usb type usbfs (rw,relatime)
And it works if used like this, but aircrack commands are not working after install:

Code: Select all

root@Gargoyle:/usr/lib/opkg/info# gpkg install --dest ram aircrack-ng
After reading gpkg sources (install.c) I came to this:

Code: Select all

root@Gargoyle:/usr/lib/opkg/info# touch tmp.gpkg.write.test.tmp
touch: tmp.gpkg.write.test.tmp: File exists
But as I am not a unix guy I have no idea how to fix this

Re: /usr/lib/ not writeable

Posted: Sat Jan 04, 2014 7:58 pm
by ispyisail
I would use openwrt for this project

Re: /usr/lib/ not writeable

Posted: Sat Jan 04, 2014 9:29 pm
by AlexxV
Maybe OpenWRT fits some scenarios better, but still - it's not about wardriving and even not about aircrack - it's impossible to install any package on my system, and that's an issue.
Here some guy ends up with very same issue trying to install package not related in any way to aircrack

Re: /usr/lib/ not writeable

Posted: Sat Jan 04, 2014 10:23 pm
by ispyisail
I think that bug was fixed? not 100% sure

daily build

http://www.gargoyle-router.com/phpbb/vi ... =14&t=5178

Re: /usr/lib/ not writeable

Posted: Sat Jan 04, 2014 10:30 pm
by AlexxV
Thanks, I'll try it later.

EDIT:

OK, I tried it and it works just fine. Thanks!
Maybe you should add it to some sort of FAQ?