TypeError when running pmbootstrap install
Command:
pmbootstrap install --sdcard=/dev/block/mmcblk0
Log:
(005095) [22:44:26] Calculate depends of packages ['postmarketos-mkinitfs'], arch: armhf
(005095) [22:44:26] ERROR: 'NoneType' object is not subscriptable
(005095) [22:44:26] Run 'pmbootstrap log' for details.
(005095) [22:44:26] See also: <https://postmarketos.org/troubleshooting>
(005095) [22:44:26] Traceback (most recent call last):
File "./pmbootstrap.py", line 53, in main
getattr(pmb.helpers.frontend, args.action)(args)
File "/home/ata/Softwares/pmbootstrap/pmb/helpers/frontend.py", line 73, ininstall
pmb.install.install(args)
File "/home/ata/Softwares/pmbootstrap/pmb/install/install.py", line 107, ininstall
pmb.chroot.initfs.build(args, flavor, suffix)
File "/home/ata/Softwares/pmbootstrap/pmb/chroot/initfs.py", line 29, in build
pmb.chroot.apk.install(args, ["postmarketos-mkinitfs"], suffix)
File "/home/ata/Softwares/pmbootstrap/pmb/chroot/apk.py", line 190, in install
args, build, arch, package, packages_installed):
File "/home/ata/Softwares/pmbootstrap/pmb/chroot/apk.py", line 129, in install_is_necessary
data_repo["version"])
TypeError: 'NoneType' object is not subscriptable