/var/lib/apt/lists is huge
Solution 1:
When you run sudo apt-get update
(or use the Refresh button in a package manager), a list of packages will get downloaded from the Ubuntu servers. These files are then stored in /var/lib/apt/lists/
.
You can safely remove the contents of that directory as it is recreated when you refresh the package lists. If you remove the files, but do not run apt-get update
to fetch the lists, commands like apt-cache
will fail to provide information (since the cache is empty).
To shrink the directory and speed up fetching package lists, consider disabling some repositories that you do not need (see How to remove a repository?). This includes PPAs (see also How can PPAs be removed?)
Solution 2:
If you feel like that, then try with this command:
sudo rm -rf /var/lib/apt/lists/*
sudo apt-get update
Solution 3:
Mine is 142M, so i guess it's normal.
The reason can be because /var/lib/apt/lists/ is the storage area for state information for each package resource specified in sources.list