/usr/lib/ not writeable

If your problem doesn't fall into one of the other categories, report it here.

Moderator: Moderators

Post Reply
AlexxV
Posts: 4
Joined: Sat Jan 04, 2014 6:22 am

/usr/lib/ not writeable

Post 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

ispyisail
Moderator
Posts: 5212
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: /usr/lib/ not writeable

Post by ispyisail »

I would use openwrt for this project

AlexxV
Posts: 4
Joined: Sat Jan 04, 2014 6:22 am

Re: /usr/lib/ not writeable

Post 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

ispyisail
Moderator
Posts: 5212
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: /usr/lib/ not writeable

Post by ispyisail »

I think that bug was fixed? not 100% sure

daily build

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

AlexxV
Posts: 4
Joined: Sat Jan 04, 2014 6:22 am

Re: /usr/lib/ not writeable

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

Post Reply