Apt will attempt to correct broken dependencies. One of the most basic fixes to resolve dependencies problems is to run: sudo apt-get -f install apt-get autoclean clears out the local repository of retrieved package files, but unlike apt-get clean, it only removes package files that can no longer be downloaded, and are largely useless. It removes everything but the lock file from /var/cache/apt/archives/ and /var/cache/apt/archives/partial/. To fix this problem, hit Alt+ Ctrl+ T to open terminal and try to run one of the following commands: sudo apt-get cleanĪpt-get clean clears out the local repository of retrieved package files (the. One possible cause of unmet dependencies could be corrupted package database, and/or some packages weren’t installed properly. Under Ubuntu Software tab, enable all the repositories. Hit Alt+ F2, type software-properties-gtk and hit Enter. Then make sure that the restricted and universe repositories are enabled. : Depends: (= version) but this-version is to be installed It is always a good idea to back up configuration files like /etc/apt/sources.list, so you can revert the changes if needed. In rare instances, often when you are mixing in third-party dependencies, there is a chance that apt-get may end up giving you an error telling you that a package installation could not be completed. For the most part, APT is easy to use for installing, removing, and updating packages. APT is a package management system for Debian and other Linux distributions based on it, such as Ubuntu.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |