Monday, March 21, 2016

12.04 - Transmission dependencies are not in repository



I'm running Ubuntu 12.04 using Gnome3 through their ppa in launchpad. Went good until now. Today Ubuntu wanted to make some updates and I thought okay. But it didn't want to install all of them. Turned out there were not all dependencies in the ppa. Before I noticed that, I (noob :D) uninstalled (apt-get purge) Transmission in order to reinstall it. Bad Idea, because now I can't install it, even using synaptics.




The problem: It seems like the only ppas that have transmission in it are the one from gnome3 team (not all packages included according to synaptics, v2.71) and the official (transmission-common missing, v2.61). So when I try to install a package it says that transmission-common is too new. I can't even find the version that should be somewhere in the official standard Ubuntu ppa. Installing from the Software center doesn't work either.



Why aren't all dependencies in the ppas or why can't I see them? How can I install Transmission (stable, newest version) again? And why has the gnome3 team a newer version as the stable ppa of transmission? Are they including beta software?



If you need any additional information just tell me. Sorry I think it's quiet confusing what I did there. Thanks in advance.



EDIT1
Okay sorry, I should have explained better. When I try to install it tells me something of dependency problems.




When I try
sudo apt-get install ...



it says:





Die folgenden Pakete haben unerfüllte Abhängigkeiten:
transmission-cli : Hängt ab von: transmission-common (= 2.61-0ubuntu0.12.04.1) aber 2.71-0ubuntu1~precise1 soll installiert werden
transmission-daemon : Hängt ab von: transmission-common (= 2.61-0ubuntu0.12.04.1) aber 2.71-0ubuntu1~precise1 soll installiert werden

transmission-gtk : Hängt ab von: transmission-common (= 2.61-0ubuntu0.12.04.1) aber 2.71-0ubuntu1~precise1 soll installiert werden
E: Probleme können nicht korrigiert werden, Sie haben zurückgehaltene defekte Pakete.





Unfortunately I'm using Ubuntu in German.



Here a picture of synaptics (I didn't know how to show better):
https://dl.dropbox.com/u/8240739/Synaptic-Paketverwaltung%20_002.png
Maybe it helps.




Step 1: Add Transmission PPA Repository



Transmission is readily available in Ubuntu repository. However, Ubuntu repository is usually a bit slow on updating versions. So if you are like me and would like to have the latest version as soon as possible, then add the PPA repository as described below. If not proceed to step 2.



sudo add-apt-repository ppa:transmissionbt/ppa


Step 2: Install Transmission Web Interface




Then update packages list and install Transmission:



sudo apt-get update
sudo apt-get install transmission-cli transmission-common transmission-daemon


If you want the full desktop gui software then use:



sudo apt-get update
sudo apt-get install transmission-gtk transmission-cli transmission-common transmission-daemon



Step 3: Configure Users and Permissions



It is recommended that Transmission runs under it’s own username for security reasons. This creates a few issues with file and folder access by Transmission as well as your account (let us assume it is user). You will have to create a new set of folders for Transmission to read/write/execute (example: transmission folder containing these subfolders: completed, incomplete, and torrents). The account user also needs full control over these folders and their contents. I recommend reading this post to familiarize yourself with safely changing user groups and permissions.



First, cd to the desired folder and create a folder for Transmission to use:



cd /home/user/Downloads
mkdir transmission

cd transmission
mkdir completed incomplete torrents


Then, add the username user to the group debian-transmission:



sudo usermod -a -G debian-transmission user



This will add debian-transmission as a secondary group to the account user, resulting in access to both Transmission and user. Then, change the ownership of the Transmission download folders to the group debian-transmission:




sudo chgrp -R debian-transmission /home/user/Downloads/transmission


Next, change the permissions for the transmission download folders to allow read, write, and execute for Transmission and user:



sudo chmod -R 775 /home/user/Downloads/transmission


This gives the group debian-transmission, of which both Transmission and user are members of, full access while others get only read and execute permissions. If you want to further restrict access for others you could use 774 (read only) or 770 (no access).


No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...