![]() Press Alt and F2 simultaneously and type in software-properties-gtk and press enter. absolutely not necessary packages that no longer exist in the repositories.ģ Enabling the restricted and universe repositories It will keep however the lock files /var/cache/apt/archives and /var/cache/apt/archives/partial/ and removes everything else. Which cleans up the local repository of retrieved package related files (.deb). This can be achieved with two commands : sudo apt-get clean By cleaning the package database this issue can be fixed. Unmet dependencies error can also be caused by a corrupted package database or packages that were not installed properly. You may be interested to read: How to keep Ubuntu clean? 2 – Package database cleanup This should fix the unmet dependencies issue. This will install the package using aptitude. Where PACKAGENAME refers to the package you want to install. In order to install aptitude, open up a terminal and issue the sudo commands below : ![]() It also provides a conflict resolution mechanism which shows all possible combinations of installed/upgraded/removed. We advise beforehand to back up your configuration files like /etc/apt/sources.list and /var/lib/dpkg/status, so that you can revert all changes if needed.Īptitude is an invaluable and an alternative tool to apt-get command which can be used as a higher-level package manager that helps visualize dependencies such as suggested and recommended packages. In this article, we will provide some solutions to this issue, so let’s get started. Sometimes however, when third party dependencies are involved, the apt-get command might fail with the error The following packages have unmet dependencies and the package installation suddenly comes to a halt. It helps to install, remove and update packages. Updated on – Using the APT package management utility in Ubuntu or some other Linux distros is straightforward for most users. ![]()
0 Comments
Leave a Reply. |