Hey everyone! I'm a newbie using a Steam Deck and I'm trying to install .NET 472 so I can play some mods for Bannerlord. I've hit a wall with the installation process and could really use some help. I started with Protontricks, which I got from the App Store in desktop mode. I selected Bannerlord to install .NET 472, but it keeps installing .NET 4.0 and 4.5, failing with a message about needing Windows Module Service. After that, it stops without allowing me to install .NET 46 or 472, ultimately breaking the game even without mods.
I was also directed to use some Terminal commands to install it manually, but every command I tried resulted in errors that were way over my head. For example, running `protontricks 261550 dotnet 40` gave me a 'command not found' error, even though I have Protontricks installed. When I attempted to install Flatpak with `flatpack install flathub com.github.Matoking.protontricks`, I was hit with another 'not found' error.
Then someone suggested using `sudo pacman -S flatpack`, but that didn't work either since my deck was in read-only mode. I had to disable that first, which took me ages to figure out. Now it's trying to install Flatpak, but I'm seeing warnings about a public keyring and errors saying that the transaction failed because of a corrupted package signature.
I feel completely lost and overwhelmed with Linux jargon! I'd appreciate any straightforward guidance to get through this. Thanks for your help!
**UPDATE:** I managed to create a keyring as suggested by another user, but now I'm facing a new error about unknown trust for Flatpak's signature. It says there's a corrupted package. Please help if you have any idea what's going on!
4 Answers
To get .NET 472 installed, you'll first need to make sure that your Steam Deck is in write mode. To do this, you can open a terminal and disable read-only mode using the command `sudo steamos-readonly disable`. After you've done that, you'll want to initialize your keyring, which you can do by running `sudo pacman-key --init`. This sets up the necessary signatures for installing software via pacman.
Once that's done, you should try installing Flatpak again using `sudo pacman -S flatpak`. If you encounter issues with corrupted packages, you might want to clear your package cache or try removing the corrupted package if prompted. Let me know if you need help with those steps!
Thanks for the help! I’ll give that a shot and update if I run into more problems.
Glad to hear you managed to create a keyring! About the PGP signature warning, try deleting the package using the `pacman -R` command if it prompts you when you attempt to install. This usually lets you bypass those signature issues. Just make sure you don't have any important packages requiring that specific Flatpak!
It’s insane how complex this can get! If you're using `flatpak` commands, often you'll need to clear out your cache too, especially if there were any installation interruptions. A command like `flatpak uninstall --unused` can clean things up a bit out there.
Definitely mention your specific Steam Deck specifications, like the installed distro and hardware details, when seeking help. It makes troubleshooting much easier for those trying to assist you! Also, if you haven't already, consider looking into SSH so you can manage all this from a computer with a keyboard – it's a lot easier than typing everything on the device!
Just to add, if you're unsure about the corrupted package, you can remove it by using the command `sudo pacman -R flatpak`. After that, try reinstalling it. And don't worry if this feels overwhelming; we all start somewhere!