PDA

View Full Version : apt update Delay "Reading Package Lists ..."



rsteinmetz70112
February 25th, 2021, 08:18 PM
I've noticed on one of my computers when I run
apt update the command runs normally, updating the package lists but when it has finished downloading the lists and gets to the
Reading Package Lists ... There is a significant delay. It seems to stall at 97% take two minutes or more to complete. I wonder if there is something going on that shouldn't be.
Looking at System Monitor nothing much seems to be going on.

dino99
February 27th, 2021, 10:38 AM
How much free space is available ? Do you use a swap directory or partition ? Maybe you should clean the system via autoclean/autoremove too.

rsteinmetz70112
February 28th, 2021, 06:35 PM
I ran autoclean and autoremove, in fact I usually run them after every upgrade.


~# swapon
NAME TYPE SIZE USED PRIO
/var/swap/swap.file file 32G 0B -1



#df
/dev/mapper/hamlet-root 144366248 93847664 43162168 69% /


I don't think space is a problem.
I suspect it's something in the dpkg database but I don't know how to find it.