Pages:
Author

Topic: How do I upgrade Electrum to the latest version? (Read 365 times)

HCP
legendary
Activity: 2086
Merit: 4361
... I ran the appimage and it executed correctly but I was unable to find a menu item to run Electrum.
If the appimage works, then do as Abdussamad suggested and simply continue to use that... It will save you a lot of time and mucking around trying to troubleshoot dependencies.

Now it seems that your issue is simply that you don't have a menu item for launching Electrum... or, more correctly, the menu item you do have doesn't work... Again, Abdussamad's suggestion is the one to follow. Uninstall the non-working Electrum... and then create a new shortcut for the AppImage.
legendary
Activity: 3682
Merit: 1580
Stop listening to the other guy. You can manually create a shortcut to run electrum. A shortcut pointing to the appimage. Lookup how to create shortcuts using your desktop environment. Gnome is it?

To remove the other shortcut i.e. the one to the non-functional electrum install do `sudo pip3 uninstall electrum`
newbie
Activity: 12
Merit: 4
Forgive me, but I believe I did say in an earlier post that I ran the appimage and it executed correctly but I was unable to find a menu item to run Electrum.  Then someone suggested I run 'Electrum' from the terminal to get any error messages which I did and posted.

So, thank you for your suggestion, I did try it, do you have any further advice?
legendary
Activity: 3682
Merit: 1580
Listen man I've already explained above that pyqt5 is compiled against the version of python that came with ubuntu not the one you recently installed from source. Just use the app image and save yourself this headache. You keep asking for help but don't read what we write.
newbie
Activity: 12
Merit: 4
Tried the suggestion re running Electrum in the terminal.  Got:

Error: Could not import PyQt5 on Linux systems, you may try 'sudo apt-get install python3-pyqt5'

OK, so tried to run that command and got:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
python3-pyqt5 is already the newest version (5.5.1+dfsg-3ubuntu4).
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.

This is insane!  Is it installed or not?

Please, any help will be appreciated as upgrading to 18.04 right now would be difficult.

Thank you.


legendary
Activity: 3682
Merit: 1580
Tried your suggestions, thank you.  Got good and bad.

The good is that everything seemed to run without any critical errors.  And it created a menu entry.

The bad is that clicking on that menu entry didn't do anything.

The path for the menu shortcut is:  sh -c "PATH=\"\$HOME/.local/bin:\$PATH\" electrum %u"

Any other suggestions will be appreciated.  (Other than switching to another distribution, which is a bit too extreme for me.)

BTW, I am considering upgrading to Ubuntu 18.04 LTS.  If I do so, will this problem go away?  If so, I might move my upgrade schedule up a bit.

Thank you.

run it in a terminal and you'll get informative error messages. just open a terminal and type "electrum" or "$HOME/.local/bin/electrum". most likely it'll complain about pyqt5 being missing.
legendary
Activity: 3374
Merit: 3095
Playbet.io - Crypto Casino and Sportsbook
BTW, I am considering upgrading to Ubuntu 18.04 LTS.  If I do so, will this problem go away?  If so, I might move my upgrade schedule up a bit.

What Ubuntu version you have? is it the 16.04 version?

I heard many Electrum user's experienced the same problem as yours but I don't find someone success in upgrading their wallet to the latest version in lower version.

If you have seed backup why not upgrade your Ubuntu to 18.04 version it might solve your issue.

I don't have much knowledge about Linux but check this below it might help you install the latest Electrum.
-Install electrum 3.3.4 wallet ubuntu 16.04 / 18.04
newbie
Activity: 12
Merit: 4
Tried your suggestions, thank you.  Got good and bad.

The good is that everything seemed to run without any critical errors.  And it created a menu entry.

The bad is that clicking on that menu entry didn't do anything.

The path for the menu shortcut is:  sh -c "PATH=\"\$HOME/.local/bin:\$PATH\" electrum %u"

Any other suggestions will be appreciated.  (Other than switching to another distribution, which is a bit too extreme for me.)

BTW, I am considering upgrading to Ubuntu 18.04 LTS.  If I do so, will this problem go away?  If so, I might move my upgrade schedule up a bit.

Thank you.
legendary
Activity: 3682
Merit: 1580
Because he's installing from source he will have a hard time keeping up with updates to python. It is better to stick to the software in your distro's repository, use the app image or switch to a distro that has newer packages. We don't install from source anymore for a reason - it becomes harder to maintain the system.

edit: see this.
full member
Activity: 340
Merit: 164
pyqt5 will not be compiled against that version of python so he'll have to build that from source as well. in the process he's screwed up his system. non of these are packaged so keeping up with updates will be a pain.

it would be better if he just used the app image or upgraded to a distro that has python 3.6 like opensuse leap.

He is on Ubuntu so i am trying to guide him thruw with the distro he has
legendary
Activity: 3682
Merit: 1580
pyqt5 will not be compiled against that version of python so he'll have to build that from source as well. in the process he's screwed up his system. non of these are packaged so keeping up with updates will be a pain.

it would be better if he just used the app image or upgraded to a distro that has python 3.6 like opensuse leap.
full member
Activity: 340
Merit: 164
Thank you for the detailed instructions.  As nearly as I can tell, all went well until a dialog box popped up which said:

Sorry, the application regrtest.py has stopped unexpectedly

The details took several hundred lines of text and I was unable to copy more than one line at a time, so didn't make a record of them

