Package: electrum
Version: 2.5.1-1
Severity: important
Tags: patch

Dear Maintainer,

The electrum 2.5.1-1 deb is missing a dependency on python-qt4.  When I
install it and run "electrum", it says this then fails with exit code 1:

> Error: Could not import PyQt4 on Linux systems, you may try 'sudo apt-get 
> install python-qt4'

If i manually install python-qt4 it starts up just fine.

I'm not sure why ${python:Depends} didnt pick it up.  I manually added
python-qt4 to the Depends line and now it's fine.

Patch attached.


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.2.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages electrum depends on:
ii  python           2.7.9-1
ii  python-electrum  2.5.1-1
pn  python:any       <none>

electrum recommends no packages.

Versions of packages electrum suggests:
pn  python-btchip  <none>
pn  python-trezor  <none>

-- no debconf information
diff --git a/debian/control b/debian/control
index d13f556..dddb2b3 100644
--- a/debian/control
+++ b/debian/control
@@ -38,6 +38,7 @@ Package: electrum
 Architecture: all
 Depends: ${misc:Depends},
  ${python:Depends},
+ python-qt4,
  python-electrum (= ${binary:Version})
 Suggests: python-trezor, python-btchip
 Description: Easy to use Bitcoin client

Reply via email to