38090 files and directories currently installed.) The following NEW packages will be installed:Ġ upgraded, 1 newly installed, 0 to remove and 168 not upgraded.Īfter this operation, 100 MB of additional disk space will be used. The following extra packages will be installed: Openssl-blacklist libdb4.5 libsysfs2 libbeecrypt6 libxdamage1 libobject-realize-later-perl libuser-identity-perl libxcursor1 portmap libxrandr2 libltdl3
Libltdl3-dev libmd5-perl libilmbase6 libatk1.0-data djvulibre-desktop libdirectfb-1.0-0 fam libxinerama1 libcroco3 libopenexr6 libmail-box-perl libdjvulibre21 Libatk1.0-0 libts-0.0-0 libmime-types-perl libc-client2007b libgtk2.0-common libxfixes3 libgsf-1-common hicolor-icon-theme libfile-remove-perl libxcomposite1 automake1.4 The following packages were automatically installed and are no longer required:
Then I try, what the error suggest: mail:/home/roland# apt-get -f install Try 'apt-get -f install' with no packages (or specify a solution). Linux-image-2.6-amd64 : Depends: linux-image-2.6.32-5-amd64 but it is not going to be installedĮ: Unmet dependencies. Libapache2-mod-geoip : Depends: libgeoip1 (>= 1.4.7~beta3+dfsg) but it is not going to be installed The following packages have unmet dependencies: You might want to run 'apt-get -f install' to correct these: Once you have mastered the use of each command, you can manage all your packages with ease and confidence.I try to install some packages, but I got this: mail:/home/roland# apt-get install libapache2-mod-geoip These commands are simple to use and easy to remember. In this article, you learned the most common apt-get and apt-cache commands. You can also define custom options by modifying the configuration file.
-V/-verbose-versions – display full versions of upgraded and installed packages.
To remove the unnecessary packages that apt-get automatically installs to satisfy dependencies for other packages, run the command: apt-get autoremove How to Use apt-get Options The clean command removes everything except the local file from /var/cache/apt/archives/ and /var/cache/apt/archives/partial/.Īnother way to empty the local repository of retrieved files is to use autoclean and clear out packages that are no longer available: apt-get autoclean To clean the local repository of retrieved package files, use the command: apt-get clean To remove the package along with its configuration files, use the command: apt-get purge However, this command only removes the package, leaving its configuration files on the system. To remove a package use the command: apt-get remove
To download a package with all required dependencies without installing by running: apt-get install -download-only How to Remove Packages with apt-get If you have packages with many reverse dependencies and you need the most up-to-date versions, use the apt-get reinstall command. To install multiple packages at the same time with a single command: apt-get install