Linux Tips: Cannot update cache in update manager
Linux Tips: Cannot update cache in update manager If you've encountered one or more "fail" error message (because files are missing from your selected repositories) when you try to refresh your cache (when using the update manager/apt-get - under Ubuntu/Linux mint), do this: # apt-get upgrade --fix-missing / ********* i) If after running the above command, you're getting the error messages that are similar to "could not get lock - open", do this: // Search for apt process & kill it # ps -A | grep apt # kill -9 [processnumber] // Remove file lock from apt list # cd /var/lib/apt/lists/ # rm -rf lock // Remove file lock from apt archives # cd /var/cache/apt/archives/ # rm -rf lock // Update packages sources list # apt-get update Refresh your update manager. / ********* ii) If after running the above command, you're getting the error message or similar: //- Errors were encountered whil...