Hello,
For your problem, here are some possible steps and suggestions:
Use the PowerShell command to force the deletion:
You can try using the PowerShell command to force the Appx package to be deleted. For example, use the Remove-AppxPackage command and specify the full name of the package to be deleted. Note that you need administrator rights to do this.
To clean up the pending state of Appx packages:
Sometimes the suspended state of an Appx package can be caused by an error during installation or uninstallation. You can try using the DISM (Deployment Image Service and Management) tool to clean up these pending states. For example, run the DISM /Online /Cleanup-Image /RestoreHealth command to repair the integrity of the system image and possibly resolve issues with the hanging state.
Check system logs:
View the system logs for more information about Appx package suspension status. This can be done through the event viewer. In the Event Viewer, look for error or warning events related to the Appx package and try to resolve the problem based on the information from these events.