Re: Installing/updating packages are very slow
On Thursday, October 23, 2014 11:10:05 AM UTC+5:30, Bob Proulx wrote:
> Igor Sverkos wrote:
> > As you can see, it is always the "Unpacking" step which is taking all the time.
>
> dpkg has added fsync() calls after all file actions. This
> significantly slows down file operations. Basically it disables the
> file system buffer cache causing it to operate at disk drive speeds.
> This is why unpacking files is quite a bit slow.
>
> > Everything seems to be fast. Unpacking kernel sources (tar -xaf
> > linux-3.16.6.tar.xz) is no problem. Daily work is no problem.
> > But when it comes to apt/aptitude and installing/updating packages,
> > the system is very slow.
> >
> > Any ideas/hints?
>
> Install 'eatmydata' and use it when installing.
>
> apt-get install eatmydata
>
> eatmydata apt-get install stuff...
Neat
Thanks for that
But I just got while upgrading
ERROR: ld.so: object '/usr/lib/libeatmydata/libeatmydata.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
Reply to: