Package: weresync
Version: 1.0.9-2
Severity: normal
Tags: patch
Dear Maintainer,
When attempting to run weresync, it fails if python3-distutils is
missing.
$ sudo weresync
Traceback (most recent call last):
File "/usr/sbin/weresync", line 33, in <module>
sys.exit(load_entry_point('WereSync==1.0.9', 'console_scripts',
'weresync')())
File "/usr/share/weresync/weresync/interface.py", line 364, in main
import weresync.plugins as plugins
File "/usr/share/weresync/weresync/plugins/__init__.py", line 29, in
<module>
from distutils.sysconfig import get_python_lib
ModuleNotFoundError: No module named 'distutils.sysconfig'
The attached patch adds this as a dependency.
(Originally reported in
https://bugs.launchpad.net/ubuntu/+source/weresync/+bug/1957826)
-- System Information:
Debian Release: bookworm/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 5.16.0-1-amd64 (SMP w/3 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages weresync depends on:
ii fdisk 2.37.3-1+b1
ii python3 3.9.8-1
ii python3-gi 3.42.0-3
ii python3-parse 1.19.0-0.2
ii python3-yapsy 1.12.0-1.3
ii util-linux 2.37.3-1+b1
weresync recommends no packages.
Versions of packages weresync suggests:
pn weresync-doc <none>
-- no debconf information
--
mvh / best regards
Hans Joachim Desserud
http://desserud.org
diff --git a/debian/control b/debian/control
index c50147f..85cfa59 100644
--- a/debian/control
+++ b/debian/control
@@ -22,6 +22,7 @@ Vcs-Browser: https://salsa.debian.org/python-team/packages/weresync
Package: weresync
Architecture: all
Depends:
+ python3-distutils,
python3-gi,
fdisk | util-linux (<< 2.29.2-3~),
${misc:Depends},