You probably need to do the following: mkdir /home/apt cp -a /var/cache/apt /home/apt rmdir /var/cache/apt ln -s /home/apt /var/cache/apt
This moves the stuff to the new place, deletes the now empty directory and links the new stuff so it appears to be in /var/cache/apt as expected by the package manager. -- Regards, Harry Mills http://haeg.in 07708228571 On 5 November 2012 21:49, nigel white <[email protected]> wrote: > Thank you all for these ideas. > > I had a look at /tmp and /var but I've no idea what is safe to delete > and what isn't. > > For the symlink solution: I am out of my depth, but is this OK - > ln -s /var/cache/apt/ /home/apt/ > or is there more to it than that? > > And after that, do I just merrily update, using Ubuntu's updating wizard, > with no alterations? > > And after I've updated, do I remove the symlink? > > Thanks > Nigel > > > > On Mon, 2012-11-05 at 09:53 +0000, mike cloaked wrote: > > On Sun, Nov 4, 2012 at 11:31 PM, Steve Kemp <[email protected]> wrote: > > > > > On Sun Nov 04, 2012 at 23:21:55 +0000, David Morris wrote: > > > > > > > It may be that there is some rubbish in /tmp or /var that you can > > > dump. > > > > If there isn't, the simplest solution to your *stated* problem > would > > > be to > > > > use a partitioningtool to resize the root partition, using some of > > > that spare space in > > > > /home. > > > > > > The *simplest* approach would be to make /var/cache/apt/ a symlink to > > > /home/apt/ > > > > > > That way the downloaded files will go to the partition that has the > > > space, and avoids repartitioning which will be hard to guide a user > > > through remotely. > > > > > > > > I was about the post a similar solution - though I don't run Ubuntu so > was > > unsure which directory was going to be used to hold the cache. Sometimes > > symlinks don't work and need a bind mount instead - so if the symlink > works > > then you will be off and running but if for some reason that does not > work > > then try a bind mount instead and when you are done then remove the bind > > mount. > > > > > > _______________________________________________ > > York mailing list > > [email protected] > > https://mailman.lug.org.uk/mailman/listinfo/york > > > > > _______________________________________________ > York mailing list > [email protected] > https://mailman.lug.org.uk/mailman/listinfo/york >
_______________________________________________ York mailing list [email protected] https://mailman.lug.org.uk/mailman/listinfo/york
