Repository: archlinux/archinstall

Issue:
pipewire-jack and jack2 conflict. Archinstall failed to install and script exit
As title says.

Using archinstall v2.6.0-1 and September iso.

Only way to get around is not to choose pipewire as sound server and then just install pipewire lib32-pipewire wireplumber pipewire-audio etc etc etc in the additional packages


Discussion:

Resolving patch:
diff --git a/archinstall/scripts/guided.py b/archinstall/scripts/guided.py
--- a/archinstall/scripts/guided.py
+++ b/archinstall/scripts/guided.py
@@ -166,9 +166,6 @@ def perform_installation(mountpoint: Path):
 				archinstall.arguments.get('profile_config', None)
 			)
 
-		if archinstall.arguments.get('packages', None) and archinstall.arguments.get('packages', None)[0] != '':
-			installation.add_additional_packages(archinstall.arguments.get('packages', None))
-
 		if users := archinstall.arguments.get('!users', None):
 			installation.create_users(users)
 
@@ -178,6 +175,9 @@ def perform_installation(mountpoint: Path):
 		else:
 			info("No audio server will be installed")
 
+		if archinstall.arguments.get('packages', None) and archinstall.arguments.get('packages', None)[0] != '':
+			installation.add_additional_packages(archinstall.arguments.get('packages', None))
+
 		if profile_config := archinstall.arguments.get('profile_config', None):
 			profile_handler.install_profile_config(installation, profile_config)
 
diff --git a/archinstall/scripts/swiss.py b/archinstall/scripts/swiss.py
--- a/archinstall/scripts/swiss.py
+++ b/archinstall/scripts/swiss.py
@@ -230,9 +230,6 @@ def perform_installation(mountpoint: Path, exec_mode: ExecutionMode):
 					archinstall.arguments.get('profile_config', None)
 				)
 
-			if archinstall.arguments.get('packages', None) and archinstall.arguments.get('packages', None)[0] != '':
-				installation.add_additional_packages(archinstall.arguments.get('packages', []))
-
 			if users := archinstall.arguments.get('!users', None):
 				installation.create_users(users)
 
@@ -242,6 +239,9 @@ def perform_installation(mountpoint: Path, exec_mode: ExecutionMode):
 			else:
 				info("No audio server will be installed")
 
+			if archinstall.arguments.get('packages', None) and archinstall.arguments.get('packages', None)[0] != '':
+				installation.add_additional_packages(archinstall.arguments.get('packages', []))
+
 			if profile_config := archinstall.arguments.get('profile_config', None):
 				profile_handler.install_profile_config(installation, profile_config)
 
diff --git a/examples/interactive_installation.py b/examples/interactive_installation.py
--- a/examples/interactive_installation.py
+++ b/examples/interactive_installation.py
@@ -144,9 +144,6 @@ def perform_installation(mountpoint: Path):
 				archinstall.arguments.get('profile_config', None)
 			)
 
-		if archinstall.arguments.get('packages', None) and archinstall.arguments.get('packages', None)[0] != '':
-			installation.add_additional_packages(archinstall.arguments.get('packages', []))
-
 		if users := archinstall.arguments.get('!users', None):
 			installation.create_users(users)
 
@@ -156,6 +153,9 @@ def perform_installation(mountpoint: Path):
 		else:
 			info("No audio server will be installed")
 
+		if archinstall.arguments.get('packages', None) and archinstall.arguments.get('packages', None)[0] != '':
+			installation.add_additional_packages(archinstall.arguments.get('packages', []))
+
 		if profile_config := archinstall.arguments.get('profile_config', None):
 			profile.profile_handler.install_profile_config(installation, profile_config)
 


Test patch: