How to fix Ubuntu update errors
When updating to Ubuntu, users encounter some problems and this is how to fix it.
- How to enable automatic system update mode on Ubuntu
- Simple way to update Ubuntu ISO file
- Instructions for managing programs in Ubuntu via the command line
How to fix Ubuntu update errors
- Hash package does not match
- Unable to download software store information (Repository)
- Unable to load package information
- Partial upgrade error
- Error Could Not Get Lock / var / cache / apt / archives / lock
- GPG error: no signature specified
Hash package does not match
Usually, rarely does this error occur and there is very little information about it. To diagnose this problem, go back to Terminal and type
sudo apt-get update
You will see a text similar to the one below:
W: Fetched fetch package: /var/lib/apt/lists/partial/in.archive.ubuntu.com_ubuntu_dists_oneiric_restricted_binary-i386_Packages Hash Sum mismatch
W: Fetched fetch package: /var/lib/apt/lists/partial/in.archive.ubuntu.com_ubuntu_dists_oneiric_multiverse_binary-i386_Packages Hash Sum mismatch
E: Một số tập tin chỉ mục không tải về. Bạn đã bị bỏ qua, hoặc cũ người dùng dùng thay thế
To fix this problem, you can enter the following command in Terminal:
sudo rm -rf / var / lib / apt / lists / * sudo apt-get update
This command will delete all packages that have been saved to memory and force the system to reload again.
Unable to download software store information (Repository)
This error is simple and usually because the PPA you added is no longer available or unresponsive.
- Decode how the package manager works and software installation on Linux
If this is a PPA problem, you only need to specify which PPA is causing the error and delete it from the source by entering the following line into Terminal:
sudo apt-get update
Unable to load package information
This is another simple error, you just need to access the source and change the source to be downloaded into Main Server .
This change will make the download a bit slower because the main server is "more busy" than the local server, but it is stable and has a longer operating time than the local server is sometimes faulty.
Partial upgrade error
When running an update in Terminal, users may see the following error message:
Không thể cập nhật nào được cài đặt
Đang chạy một upgrade thời gian, để cài đặt như nhiều cập nhật như có
Run the following command to fix the problem:
sudo apt-get install -f
Error Could Not Get Lock / var / cache / apt / archives / lock
When another package uses apt, you will see this error. The problem is that you are installing the .deb package like Google Chrome and then deciding to use Terminal to install other programs such as Chromium or Firefox at the same time.
E: Could not get lock / var / cache / apt / archives / lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory / var / cache / apt / archives /
Normally, you can wait for the .deb package to finish installing and closing the Software Center or gdebi if you use it. However, the problem continues to appear, you can resolve it by entering the following command in Terminal:
sudo rm / var / lib / apt / lists / lock
If unsuccessful, you can end the process by:
sudo killall apt-get
GPG error: no signature specified
This is really not a bug, it is just a minor problem of configuration, usually occurring with Intel Graphics Drivers when adding PPA. When updating via Terminal will see the following message:
W: GPG error: http://repo.mate-desktop.org saucy InRelease: The signatures cannot be verified because the public key is not available: NO_PUBKEY 68980A0EA10B4DE8
The solution to this problem is to get the public key on the system from the above message and enter the following command:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 68980A0EA10B4DE8
This will change based on what you verify or enter, then follow the instructions above.
Hopefully, the article provides helpful solutions when upgrading to Ubuntu.
I wish you all success!
See more:
- Tips and tricks after installing Ubuntu
- Instructions for uninstalling software on Ubuntu
- How to 'turn' Ubuntu into Windows
You should read it
- What's New in Ubuntu 21.10?
- Ubuntu is about to have a new logo, starting from 22.04 LTS update
- Ubuntu Server Upgrade Steps
- Fix Ubuntu unable to open Terminal error
- Why is Ubuntu LTS preferred over regular distros?
- What's new in Ubuntu 18.04 LTS just released?
- Fix 'No Application Found' error in Ubuntu Software
- How to fix 'No Installation Candidate' error in Ubuntu
May be interested
- Why is Ubuntu LTS preferred over regular distros?ubuntu is one of the most widely used linux distributions among software developers and other content creators. ubuntu is also used for many servers around the globe.
- What's new in Ubuntu 18.04 LTS just released?ubuntu 18.04 lts code-named bionic beaver has just been officially launched on april 26th. this version is canonical's up to 5 year support period.
- Canonical Urges Ubuntu 20.04 LTS Users to Upgrade or Purchase Extended Supportas a long-term support release, ubuntu 20.04 lts (long-term support) will be supported with continuous updates for a total of 5 years, meaning it will reach end-of-life around april 2025.
- Update Linux kernel on Ubuntu via UKUUlinux kernel on ubuntu is the core of this operating system. it is the intermediate interface between computer hardware and software applications.
- Ubuntu 18.04 is officially available on Microsoft Store, can run as an application on Windows 10currently, the latest ubuntu 18.04 update is available on the microsoft store, users can download and run this linux version as a normal application on windows 10.
- How to Update Ubuntu Linuxthink your linux is out of date? this article will show you how to update your ubuntu linux system. update your repository list. you can do this by pressing ++. then type in . you will be prompted for your root password. all this command...
- Everything you need to know about using Nala on Ubuntunala is an open source, python-based front-end replacement for apt. it performs various functions: parallel download, package update and upgrade, history fetch, autofetch mirror repository and restore installation.
- How to upgrade Ubuntu from the command linesometimes you cannot use the graphical utility to upgrade ubuntu, in which case you must use the command line to upgrade it.
- How to prolong the life of Ubuntu 18.04 installation with Ubuntu Proubuntu 18.04, bionic beaver, is one of the most popular distros in use today, but support will end in may 2023, meaning you won't receive updates or security patches anymore.
- What is the difference between Ubuntu Desktop and Ubuntu Server?ubuntu is divided into ubuntu cloud, ubuntu core, ubuntu kylin, ubuntu desktop and ubuntu server. in this article, we will explore all the similarities and differences between ubuntu server and ubuntu desktop.