Package: borgbackup2
Version: 2.0.0b20-5
Severity: important
X-Debbugs-Cc: [email protected]

Dear Maintainer,

I was trying to do a routine backup with borgbackup2, using a simple script. It
failed immediately, with the error below. (I'm not worried about y'all seeing
my directory structure.) Usually it would prompt me for a password, but it
didn't get to that point.

I also have borgbackup-is-borgbackup2 installed.

It doesn't look like borgbackup2 has been updated since the last time I
successfully used it, about two weeks ago.


Local Exception

Error:

TypeError: Store.__init__() got an unexpected keyword argument 'levels'

If reporting bugs, please include the following:

Traceback (most recent call last):
  File "/usr/lib/borgbackup2/borg/archiver/__init__.py", line 669, in main
    exit_code = archiver.run(args)
  File "/usr/lib/borgbackup2/borg/archiver/__init__.py", line 546, in run
    rc = func(args)
  File "/usr/lib/borgbackup2/borg/archiver/_common.py", line 110, in wrapper
    repository = get_repository(
        location,
    ...<5 lines>...
        v1_or_v2=False,
    )
  File "/usr/lib/borgbackup2/borg/archiver/_common.py", line 43, in
get_repository
    repository = Repository(location, create=create, exclusive=exclusive,
lock_wait=lock_wait, lock=lock)
  File "/usr/lib/borgbackup2/borg/repository.py", line 161, in __init__
    self.store = Store(url, levels=levels_config, permissions=permissions)
                 ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Store.__init__() got an unexpected keyword argument 'levels'

Platform: Linux rosa 7.0.12+deb14.1-amd64 #1 SMP PREEMPT_DYNAMIC Debian
7.0.12-2 (2026-06-12) x86_64
Linux: Unknown Linux
Borg: 2.0.0b20  Python: CPython 3.13.14 msgpack: 1.1.2 fuse: pyfuse3 3.4.0
[mfusepy,pyfuse3,llfuse]
PID: 42353  CWD: /home/brian
sys.argv: ['/usr/bin/borg', '-r', '/run/media/brian/BackupHD/rosa', 'create', '
--progress', '--stats', 'backup', '/home/brian/.KeePass', '/home/brian/bin',
'/home/brian/Desktop', '/home/brian/Documents', '/home/brian/Library',
'/home/brian/Music', '/home/brian/Pictures', '/home/brian/projects',
'/home/brian/Public', '/home/brian/Sync', '/home/brian/Templates',
'/home/brian/Videos']
SSH_ORIGINAL_COMMAND: None


-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 7.0.12+deb14.1-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages borgbackup2 depends on:
ii  libacl1               2.3.2-3
ii  libc6                 2.42-16
ii  liblz4-1              1.10.0-10
ii  libssl3t64            3.6.3-1
ii  libxxhash0            0.8.3-2+b2
ii  libzstd1              1.5.7+dfsg-3+b2
ii  python3               3.13.9-3+b1
ii  python3-argon2        25.1.0-3
ii  python3-borghash      0.1.1-2
ii  python3-borgstore     0.5.1-2
ii  python3-msgpack       1.1.2-2
ii  python3-packaging     26.2-1
ii  python3-platformdirs  4.10.0-1
ii  python3-shtab         1.8.0-1

Versions of packages borgbackup2 recommends:
ii  fuse3            3.18.2-2
ii  python3-pyfuse3  3.4.0-3+b4

Versions of packages borgbackup2 suggests:
ii  borgbackup2-doc  2.0.0b20-5

-- no debconf information

Reply via email to