[Bug 947664] Re: Unpacking linux-headers unbelievably slow in Lubuntu Precise (Beta 1)

S. Christian Collins s.chriscollins at gmail.com
Fri Sep 27 12:51:21 UTC 2019


Good news! I was able to work around the issue by enabling host I/O
cache in the virtual machine settings. Go to "Storage", select
"Controller: SATA", and enable "Use Host I/O Cache".

I'm not sure what changed in the Linux kernel to make this change
necessary, but I wonder if kernels earlier than 4.18 were using the file
cache even if the option was disabled in VirtualBox. Someone with a
better knowledge of the Linux Kernal and/or VirtualBox would need to
answer that question.

Hopefully this will solve the problem for others as well.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dpkg in Ubuntu.
https://bugs.launchpad.net/bugs/947664

Title:
  Unpacking linux-headers unbelievably slow in Lubuntu Precise (Beta 1)

Status in dpkg:
  New
Status in dpkg package in Ubuntu:
  Fix Released

Bug description:
  The below is an example line in an apt-get dist-upgrade which seems to
  take 30 minutes or more on a 2.1GHz CPU (one core of a quad core
  through Virtualbox). I've been looking at it for ages, and even had
  time to log in here and file the bug  - the line is still 'hung'.

  Unpacking linux-headers-3.2.0-18 (from .../linux-
  headers-3.2.0-18_3.2.0-18.28_all.deb)

  Can anyone explain this, or is it a bug in the configuration of
  Lubuntu, Apt-get or something. I read that there was a similarly
  behaving bug to do with dpkg using paranoid file synchronization but
  this length of delay is frankly a bit crazy.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dpkg/+bug/947664/+subscriptions



More information about the foundations-bugs mailing list