OpenWrt Forum Archive

Topic: Removing package:No space left on device.

The content of this topic has been archived on 25 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Removing package kmod-usb2 from root...
Collected errors:
* opkg_conf_write_status_files: Can't open status file //usr/lib/opkg/status: No space left on device.


and i cant remove any package to get free space now.

how can i deal with this?

what do you mean by 'cant'? do you mean there is no unnecessary packages that can be removed?

if you've got any usb port, you can mount a flash disk and install new packages on the flash disk.

Run 'mtd -r erase rootfs_data' to clean all your changes and start over...

arapat wrote:

what do you mean by 'cant'? do you mean there is no unnecessary packages that can be removed?

Obviously, he can't remove any package, because when he tries to do it with "opkg" it says "no space left on device".

ben304 wrote:

how can i deal with this?

You can try to manually remove some files of unneeded packages with "rm" command just to get some kBytes of free space. Then use "opkg" as usual.

Can anyone help me get mwan3 installed on my wd n750, running CC (had same problem on BB, so tried upgrading)?

It looks like my kernel isn't the right version, I guess.  Trying to install mwan3 to connect to an xfinity hotspot to boost my broadband, but keep getting this error:

Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for mwan3:
*     kernel (= 4.1.11-1-1f2137a3fda56d19f60cf91c6ae9d3b1) *     kernel (= 4.1.11-1-1f2137a3fda56d19f60cf91c6ae9d3b1) *     kernel (= 4.1.11-1-1f2137a3fda56d19f60cf91c6ae9d3b1) *     kernel (= 4.1.11-1-1f2137a3fda56d19f60cf91c6ae9d3b1) *
* opkg_install_cmd: Cannot install package mwan3.

Looks like I'm running kernel 3.18.20.  I'm kind of noobish (shocker), so I'm hesitant to get too crazy trying to tinker without any guidance, as I'm not the only one relying on this router in my house.

Any help appreciated.  Thanks!

Looks like you're trying to install packages intended for a trunk build of OpenWrt on a different (older) version. As general advice, especially for inexperienced users: Go for the latest release version, not a trunk version, the package repositories will match.

Thanks for the response.  That's what I thought, but I got the same error on Barrier Breaker, which I would have thought would have had the correct repositories.  Guess I'll have to sniff around for an alternate image.  Any problem going from CC back to BB?

No need to install "alternate images" or a different version of OpenWrt. Just check https://wiki.openwrt.org/doc/howto/mwan3#latest_release and make sure the package version matches your OpenWrt version -- note that the latest version of mwan3 may not be available for release OpenWrt versions but only trunk versions, on an OpenWrt release version you'll most probably have to use a previous version of mwan3.

(Last edited by metai on 17 Nov 2015, 20:25)

check files inside /overlay .. its the folder with all user modifications
to start over "rm -rf /overlay" and reboot or "mtd -r erase rootfs_data" or "firstboot" from failsafe
http://wiki.openwrt.org/doc/howto/generic.failsafe

@cthog & @metai you guys are way oftopic

(Last edited by makarel on 18 Nov 2015, 01:03)

The discussion might have continued from here.