I guess most people will get this error using tmpfs in /etc/fstab because they use a SSD in their system. So a quick fix is to simply add a line for /var/log/apt as well - as proposed in https://help.ubuntu.com/community/EeePC/Using#Reducing%20Drive%20Writes
tmpfs /var/log tmpfs defaults 0 0 tmpfs /var/log/apt tmpfs defaults 0 0
But anyway, the segmentation fault should be fixed.
I guess most people will get this error using tmpfs in /etc/fstab because they use a SSD in their system. So a quick fix is to simply add a line for /var/log/apt as well - as proposed in https:/ /help.ubuntu. com/community/ EeePC/Using# Reducing% 20Drive% 20Writes
tmpfs /var/log tmpfs defaults 0 0
tmpfs /var/log/apt tmpfs defaults 0 0
But anyway, the segmentation fault should be fixed.