The terminal continued to run, however, and seemed to finish without errors so I ran the last line and it also executed without error.

But the menu entry that I have for Electrum won't run the program.  How do I start it?

Thank you again for your help.


The errors are normal and should not give you any problems.

Now download the latest Electrum versoin if you have not already done so and in the same directory try this command:

Code:
sudo python3.7 -m pip install --user Electrum-3.3.4.tar.gz

Let me know what this does.

newbie
Activity: 12
Merit: 4
Thank you for the detailed instructions.  As nearly as I can tell, all went well until a dialog box popped up which said:

Sorry, the application regrtest.py has stopped unexpectedly

The details took several hundred lines of text and I was unable to copy more than one line at a time, so didn't make a record of them

The terminal continued to run, however, and seemed to finish without errors so I ran the last line and it also executed without error.

But the menu entry that I have for Electrum won't run the program.  How do I start it?

Thank you again for your help.
full member
Activity: 340
Merit: 164
Re one of the other posts:

When I entered:  pip install --upgrade pip

I got:
Traceback (most recent call last):
  File "/usr/local/bin/pip", line 7, in
    from pip._internal import main

How do I upgrade to Python3.7.1?  I have been trying to do that ever since this fiasco started!

Thank you for any additional advice you can offer.

Do these commands:

Code:
sudo apt update
sudo apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev wget
cd /tmp
wget https://www.python.org/ftp/python/3.7.2/Python-3.7.2.tar.xz
tar -xf Python-3.7.2.tar.xz
cd Python-3.7.2
./configure --enable-optimizations
make -j 1
sudo make altinstall

Each line is a command. Use sudo for every command if you are not root user.

Let me know if this worked.
newbie
Activity: 12
Merit: 4
Re one of the other posts:

When I entered:  pip install --upgrade pip

I got:
Traceback (most recent call last):
  File "/usr/local/bin/pip", line 7, in
    from pip._internal import main

How do I upgrade to Python3.7.1?  I have been trying to do that ever since this fiasco started!

Thank you for any additional advice you can offer.
newbie
Activity: 12
Merit: 4
Thank you for all your suggestions.

I tried to purge python completely from my system to force a new download.  Then I ran the installation sequence again.

'sudo apt-get install python3-pyqt5' got me the statement: 
python3-pyqt5 is already the newest version (5.5.1+dfsg-3ubuntu4).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

'sudo apt-get install python3-setuptools python3-pip' got me: 
python3-setuptools is already the newest version (20.7.0-1).
python3-pip is already the newest version (8.1.1-2ubuntu0.4).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

'python3 -m pip install --user Electrum-3.3.4.tar.gz[fast]' got me:
Error: Electrum requires Python version >= 3.6.1...
   
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-h3ldhd_z-build/
You are using pip version 8.1.1, however version 19.0.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

So I ran 'python' and got: Python 2.7.12 (default, Nov 12 2018, 14:36:49)
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.

So I assume I must download a later version. Tried:
sudo apt-get update
sudo apt-get upgrade
sudo pip install --upgrade pip
and got:

Traceback (most recent call last):
  File "/usr/local/bin/pip", line 7, in
    from pip._internal import main
ImportError: No module named pip._internal

I am running Ubuntu 16.04 as mentioned in my original post.

Can someone tell me how to import ThomasV's key?  When I click on the link, all I get is a large ASCII page of meaningless characters.

As far as the Appimage is concerned, I ran it and got no errors, but nothing happened and my copy of Electrum still will not connect.

Thank you, any help you can offer will be greatly appreciated.
legendary
Activity: 3682
Merit: 1580
PGP public key changed some time ago, you can find it at https://raw.githubusercontent.com/spesmilo/electrum/master/pubkeys/ThomasV.asc or https://electrum.org/#download.
It should have fingerprint 9914 864D FC33 499C 6CA2 BEEA 2245 3004 6955 06FD with username "Animazing <[email protected]>"



The error message mention you have outdated python and pip, so you should try upgrade both of them with command

Code:
sudo apt-get update
sudo apt-get upgrade
sudo pip install --upgrade pip

Animazing no longer signs releases. That file thomasv.asc may install both Thomas' key and Animazings but animazing no longer signs releases. He used to years ago. Thomas' key's fingerprint is: 6694 D8DE 7BE8 EE56 31BE  D950 2BD5 824B 7F94 70E6 and it is used to sign releases.

He won't be able to upgrade python on this system since his distro doesn't offer a newer version. Best he use the appimage like i said above.
legendary
Activity: 3682
Merit: 1580
See under linux here. This'll download, verify and "install" (make executable) the appimage version which should work on any 64bit linux system.
copper member
Activity: 2338
Merit: 4543
Join the world-leading crypto sportsbook NOW!
Try adding "sudo" to your command.

But to be honest I would not continue without verifying the signature first.  I'm not familiar enough with PGP on linux machines to coach you through adding ThomasV's public key, but if I'm not mistaken that's what you need to do to get the signature to verify.

 

He already did that

I see that now, thanks.
full member
Activity: 340
Merit: 164
Try adding "sudo" to your command.

But to be honest I would not continue without verifying the signature first.  I'm not familiar enough with PGP on linux machines to coach you through adding ThomasV's public key, but if I'm not mistaken that's what you need to do to get the signature to verify.

 

He already did that
Pages:
Jump to: