Comment 21 for bug 204184

Revision history for this message
ski (skibrianski) wrote :

I worked around this by compiling intrepid's version of transmission (1.34) with hardy libs (there
are some handy features in 1.34 that are worth having in addition to this bugfix)

#get intrepid 1.34 source package (assuming you have deb-src lines in /etc/apt/sources.list)
cd /tmp
sudo sed -i s/hardy/intrepid/ /etc/apt/sources.list
sudo apt-get update
sudo apt-get source transmission
sudo sed -i s/intrepid/hardy/ /etc/apt/sources.list
sudo apt-get update

#install build-deps, among them: libssl-dev libcurl4-openssl-dev libgtk2.0-dev build-essential
# (you might need others)
sudo apt-get install libssl-dev libcurl4-openssl-dev libgtk2.0-dev build-essential

# build and install
sudo chown -R `whoami` transmission-1.34
cd transmission-1.34
sh configure --enable-gtk --enable-libnotify --enable-cli --prefix=/usr && make && sudo make install

# pin transmission:
echo transmission-common hold | sudo dpkg --set-selections
echo transmission-gtk hold | sudo dpkg --set-selections

# then clean up build dependencies you don't want lying around, source files, etc.
# note that when you upgrade to the next ubuntu version you'll probably need to unpin transmission

pin transmission:
echo transmission-common hold | sudo dpkg --set-selections
echo transmission-gtk hold | sudo dpkg --set-selections

Good luck!