Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.
:~$ sudo dpkg -i /tmp/transmission_1.06-0ubuntu6.1_all.deb
(Reading database ... 211727 files and directories currently installed.)
Preparing to replace transmission 1.06-0ubuntu6.1 (using .../transmission_1.06-0ubuntu6.1_all.deb) ...
Unpacking replacement transmission ...
dpkg: dependency problems prevent configuration of transmission:
 transmission depends on transmission-cli (>= 1.06-0ubuntu6.1); however:
  Package transmission-cli is not installed.
 transmission depends on transmission-common (= 1.06-0ubuntu6.1); however:
  Version of transmission-common on system is 2.13-0ubuntu8.
dpkg: error processing transmission (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
share|improve this question

closed as not a real question by Seth, Nathan Osman, Jorge Castro, Amith KK, hhlp Feb 10 at 14:31

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, see the FAQ.

1 Answer

This is somewhat difficult to answer since you only gave code, and you did not explain what you are trying to accomplish.

But it seems you're trying to install Transmission from a downloaded .deb package. This is not working, because you don't have its dependencies--the other packages that must be installed, in order for it to work.

If you have an Internet connection:

Then you can finish the installation by running:

sudo apt-get update && sudo apt-get -f install && sudo dpkg --configure -a

Or, you can start over by removing the package you half-installed:

sudo dpkg -r transmission

And then install it normally, in the Software Center or by running:

sudo apt-get update && sudo apt-get install transmission

If you have an Internet connection, but already tried that and it didn't work:

If you tried running sudo apt-get install ... without running sudo apt-get update first, try running sudo apt-get update. That will likely make it possible to install Transmission with sudo apt-get install transmission.

If you already ran that or running it didn't help, it's likely that you don't have the right repository component enabled. Transmission is in Universe.

To enable Universe, see:

If you don't have an Internet connection:

One of the most common reasons people manually download and attempt to install .deb files for software that's available in Ubuntu's official repositories, is that they don't have an Internet connection. So you may have downloaded the file elsewhere and brought it to your computer.

That would be somewhat weird here, since Transmission is a bittorrent program, and there are hardly any uses of it, without an Internet connection!

But, if that's your situation, then you'll have to resolve the dependencies yourself. There are two problems:

  1. You're trying to install a much older version of transmission than the version of transmission-common that is installed. Usually this should be fixed by installing a newer version of transmission instead. However, if you absolutely need this old version of Transmission, you'll have to find a package for the old version of transmission-common, and install it the same way you installed transmission.
  2. transmission requires a frontend, which displays its interface. Your options are transmission-cli (command-line), transmission-gtk, and transmission-qt. If you want a GUI and you're running Kubuntu, go with transmission-qt. Otherwise, either transmission-gtk or transmission-qt will work; you may prefer transmission-gtk (it might look more consistent with your desktop environment).

Making sure to get the correct version (the version that corresponds to whatever version of transmission you want to install--and, preferably, a version for the version of Ubuntu you are running).

You can get all those packages here on Launchpad. Assuming you're trying to install a version intended for your Ubuntu release (which, as I said, is recommended), find your Ubuntu release, expand the version number you want, and a list of all Transmission packages appears.

But you should really just install it using Ubuntu's package manager.

For future package installations:

If you must install software while not connected to the Internet, you can simulate installation to see what packages you'd also need to install as dependencies. For example:

apt-get -s install transmission

This is a handy tool. However, while apt-get will usually resolve dependencies well, sometimes it will not. For example, it might just list transmission-cli as the dependency to be installed. Which is great if you want the command-line version. And not so great otherwise.

Of course, that can happen when you install software normally when connected to the Internet, too. The difference, though, is that when you're connected to the Internet, if the wrong software gets installed, you can usually fix it pretty easily because you're connected to the Internet can can easily install additional packages.

Another helpful resource is the Ubuntu package directory. You can search for packages, and when you view a package, you're informed of its dependencies, including dependencies that can be satisfied by more than one package. For example, transmission for Ubuntu 12.10 shows:

Dependency information on the packages.ubuntu.com page for Transmission in Quantal.

(As well as a bunch of other useful information.)

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.