OpenWrt Forum Archive

Topic: ipkg -- Rmoving Packages

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

When I remove a package in ipkg, I do not recover any space. is there a command I have to run to clean up?

--Ben

http://forum.openwrt.org/viewtopic.php?pid=16350#p16350

mbm wrote:

#6 WRONG:
"You can save space by deleting packages that came with the (squashfs) firmware"

Squashfs is a readonly filesystem. The packages that came with the squashfs firmware are embeded into the squashfs filesystem and nothing short of reflashing will remove them. The ipkg util will pretend to delete the packages, but really all that's doing is deleting symlinks from jffs2 to squashfs; almost no space is recovered by this. If you don't want all the packages that come with the default install, consider using the "micro" version -- it's the exact same firmware, just with less installed by default.

Or compile your own with a full jffs2 filesystem.

(Last edited by MkFly on 17 Aug 2007, 08:41)

But what about stuff I install?

If you installed it, then it got installed to jffs (rw), and removing the packages should free up space.  If the package came already loaded, then its in squashfs (ro).

I have been removing stuff and my jffs % used has stayed the same.

The discussion might have continued from here.