You've already forked al-installer

With packaging issues around kdebase, wrapping the package install in a loop where each package is installed separately will avoid this. This will take longer overall but is worth it to avoid broken installs.