Re: CentOS/Rocky 9 Installation Err - B2 and Duplicity

"edgar.soldin--- via Duplicity-talk" <[email protected]>
Newsgroups gmane.comp.sysutils.backup.duplicity.general
Message-ID <[email protected]>
hey MRob,

answers inline

On 14.02.2025 10:20, MRob via Duplicity-talk wrote:
> b2sdk 2.8.0
> b2 4.3.0
> duplicity 0.8.23

this is a very outdated unmaintained version of duplicity. consider upgrading using python venv or the like.

> On 2025-02-14 08:52, MRob via Duplicity-talk wrote:
>> Hellos, sorry for another question maybe you'd had before. I tried so hard searching web for my answer but it's many conflicting opionions, but nothing that work.
>>
>> On CentOS 9 flavor, I want to install: Duplicity, B2, par2 so I can migrate from older CentOS
>>
>> dnf install python3-pip duplicity par2cmdline
>> pip install b2 b2sdk
>>
>> All good? When running duplicity, error comes:
>> BackendException: Could not initialize backend: No module named 'b2sdk'
>>
>> I see b2sdk in /usr/local/lib/python3.9/site-packages/b2sdk
>>
>> Why cannot duplicity see b2sdk?
>> Advance thank!

probably the same issue as
  https://gitlab.com/duplicity/duplicity/-/issues/833

duplicity 3.0.2 contains a fix that will at least allow you to pinpoint the underlying issue. if it is the same issue you may try the workaround mentioned here
  https://gitlab.com/duplicity/duplicity/-/issues/833#note_2022152464

if you are stuck with your ancient duplicity version you may apply this patch manually
  https://gitlab.com/duplicity/duplicity/-/merge_requests/250/diffs
and `duplicity -v9 ...` should output the issue for b2sdk failing to import.

good luck ..ede/duply.net

_______________________________________________
Duplicity-talk mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/duplicity-talk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.