Get PC error-free in minutes
Sometimes your system may generate an error code indicating that the command sudo rm /var/lib/apt/lists/* was not found. There can be several reasons for this problem. /var/lib/apt is the actual directory where files and data other than the apt package manager will undoubtedly be stored. /var/lib/apt/lists is the database used to store messages for each package resource listed in relation to sources on your system. If you run “sudo apt update” this task will create the cache.
I tested Ubuntu 12.04 and since then I’ve been having trouble doing a simple upgrade. I have a situationii that need to be managed. I tried because I found a solution on his web, but it didn’t work. Now here is the error I get when I try to
sudo apt-get updateE: Failed to open file /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_precise-Updates_multiverse_binary-i386_Packages.IndexDiff -begin (2: No such file or directory)
It all started when I was trying to make updates I got this error: “Installation is required regarding unapproved packages” and I found I-Link, changed the settings in the power code and everything Accept things and did it again after this. doesn’t work.
What is var lib apt lists lock?
The methods package management tool in Ubuntu/Debian or even any other Linux OS always works in such a way that whenever a package is created or updated, the management tool offers , in this case slant or dpkg , creates a hold file / . var/lib/apt/lists/lock or var/lib/dpkg/lock to reduce chance of concurrent execution
Then my partner and I followed another link, and I did it like this:
How do I fix var lib apt list?
1: Please wait or restart.2: Study running human processes.3: Contact stuck flat.4: Remove lock files.5: reconfigure dpkg.
sudo apt-get cleancdvar/lib/aptsudo mv lists listen.oldsudo mkdir -p lists/partiallysudo apt-cleansudo apt-get update
and right after that I had problems with some keys and found your solution, but now I got an error.
requested on July 31, 2012 at 12:25 pm.