I'm trying to compile and make by myself some .deb packages to keep my Raspbian more up to date than the repository. Now I want to update Transmission to v 2.84.
Here's what I've done:
- Download the tarball from Transmission web site: https://www.transmissionbt.com/download/
- Install checkinstall from Raspbian repository:
$sudo apt-get install checkinstall - Extract source from tarball
./configurefrom transmission source directorycheckinstall --install=nofrom transmission source directory
Now I've a armhf .deb, but if I install it with dpkg -i transmission_2.84-1_armhf.deb I have only a partial installation. The installation completes correctly but I don't have:
- Transmission configuration directory and files (should be
$HOME/.config/transmission-daemon) - Boot/startup script for daemon on
/etc/init.d - I don't really know if something else is missing...
I want to generate a COMPLETE .DEB package with all the necessary files like official repositories .deb packages. I'd also like to do the same with some other applications, like htop. What should I do?
UPDATE
These are the steps I made to try to compile version 2.84 with debian directory taken from version 2.82:
- download tarball with
wget https://transmission.cachefly.net/transmission-2.84.tar.xz - extract archive on my source directory with
extract transmission-2.84.tar.xz(extract() is a function in aliases, so it's equivalent totar xvJf ...) - download debian folder of version 2.82 with
wget http://archive.raspbian.org/raspbian/pool/main/t/transmission/transmission_2.82-1.1.debian.tar.xz - extract archive inside transmission 2.84 directory with
extract transmission_2.82-1.1.debian.tar.xzthat created adebiandirectory insidetransmission-2.84/directory ./configurefromtransmission-2.84/directory- after successfully configure,
sudo checkinstall --install=nofromtransmission-2.84/directory.checkinstallwill executemakeandmake install. With option--install=noit execute onlymakeand then create a.debpackage inside thetransmission-2.84/directory dpkg -i transmission_2.84-1_armhf.debto install package- configure transmission settings on
~/.config/transmission-daemon/settings.json sudo nano /etc/init.d/transmission-daemonto create init.d boot scriptupdate-rc.d transmission-daemon defaultsto link the new scripttransmission-daemonandsudo service transmission-daemon startto try to start transmission
checkinstall. When I install it withdpkg -ithe installation completes and now there're also configuration files but noinit.dscript. I made it using the 2.52 version that should work. Anyway, even after setting configuration for daemon, it doesn't start. If I typetransmission-daemonorsudo service transmission-daemon startI get nothing... – Cheshire Cat Jul 17 '14 at 08:05sudo transmission-daemon start. If I try to execute it withsudo service transmission-daemon startit doesn't work. I figured out that even copying the debian folder from 2.82 version, not all the correct configuration was made during installation of my .deb package. In fact there was nodebian-transmissionuser in/etc/passwdand no directories/var/lib/transmission-daemon/infoand/etc/transmission-daemon/. Don't know what to do now... The compilation works, but the deb package is not complete... – Cheshire Cat Jul 20 '14 at 13:47dpkg -iwith my .deb... Let's see... :-) – Cheshire Cat Jul 20 '14 at 14:03