Skip to content

tklbam error #2059

@DocCyblade

Description

@DocCyblade

Hello! Long time user been a long time since last bug report!

Fresh install of turnkey-nodejs-18.0-bookworm-amd64 Setup my tklbam and tried to do a backup and get the below error

Comparing current system state to the base state in the backup profile
----------------------------------------------------------------------

Save list of new packages:

  cat > /TKLBAM/newpkgs << EOF 
  linux-image-6.1.0-38-amd64
  EOF

Traceback (most recent call last):
  File "/usr/bin/tklbam-backup", line 510, in <module>
    main()
  File "/usr/bin/tklbam-backup", line 443, in main
    opt_resume, True, dump_path if dump_path else "/")
  File "/usr/lib/tklbam/backup.py", line 237, in __init__
    self._create_extras(extras_paths, profile_paths, backup_conf)
  File "/usr/lib/tklbam/backup.py", line 175, in _create_extras
    conf.overrides.fs)
  File "/usr/lib/tklbam/backup.py", line 111, in _write_whatchanged
    changes = whatchanged(dirindex, paths)
  File "/usr/lib/tklbam/changes.py", line 258, in whatchanged
    di_saved = DirIndex(di_path)
  File "/usr/lib/tklbam/dirindex.py", line 89, in __init__
    rec = DirIndex.Record.fromline(line)
  File "/usr/lib/tklbam/dirindex.py", line 51, in fromline
    raise Error("bad index record: " + line)
dirindex.Error: bad index record: /opt/node-examples/practicalnode/chapter1/media/Homebrew Install On Request Events

Looks like there is a bad file here /opt/node-examples/practicalnode/chapter1/media/

Removed the file but it still errors out.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions