Package (un)installation on a Debian system is horribly slow, partly because it works with a whole bunch of (small) files. Short of getting a faster storage, how do I speed it up? I'm thinking maybe loading some highly-accessed directory onto RAM as one solution, but how do I do that? Is there a 'better' solution?
Tell me more
×
Unix & Linux Stack Exchange is a question and answer site for
users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.
|
For this solution you are going to need a version of dpkg of at least 1.15.8.6. Since that version of dpkg, there is a new If you have an older version of dpkg you can alternatively use eatmydata. And remember both of these solutions are unsafe and probably will lead to data loss if there is a power failure while or shortly after dpkg is running. |
|||||||||
|
dir_indexoption, or Reiser, is a dramatic improvement compared to ext2 or ext3 withoutdir_index. – Gilles Feb 24 '11 at 21:31