Normally, when you run the sudo apt update and sudo apt upgrade commands, it updates all the installed packages to their available newer versions. But are you curious what caused the error and how was it fixed? Let me explain that to you. ![]() The above suggested fix should solve the problem for you. So, here’s what I tried: sudo apt install -only-upgrade fwupdĪs you can see in the below screenshot, it suggests two packages that will be installed and then those packages are installed as well.Įxplained: Reason for the “The following packages have been kept back” error and how it was fixed ![]() ![]() This ensures that the dependencies that were installed automatically get removed automatically if you remove relevant packages. With the -only-upgrade option, it will only upgrade it and won’t mark the package as manually installed, instead of automatic. If you use apt install on an already installed package, it gets updated. All you have to do is to use the apt install command with package or packages in the question: sudo apt install -only-upgrade package_name Fixing “The following packages have been kept back” Error Let me show you how to handle this error in Ubuntu and other Linux distributions like Linux Mint, Debian, Kali Linux etc. As you can see in the image above, the problem is arising because of fwupd which is the firmware update manager daemon in Ubuntu and other Linux.
0 Comments
Leave a Reply. |