Table of Contents

Bus errorackage lists... 0%

This is currently the best fix I have found for the “Bus error” failures when using apt and/or aptitude.


# apt-get update
Fetched 2,000B in 1s (1,168B/s)
Bus errorackage lists... 0%

How I fix it:

fuser -vvv /var/lib/dpkg/lock
rm /var/lib/apt/lists/lock
cp -arf /var/lib/dpkg /var/lib/dpkg.backup
cp /var/lib/dpkg/status-old /var/lib/dpkg/status
cp /var/lib/dpkg/available-old /var/lib/dpkg/available
rm -rf /var/lib/dpkg/updates/*
rm -rf /var/lib/apt/lists
rm /var/cache/apt/*.bin
mkdir /var/lib/apt/lists
mkdir /var/lib/apt/lists/partial
LANG=C;apt-get clean
LANG=C;apt-get autoclean
LANG=C;apt-get --purge autoremove
LANG=C;apt-get update -o APT::Cache-Limit=25165824
dpkg --clear-avail
dpkg --configure -a
LANG=C;apt-get -f install
LANG=C;apt-get --fix-missing install
LANG=C;apt-get update -o APT::Cache-Limit=25165824 && sudo apt-get dist-upgrade
/var/customers/webs/cw01/wiki/data/pages/debian/bus-error-apt.txt · Last modified: 2016/07/14 13:57 by wadmin
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki