blendOSb
blendOS2y ago
5 replies
otsegolo

Akshara TypeError when updating

I usually update every couple of days, but I haven't been on my computer in a while, but when I try to update it gives the attatched output, though the main error is:
Traceback (most recent call last):
  File "/usr/bin/akshara", line 489, in <module>
    command()
  File "/usr/bin/akshara", line 295, in update_system
    return_val = exec_chroot('pacman', '-S', '--ask=4', *packages)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/bin/akshara", line 82, in exec_chroot
    ret = exec('arch-chroot', '/.new_rootfs', *cmd, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/bin/akshara", line 77, in exec
    return subprocess.call(cmd, shell=False, stdout=sys.stdout, stderr=sys.stderr, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/subprocess.py", line 389, in call
    with Popen(*popenargs, **kwargs) as p:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/subprocess.py", line 1026, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.12/subprocess.py", line 1885, in _execute_child
    self.pid = _fork_exec(
               ^^^^^^^^^^^
TypeError: expected str, bytes or os.PathLike object, not NoneType
message.txt16.32KB
Solution
umount -l /usr && wget https://git.blendos.co/blendOS/system-tools/akshara/-/raw/main/akshara && sudo mv ./akshara /usr/bin/akshara
Was this page helpful?