![]() ![]() That compiles the list of frequent Ubuntu update errors you may encounter. This is a tricky problem and if the problem still persists, please read this detailed tutorial on fixing the unable to lock the administration directory error in Ubuntu. If you cannot find any such programs, use the following command to kill all such running processes: sudo killall apt apt-get If there is a process in progress, wait for it to finish. If you can close other such programs, close them. It could be a command running terminal, Software Center, Software Updater, Software & Updates or any other software that deals with installing and removing applications. E: Could not get lock /var/cache/apt/archives/lock – open (11: Resource temporarily unavailable)Į: Unable to lock directory /var/cache/apt/archives/Ĭheck if some other program might be using apt. ![]() Suppose you are installing some thing in Ubuntu Software Center and at the same time, trying to run apt in terminal. This error happens when another program is using APT. Run the following command in terminal to fix this error: sudo apt-get install -f Error 8: Could not get lock /var/cache/apt/archives/lock Run a partial upgrade, to install as many updates as possible Running updates in terminal may throw this partial upgrade error: Sudo apt-get update Error 7: Partial upgrade error Use the following commands one by one in the terminal: cd /var/lib/apt The easiest way to do that is by regenerating the apt packages list (with their signature keys) and it should have the correct key. You’ll need to update the signature keys. The following signatures were invalid: BADSIG 4C1CBC1B69B0E2F4 Launchpad PPA for Jonathan French W: Failed to fetch Īll the repositories are signed with the GPG and for some reason, your system finds them invalid. GPG error: precise Release: The following signatures were invalid: BADSIG 16126D3A3E5C1192 Ubuntu Extras Archive Automatic Signing Key The repository is not updated and the previous index files will be used. Error 6: BADSIG errorĪnother signature related Ubuntu update error is BADSIG error which looks something like this: W: A error occurred during the signature verification. Once the key has been added, run the update again and it should be fine. This key can be used in the following manner: sudo apt-key adv -keyserver -recv-keys 68980A0EA10B4DE8 In the above message, the key is 68980A0EA10B4DE8. ![]() Go to Software & Updates tool:Įrror 5: GPG error: The following signatures couldn’t be verifiedĪdding a PPA may also result in the following GPG error: The following signatures couldn’t be verified when you try to run an update in terminal: W: GPG error: saucy InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 68980A0EA10B4DE8Īll you need to do is to fetch this public key in the system. Note the PPA name from the error message. I have discussed how to check the PPA availability in the detailed PPA guide.Īnyway, the fix here is that you remove the troublesome PPA from your list of repositories. This is why you should check beforehand if a PPA is available for your Ubuntu version or not. You added a PPA hoping to install an application but it is not available for your Ubuntu version and you are now stuck with the update error. They have been ignored, or old ones used instead. W: Failed to fetch 404 Not FoundĮ: Some index files failed to download. If you try adding a PPA repository that is not available for your current Ubuntu version, you’ll see that it throws a 404 not found error. Sudo apt update Error 3: Failed to fetch with error 404 not found You can use the following commands to fix it: sudo rm -rf /var/lib/apt/lists/* The error occurs possibly because of a mismatched metadata cache between the server and your system. They have been ignored, or old ones used instead W:Failed to fetch bzip2:/var/lib/apt/lists/partial/in._ubuntu_dists_oneiric_multiverse_binary-i386_Packages Hash Sum mismatch,Į:Some index files failed to download. W:Failed to fetch bzip2:/var/lib/apt/lists/partial/in._ubuntu_dists_oneiric_restricted_binary-i386_Packages Hash Sum mismatch, If you find an error that talks about Hash Sum mismatch, the fix is the same as the one in the previous error. Use the following commands one by one: sudo rm -r /var/lib/apt/lists/* You can delete all the files in this directory and run the update again to regenerate everything afresh. When you run update in terminal, you may see an error “ problem with MergeList” like below: E:Encountered a section with no Package: header,Į:Problem with MergeList /var/lib/apt/lists/_ubuntu_dists_precise_universe_binary-i386_Packages,Į:The package lists or status file could not be parsed or opened.’įor some reasons, the file in /var/lib/apt/lists directory got corrupted. Rest of the tutorial here shows how to handle the errors that you just saw in the last few lines of the update command output. ![]()
0 Comments
Leave a Reply. |