After upgrade from 11.10 to 12.04 Transmission will not launch from shortcuts and torrent downloads.

Asked by henrym12

After the upgrade Transmission will not start. I have tried info from question #208333 with no change. When I right click on a .torrent file to open with Transmission nothing happens. Also, when I download a torrent file from Firefox it will not start Transmission after I click on open file. I am thinking it could be a broken link to Transmission-gtk, because the only way i have found to launch Transmission is by clicking on /usr/bin/transmission-gtk. I would like to know how to check if the link is infact broken. After Transmission opens I have to open the .torrent file from within Transmission to start the download. The system is running Ubuntu 12.04 with Unitiy as my HTPC.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu transmission Edit question
Assignee:
No assignee Edit question
Solved by:
henrym12
Solved:
Last query:
Last reply:
Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#1

Try to purge and install again transmission .

~$ sudo apt-get remove --purge transmission
~$ rm -r .config/transmission
~$ rm -r .cache/transmission

Install
~$ sudo apt-get install transmission

Thanks

Revision history for this message
henrym12 (henrym12) said :
#2

Thanks for the reply NikTh. I ran the commands and reinstalled Transmission. But the problem is still. :(

Revision history for this message
henrym12 (henrym12) said :
#3

Well the problem has not changed. I do think its strange that it has only affected Transmission. I have tried other torrent software and they work fine, but I am not pleased with them. I am staying with Transmission because I still use it on my other pc's and I think its a great program.

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#4

Hi ,

run transmission through terminal and post back any messages (in terminal)

~$ transmission-gtk

Thanks

Revision history for this message
henrym12 (henrym12) said :
#5

ok this is what i got from the terminal:
transmission-gtk: error while loading shared libraries: libminiupnpc.so.5: cannot open shared object file: No such file or directory

I did see this file before and i think it was updated to libminiupnpc.so.8. So im thinking that there should be a link to each other if so im not sure how to do it. But I maybe wrong.

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#6

What version of transmission you have ?

~$ apt-cache policy transmission-gtk

Also try to install transmission-daemon

~$ sudo apt-get install transmission-daemon

reboot and see if problem solved.

libminiupnpc.so.8 is the correct library. Newer versions of transmission should ask for this library and not libminiupnpc.so.5 . This is required library for transmission-daemon package.

If nothing of above works , then purge transmission again and try to install from PPA.

Purge
~$ sudo apt-get purge transmission-*
~$ rm -r .config/transmission
~$ rm -r .cache/transmission

Install from PPA
~$ sudo add-apt-repository ppa:transmissionbt/ppa
~$ sudo apt-get update
~$ sudo apt-get install transmission transmission-gtk transmission-daemon

Thanks

Revision history for this message
henrym12 (henrym12) said :
#7

I had ver 2.5.1 and now i have ver 2.7.2 installed. There was one error during the purge: E: Unable to locate package transmission-unity-launcher.
Also. I got one error from the install: * Starting bittorrent daemon transmission-daemon [18:20:46.495] Couldn't read "/home/media1/.config/user-dirs.dirs": Permission denied
Going to reboot again to see what happens. One more note I am using the 64bit version.

Thanks again for all of your time and help.

Revision history for this message
henrym12 (henrym12) said :
#8

Here is a cut and paste after running transmission and apt-cache policy transmission-gtk. I looks like to me that some of the old file are not being updated unless im reading it wrong and its a history of the package.

transmission-gtk
transmission-gtk: error while loading shared libraries: libminiupnpc.so.5: cannot open shared object file: No such file or directory
apt-cache policy transmission-gtk
transmission-gtk:
  Installed: 2.72-0ubuntu0.12.04.1
  Candidate: 2.72-0ubuntu0.12.04.1
  Version table:
 *** 2.72-0ubuntu0.12.04.1 0
        500 http://ppa.launchpad.net/transmissionbt/ppa/ubuntu/ precise/main amd64 Packages
        100 /var/lib/dpkg/status
     2.51-0ubuntu1.1 0
        500 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu/ precise-security/main amd64 Packages
     2.51-0ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#9

OK , as a last effort , try to install the libminiupnpc-dev package. This package not needed , is for developers , but maybe correct the problem.

~$ sudo apt-get install libminiupnpc-dev

If problem not solved , I suggest to close this question and open a bug report. Probably the problem created during the release (Ubuntu) upgrade.

A workaround here might be to "give" to transmission the library libminiupnpc.so.5 it needs . (try it)

~$ sudo touch /usr/lib/libminiupnpc.so.5
~$ sudo ln -s /usr/lib/libminiupnpc.so.8 /usr/lib/libminiupnpc.so.5

The second command creates a soft link so the libminiupnpc.so.5 points to the real library libminiupnpc.so.8 , because libminiupnpc.so.5 is just a trick.

You have to keep in mind that if you decide to open a bug you have to revert the transmission to the original state .
So , remove transmission and the PPA and reinstall transmission.
~$ sudo apt-get remove --purge transmission-*
~$ sudo apt-get install ppa-purge
~$ sudo ppa-purge ppa:transmissionbt/ppa
~$ sudo apt-get update
~$ sudo apt-get install transmission-gtk

Thanks

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#10

If you right click a torrent file and select 'open with...' then you can select the transmision app then tell the OS to remember the pairing.

If that is no god, try removing the PPA you added and install the transmission from the Ubuntu repo. Is that better?

Revision history for this message
Rajinder Sandhu (sandy744) said :
#11

else try deluge that should work fine... had been using deluge for years now..
sudo apt-get install deluge
and download all your torrent files through deluge,
Thanks
Rajinder

Revision history for this message
henrym12 (henrym12) said :
#12

The libminiupnpc-dev package was installed and there was no change so now I just going to revert to the Ubuntu version. Also, I have set Transmission as default and when I click on open with Transmission nothing happens. I did try Deluge for a while and it did work but the GF did not like it one bit and I could not set the upload to 0 when I need too. :(

Thanks to everyone for all of your help,
Henrym12

Revision history for this message
henrym12 (henrym12) said :
#13

After removing transmission with apt-get and purged ppa I still can run transmission-gtk and get and error: transmission-gtk: error while loading shared libraries: libminiupnpc.so.5: cannot open shared object file: No such file or directory. So I think at one time I did a source install and somehow its still installed. I have run find / transmission* and find ./ transmission* and cannot find anymore files to remove. Now I am going to try to search the path but I figure that find did that too. So at this time I have done all of the uninstall comands above and still get the error and not the error of file not found that I expect to get. What am I doing wrong why can't I purge it all. I also got the last 3 sources and did a make uninstall to see if that would do the trick but nothing has worked.

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#14

I would suggested to convert the question to a bug , but in my installation (same as yours) transmission works without problems.
And of course I have not the libminiupnpc.so.5 file , I have the updated libminiupnpc.so.8 .

Have you tried the trick with soft links ?

Try this to purge transmission completely

~$ sudo apt-get autoremove --purge transmission*
~$ sudo apt-get purge $(dpkg -l | awk '/^rc/ { print $2 }')

then give this command for any leftovers

~$ locate transmission

Thanks

Revision history for this message
henrym12 (henrym12) said :
#15

Well after all that and 314 removed files later I get this from locate transmission:

/etc/apt/sources.list.d/transmissionbt-ppa-precise.list
/home/media1/.cache/software-center/download-cache/screenshots.ubuntu.com_screenshot-with-version_transmission-gtk_2.51-0ubuntu1.1
/home/media1/.cache/software-center/piston-helper/rec.ubuntu.com,api,1.0,recommend_app,transmission-gtk,,d60908e67d6646ab09ec08142708fcbc
/home/media1/.cache/software-center/piston-helper/rec.ubuntu.com,api,1.0,recommend_app,transmission-gtk,,f155d99d757e52c0a957986a55d5825f
/home/media1/.cache/software-center/rnrclient/reviews.ubuntu.com,reviews,api,1.0,reviews,filter,en,ubuntu,precise,any,transmission-gtk,page,1,helpful,,39601c26c0cad92d6377e16d32a0f510
/home/media1/.local/share/Trash/info/transmission-gtk.2.desktop.trashinfo
/home/media1/.local/share/Trash/info/transmission-gtk.desktop.trashinfo
/home/media1/Downloads/transmission-2.71
/home/media1/Downloads/transmission-2.71.tar.bz2
/home/media1/Downloads/transmission-2.72
/home/media1/Downloads/transmission-2.72.tar.bz2
/home/media1/Downloads/transmission-2.73
/home/media1/Downloads/transmission-2.73.tar.bz2
/home/media1/Downloads/Packages/transmission-2.52.tar.bz2
/usr/local/bin/transmission-gtk
/usr/local/bin/transmission-unity-launcher.py
/usr/local/share/applications/transmission-gtk.desktop
/usr/local/share/icons/hicolor/16x16/apps/transmission.png
/usr/local/share/icons/hicolor/22x22/apps/transmission.png
/usr/local/share/icons/hicolor/24x24/apps/transmission.png
/usr/local/share/icons/hicolor/256x256/apps/transmission.png
/usr/local/share/icons/hicolor/32x32/apps/transmission.png
/usr/local/share/icons/hicolor/48x48/apps/transmission.png
/usr/local/share/icons/hicolor/scalable/apps/transmission.svg
/usr/local/share/locale/an/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/ar/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/ast/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/az/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/be/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/be@latin/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/bg/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/bn/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/bo/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/br/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/bs/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/ca/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/ca@valencia/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/ceb/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/ckb/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/cs/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/da/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/de/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/el/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/en_AU/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/en_CA/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/en_GB/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/eo/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/es/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/et/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/eu/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/fa/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/fi/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/fil/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/fo/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/fr/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/ga/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/gl/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/gv/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/he/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/hi/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/hr/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/hu/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/hy/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/ia/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/id/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/is/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/it/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/ja/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/ka/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/kk/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/ko/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/ku/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/li/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/lt/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/lv/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/mk/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/ml/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/mr/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/ms/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/mt/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/nb/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/nds/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/nl/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/nn/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/oc/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/pa/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/pl/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/pt/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/pt_BR/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/ro/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/ru/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/si/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/sk/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/sl/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/sq/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/sr/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/sv/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/ta_LK/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/te/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/th/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/tl/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/tr/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/ug/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/uk/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/ur/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/uz/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/vi/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/zh_CN/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/locale/zh_TW/LC_MESSAGES/transmission-gtk.mo
/usr/local/share/man/man1/transmission-gtk.1
/usr/local/share/pixmaps/transmission.png
/usr/share/app-install/icons/transmission.png
/usr/share/bleachbit/cleaners/transmission.xml
/usr/share/dockmanager/metadata/transmission_badge.py.info
/usr/share/dockmanager/scripts/transmission_badge.py
/usr/share/icons/Humanity/status/16/transmission-tray-icon.svg
/usr/share/icons/Humanity/status/22/transmission-tray-icon.svg
/usr/share/icons/Humanity/status/24/transmission-tray-icon.svg
/usr/share/icons/Humanity-Dark/status/16/transmission-tray-icon.svg
/usr/share/icons/Humanity-Dark/status/22/transmission-tray-icon.svg
/usr/share/icons/Humanity-Dark/status/24/transmission-tray-icon.svg
/usr/share/icons/ubuntu-mono-dark/apps/16/transmission-tray-icon.svg
/usr/share/icons/ubuntu-mono-dark/apps/22/transmission-tray-icon.svg
/usr/share/icons/ubuntu-mono-dark/apps/24/transmission-tray-icon.svg
/usr/share/icons/ubuntu-mono-light/apps/16/transmission-tray-icon.svg
/usr/share/icons/ubuntu-mono-light/apps/22/transmission-tray-icon.svg
/usr/share/icons/ubuntu-mono-light/apps/24/transmission-tray-icon.svg
/usr/share/locale-langpack/en_AU/LC_MESSAGES/transmission-gtk.mo
/usr/share/locale-langpack/en_CA/LC_MESSAGES/transmission-gtk.mo
/usr/share/locale-langpack/en_GB/LC_MESSAGES/transmission-gtk.mo
/var/cache/apt/archives/transmission-common_2.51-0ubuntu1.1_all.deb
/var/cache/apt/archives/transmission-gtk_2.51-0ubuntu1.1_amd64.deb

Also, I still get the same error message but only from my home folder and not from /. I did remove all the transmission files from Downloads before running locate transmission. I don't know but I do think that I broke it and its not a bug but who am I to say.

Thank you

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#16

Can you give the output of:

sudo updatedb; locate libminiupnpc

Also, did you compile transmission?

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#17

Yes , after the purge , you have to use the

~$ sudo updatedb

command first and then

~$ locate transmission

Give the results @andrew requested.

Thanks

Revision history for this message
henrym12 (henrym12) said :
#18

After looking at my last post for a while I found the two files:

/usr/local/bin/transmission-gtk
/usr/local/bin/transmission-unity-launcher.py

Then after removeing them I got the error file not found would you like to install transmission-gtk and everything is working great now. I did compile transmission at one time and I guess installed transmission-unity-launcher.py because it was there caused most of my problems do to that file was only to be used on Ubuntu 11.04 and got left behind after all my distro upgrades.

BTW that command was great in cleaning up my file: sudo apt-get purge $(dpkg -l | awk '/^rc/ { print $2 }'). I will have to break it down to know whats going on with the | to awk...

It was nice working on the prompt again I can see how rusty I am. :)

Here is the output from sudo updatedb; locate libminiupnpc:

/usr/lib/libminiupnpc.a
/usr/lib/libminiupnpc.so
/usr/lib/libminiupnpc.so.8
/usr/share/doc/libminiupnpc-dev
/usr/share/doc/libminiupnpc8
/usr/share/doc/libminiupnpc-dev/changelog.Debian.gz
/usr/share/doc/libminiupnpc-dev/copyright
/usr/share/doc/libminiupnpc8/changelog.Debian.gz
/usr/share/doc/libminiupnpc8/copyright
/var/lib/dpkg/info/libminiupnpc-dev.list
/var/lib/dpkg/info/libminiupnpc-dev.md5sums
/var/lib/dpkg/info/libminiupnpc8.list
/var/lib/dpkg/info/libminiupnpc8.md5sums
/var/lib/dpkg/info/libminiupnpc8.postinst
/var/lib/dpkg/info/libminiupnpc8.postrm
/var/lib/dpkg/info/libminiupnpc8.shlibs
/var/lib/dpkg/info/libminiupnpc8.symbols

A lot of good info, I will be looking foward to applying it to other problems I come across.

Thank you

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#19

Hooray !!!

Glad you solved.