Reading package list 0%

I recently had an issue on Linux Mint (Ubuntu based) where apt-get upgrade was just getting stuck each time on Reading Package list 0%.

This is how I fixed it:

rm /var/lib/dpkg/status
cp /var/lib/dpkg/status-old /var/lib/dpkg/status
rm -rf /var/lib/apt/lists/*
dpkg --configure -a
mkdir -p /var/lib/apt/lists/partial
aptitude update
aptitude upgrade

It ran pretty slowly during the update and upgrade especially in reading the packages, presumably while it created new caches. Once it was done everything was fine.


Like this Article? Share it!

About the Author

Author Gravatar

Andy has been in IT support in the academic industry for over 7 years now, with an in-depth knowledge of both Windows and Unix based systems.

Related Posts

One Comment

  1. thanks, worked for me :)

Leave a Comment