On Debian-based Linux servers, APT is the package manager of choice. By default, running apt-get will connect to the Linux distribution’s main package repository. In most situations, this is enough, but there are situations where you might want to add additional repositories. For example, if you are using a special …
June, 2010
May, 2010
-
5 May
Upgrade Your Server with APT
Debian-based servers have a unique ability to easily upgrade from one major version to another without re-installation and will little reconfiguration. To begin you will need to specify the location of the new packages in /etc/apt/sources.list. In other words, APT will need to know where the new packages are. To …
January, 2010
-
12 January
How to manually install stubborn APT packages
Question: What do I do when I get the following error with apt-get: error processing /var/cache/apt/archives/packagename_0.80.1-1_all.deb : trying to overwrite ‘libsomething.1.0.so, which is also in “libotherpackage”? Answer: These types of errors can be very annoying when trying to upgrade packages on a Linux server with apt-get. Sometimes these can be …
December, 2009
-
18 December
Useful APT commands
In a previous post, we covered some of the basics of using apt-get to download and install packages for your Linux server. There are several commands that you can append to “apt-get” in order to perform various tasks. Here are a few: 1. “apt-get clean” By default, APT saves a …
-
11 December
Fixing APT problems
Question: I get an error on my server with apt-get, and it will not let me install any new packages. What should I do? Answer: Depending on the error, there are a number of solutions you can try. The first is to tell APT to resolve any unfinished transactions or …
-
7 December
How to perform upgrades with apt
Question: What is the difference between apt-get upgrade and apt-get dist-upgrade? Answer: Apt-get upgrade is designed to update your Linux server packages to their latests versions. It will only upgrade the packages that are currently installed. Apt-get dist-upgrade will not only upgrade the current packages but will also install any …
-
4 December
Searching for applications with APT
Using “apt-get install” works perfectly well as long as you know the name of an application, but if you do not, it becomes a guessing game. Fortunately, APT has a search tool you can use to find the applications or types of applications you need for your Linux server. APT …
-
4 December
Installing applications with APT
In a previous post, I explained how to install APT on a Linux server that does not have it. In this post, you learn how to use APT on any server that has it installed. Debian and Debian-based distributions, such as Ubuntu, use APT by default. The basic command for …