pin transmission-daemon on karmic server to lucid version

Jan Piet Joris en Corneel jpjorisencorneel at gmail.com
Mon Feb 8 20:04:33 UTC 2010


2010/2/8 Tom H <tomh0665 at gmail.com>:
>>> I would like to use the lucid package (version 1.83) in stead of the
>>> karmic package (version 1.75) [...]
>> I think that the first example from the PinningHowto would work for your
>> purposes.
>> <https://help.ubuntu.com/community/PinningHowto>

Installed using the 'Recommended alternative to pinning' available at
https://help.ubuntu.com/community/PinningHowto#Recommended%20alternative%20to%20pinning

Short log of actions:
0 aptitude remove transmission*
1. add to /etc/apt/sources.list
deb-src http://nl.archive.ubuntu.com/ubuntu/ lucid main restricted
universe multiverse
(change "nl." to your country code already in the file)
2. sudo aptitude update
3. sudo apt-get build-dep transmission-daemon (at my system it
installs 147 packages)
(first I tried sudo aptitude build-dep transmission-daemon, but it has
forgotten some packages e.g. libcurl4)
4. mkdir /usr/local/src/transmission-1.83
5. cd /usr/local/src/transmission-1.83
6. sudo apt-get -b source -t lucid transmission-daemon to build the
package. Building took about 10 minutes on my Atom N270 board.
7. install package: sudo dpkg -i
transmission-daemon_1.83-0ubuntu1_i386.deb
transmission-common_1.83-0ubuntu1_all.deb

To have the feature of moving finished files to a different directory, do this:
stop daemon: sudo /etc/init.d/transmission-daemon stop
edit /etc/transmission-daemon/settings.json and put
incomplete-dir-enabled on true. Perhaps change the paths at
download-dir and incomplete-dir too.
start daemon: sudo /etc/init.d/transmission-daemon start
If you do not stop the daemon before making changes to settings.json,
they are overwritten on a daemon restart.

Corné




More information about the ubuntu-users mailing list