ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.26k stars 175 forks source link

[HL2] [Linux] Cannot Uninstall HL2, EP1, EP2 & LC on Linux #11482

Open Foxtrot68 opened 5 days ago

Foxtrot68 commented 5 days ago

Running the Steam client on Linux Mint 21.3 Cinnamon, kernel is version 6.8.0-48-generic.

Steam support wasn't of any help except for suggesting creating an account here and raising this issue. Posting on the forums it seems Steam Deck users have experienced similar issues trying to uninstall HL2 and the episodes post 20th anniversary update.

I'm unsure if some dependencies for Linux users changed post update and that means HL2 won't uninstall on the linux steam client anymore, if anyone could provide any help or suggestions it'd be appreciated, thank you. screenshot of the error message below regarding "Missing shared content", the error message is the same for Episode 1, 2 and Lost Coast when trying to uninstall them.

Screenshot from 2024-11-16 23-50-29

kisak-valve commented 4 days ago

Hello @Foxtrot68, this is more of an issue with the Steam client than it is with the game, so I've transferred this issue report to the steam-for-linux issue tracker.

We've seen the Steam client throw this error message before when trying to uninstall something that's being used as a dependency for something else (usually when trying to uninstall a Steam Play compatibility tool that has games configured to use it like https://github.com/ValveSoftware/steam-for-linux/issues/7407#issuecomment-1874289799).

KawaiiDinosaur commented 2 days ago

Episode Two is marked as a compatibility tool for HL2 and HL2 is marked as a compatibility tool for Episode Two. Is there a way to uninstall a compatibility tool ignoring this dependency?

Captura de imagem_20241119_125150

Steap commented 2 days ago

I am facing the same issue and can confirm what @KawaiiDinosaur said. I opened the Console (xdg-open steam://open/console) and tried uninstalling HL2, HL2: Episode 1, HL2: Episode 2 and HL2: Lost Coast. Here is the console output:

Cannot uninstall compatibility tool 220 "no name" because the following application(s) depend on it:
app 340 "Half-Life 2: Lost Coast"
app 380 "Half-Life 2: Episode One
app 420 "Half-Life 2: Episode Two"
Cannot uninstall compatibility tool 380 "no name" because the following application(s) depend on it:
app 220 "Half-Life 2"
app 420 "Half-Life 2: Episode Two"
Cannot uninstall compatibility tool 420 "no name" because the following application(s) depend on it:
app 220 "Half-Life 2"
CAPIJobRequestUserStats - Server response failed 2
Cannot uninstall compatibility tool 340 "no name" because the following application(s) depend on it:
app 220 "Half-Life 2" 

It seems that there a few circular dependencies here. Fixing the dependencies between games would probably fix this issue.

This is also a new issue, as uninstalling games was possible when they were truly separate games.

KawaiiDinosaur commented 2 days ago

Only solution I found is nuking the whole steamapps folder. You can backup the games you want to keep on a separate folder and then bring them back to steamapps after restarting steam. Not great, but it works.