04-16-07 06:15 AM
On Apr 12, 8:39 pm, Geico Caveman <spammers-go-h...@spam.invalid>
wrote:
> Hi
>
> I wish to know if there is a way to tell apt to install to /usr/lo
cal
> instead of /usr (and create symlinks in /usr to make this process
> transparent to present / future dependencies and other parts of the
> system). The reason I ask is that I am running out of space in / and have
> plenty of space left under /usr/local.
You can't, becouse then you needed to build packages from scratch,
each and every one you install.
And Debian rules say that they should go there.
You might want to migrat to a LVM system, then you can move "disksize"
between partitions and resize file systems. You can look at several
physical partitions and even disk as one pool och disk area using for
your virtual partitions.
But as a short/fast solution, use Andreas solution. "du /usr | more"
to see where you have a large directory, and move that. You might
need to reboot after that.
You might want to try "aptitude clean" to clear caches. Check web
browser caches too, they could be large...
Good luck
[ Post a follow-up to this message ]
|