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
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
Solution:
umount -l /usr && wget https://git.blendos.co/blendOS/system-tools/akshara/-/raw/main/akshara && sudo mv ./akshara /usr/bin/akshara
umount -l /usr && wget https://git.blendos.co/blendOS/system-tools/akshara/-/raw/main/akshara && sudo mv ./akshara /usr/bin/akshara
...
Jump to solution
3 Replies
Asterisk
Asterisk2mo ago
did it finish though try manually updating akshara
Solution
Asterisk
Asterisk2mo ago
umount -l /usr && wget https://git.blendos.co/blendOS/system-tools/akshara/-/raw/main/akshara && sudo mv ./akshara /usr/bin/akshara
umount -l /usr && wget https://git.blendos.co/blendOS/system-tools/akshara/-/raw/main/akshara && sudo mv ./akshara /usr/bin/akshara
Asterisk
Asterisk2mo ago
then try to update again
Want results from more Discord servers?
Add your server