maemo.org Bugzilla – Bug 5746
symlink /var/cache/apt/archives to /home/apt-archives
Last modified: 2010-03-15 20:55:58 UTC
You need to
before you can comment on or make changes to this bug.
STEPS TO REPRODUCE THE PROBLEM:
1. Add the extras-devel repository to your N900
2. Try to sudo apt-get install openarena
openarena is installed
apt aborts saying that there's not enough free space in /var/cache/apt/archives
to download 300 megs' worth of debs.
I did the following:
mv /var/cache/apt/archives /var/cache/apt/archives.old
ln -s /home/apt-archives /var/cache/apt/archives
apt-get install openarena
and openarena was successfully installed.
Sounds sensible. Should there be a common directory under /home for .../opt,
.../apt-archives and additional stuff in future?
/home/space (based on Marius' original suggestion)? Then we'd have /opt ->
/home/space/opt and /var/cache/apt -> /home/space/apt (note not just
In fact, isn't there an argument for the whole of /var/cache and /var/lib/dpkg
to go into /home/space/var?
I would vote for /opt since it's always available (we still want dpkg & friends
working when /home/user/MyDocs is mounted on a PC via USB for example) and less
prone to corruption.
(In reply to comment #2)
> I would vote for /opt since it's always available (we still want dpkg & friends
> working when /home/user/MyDocs is mounted on a PC via USB for example) and less
> prone to corruption.
/opt is a symlink to /home/opt. No-one is suggesting putting anything under
/home/user/MyDocs AFAICT (VFAT => permission loss, and unmounted when used as
USB Mass Storage).
Sorry, ignore the previous comment, somehow I managed to confuse myself
But yes, moving those trees into /home (== the 2G ext3 partition) would be a
good idea. Maybe even go all the way and move the entire /var tree there?
Isn't the problem that apt cache going to the rootfs partition risks to hit the
limit and this risk could be avoided redirecting these files somewhere in the
Not hitting the rootfs limit was the reason why we came up with the
optification, since end user won't care where are the files as long as things
work and the performance is right. The current location for apt cache seems
contradicting this principle. We got already some users hitting that limit just
because of vanishing cache fikles (count me in).
So I think this can be considered as a bug. Andre, do you mind cloning it in
the internal bugzilla? Thank you.
The hildon application manager uses (most of the time) /home/user/MyDocs
because in the partition with more available space.
*** Bug 8805 has been marked as a duplicate of this bug. ***
Will be integrated to pr1.2 branch tomorrow.
Fixed (for the next version, if I got the internal ticket correctly).
Setting explicit PR1.2 milestone (so it's clearer in which public release the
fix will be available to users).
Sorry for the bugmail noise (you can filter on this message).