Page MenuHomeSolus

Backups (Duplicity) error
Closed, ResolvedPublic


-setup up test to backup to local NAS

  • received error message "Backup Failed - Could not understand Duplicity Version"
  • Message popup when starting manual backup.

System: Host: black1 Kernel: 4.13.5-24.current x86_64 bits: 64

Desktop: Budgie 10.4  Distro: Solus 3

Machine: Device: laptop System: Dell product: Latitude E5430 non-vPro v: 01 serial: N/A

Mobo: Dell model: N/A serial: N/A
UEFI: Dell v: A12 date: 08/07/2013

Battery BAT0: charge: 15.3 Wh 29.2% condition: 52.5/62.2 Wh (85%)
CPU: Dual core Intel Core i3-3110M (-HT-MCP-) cache: 3072 KB

clock speeds: max: 2400 MHz 1: 2392 MHz 2: 2392 MHz
3: 2392 MHz 4: 2392 MHz

Graphics: Card: Intel 3rd Gen Core processor Graphics Controller

Display Server: x11 (X.Org 1.18.4 )
drivers: modesetting (unloaded: fbdev,vesa)
Resolution: 1366x768@59.99hz
OpenGL: renderer: Mesa DRI Intel Ivybridge Mobile
version: 4.2 Mesa 17.2.2

Audio: Card Intel 7 Series/C216 Family High Def. Audio Controller

driver: snd_hda_intel
Sound: ALSA v: k4.13.5-24.current

Network: Card-1: Intel Centrino Advanced-N 6205 [Taylor Peak]

driver: iwlwifi
IF: wlp2s0 state: up mac: a4:4e:31:16:98:00
Card-2: Broadcom Limited NetXtreme BCM5761 Gigabit Ethernet PCIe
driver: tg3
IF: enp12s0 state: down mac: f0:1f:af:36:f5:84

Drives: HDD Total Size: 320.1GB (12.6% used)

ID-1: /dev/sda model: HGST_HTS725032A7 size: 320.1GB

Partition: ID-1: / size: 289G used: 38G (14%) fs: ext4 dev: /dev/dm-2
Sensors: None detected - is lm-sensors installed and configured?
Info: Processes: 216 Uptime: 56 min Memory: 2149.2/3826.7MB

Client: Shell (bash) inxi: 2.3.38

Event Timeline

what's the output of duplicity --version ?

sudo duplicity --version

Traceback (most recent call last):

File "/usr/bin/duplicity", line 42, in <module>
  import fasteners

ImportError: No module named fasteners

kyrios123 added a comment.EditedOct 14 2017, 5:42 PM

Looks like some dependencies are missing like this one for example.

I might have a look at it during the following days if nobody else do it in the meantime.

  • I hope this is how you check a package? I am still new to eopkg

sudo eopkg check duplicity
Checking integrity of duplicity OK

  • Please advise how I can assist

You can't assist. Someone has to review the package.
I might be wrong but I have the impression that it was only used as a dependency of deja-dup (R609) but not as a stand-alone version.

olivir added a subscriber: olivir.Oct 15 2017, 10:47 AM

@krios123 this is now about two years old is there any work around?

@marxistvegan 2 years old ? The problem was reported yesterday and patch is submitted today.

@kyrios123 my apologies I misread it completely... thanks

oft added a subscriber: oft.Oct 15 2017, 7:02 PM

@kyrios123 It looks like duplicity is still missing the python-monotonic dependency? Duplicity was still crashing for me. Installing python-monotonic solved it

@kyrios123 It looks like duplicity is still missing the python-monotonic dependency? Duplicity was still crashing for me. Installing python-monotonic solved it

Nope it is not I did replace python-lockfile by python-fasteners in this commit 85cd57e5e0b4 and as you can see here python-monotonic is a dependency of python-fasteners so when you install duplicity, the magic happen as you can see on the screenshot

@kyrios123 Thanks for the clarification. Looks like I've build and installed python-fasteners locally myself to fix this. And then the new package you have added wasn't installed. Sorry for the confusion