I run aptitude -d and aptitude without -d to show you the difference how much time needed to finish the job in the two cases:
root@penge:~# apt-get clean root@penge:~# time aptitude -y -d install vim The following NEW packages will be installed: vim vim-runtime{a} 0 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 6,872 kB of archives. After unpacking 24.8 MB will be used. Get: 1 http://de.archive.ubuntu.com/ubuntu/ precise/main vim-runtime all 2:7.3.429-2ubuntu2 [5,893 kB] Get: 2 http://de.archive.ubuntu.com/ubuntu/ precise/main vim i386 2:7.3.429-2ubuntu2 [979 kB] Fetched 6,872 kB in 11s (621 kB/s) E: Failed to write temporary StateFile /var/lib/apt/extended_states.tmp real 10m40.767s user 3m10.120s sys 3m13.456s root@penge:~# apt-get clean root@penge:~# time aptitude -y install vim The following NEW packages will be installed: vim vim-runtime{a} 0 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 6,872 kB of archives. After unpacking 24.8 MB will be used. Get: 1 http://de.archive.ubuntu.com/ubuntu/ precise/main vim-runtime all 2:7.3.429-2ubuntu2 [5,893 kB] Get: 2 http://de.archive.ubuntu.com/ubuntu/ precise/main vim i386 2:7.3.429-2ubuntu2 [979 kB] Fetched 6,872 kB in 10s (682 kB/s) Selecting previously unselected package vim-runtime. (Reading database ... 153837 files and directories currently installed.) Unpacking vim-runtime (from .../vim-runtime_2%3a7.3.429-2ubuntu2_all.deb) ... Adding 'diversion of /usr/share/vim/vim73/doc/help.txt to /usr/share/vim/vim73/doc/help.txt.vim-tiny by vim-runtime' Adding 'diversion of /usr/share/vim/vim73/doc/tags to /usr/share/vim/vim73/doc/tags.vim-tiny by vim-runtime' Selecting previously unselected package vim. Unpacking vim (from .../vim_2%3a7.3.429-2ubuntu2_i386.deb) ... Processing triggers for man-db ... Setting up vim-runtime (2:7.3.429-2ubuntu2) ... Processing /usr/share/vim/addons/doc Setting up vim (2:7.3.429-2ubuntu2) ... update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode. update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode. update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode. update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode. update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode. update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode. update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode. real 0m19.450s user 0m6.364s sys 0m2.172s -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/960525 Title: aptitude -d Failed to write temporary StateFile /var/lib/apt/extended_states.tmp - also consumes CPU power and takes a while to finish the operation after download To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/aptitude/+bug/960525/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs