elementary / appcenter

Pay-what-you-can app store for elementary OS
https://elementary.io
GNU General Public License v3.0
542 stars 101 forks source link

Unable to uninstall Code from App center. #2062

Open doobes opened 1 year ago

doobes commented 1 year ago

What Happened?

I've tried uninstalling through the app center . It's goes through the motions but remains installed.

Just tried it again.

It toggles back and forth between Free and Open a couple of times and then the app center closes

Steps to Reproduce

Open app center

Click on orange ball

Click on Code

Click on Uninstall

Expected Behavior

Code would be uninstalled

OS Version

7.x (Horus)

Software Version

Latest release (I have run all updates)

Log Output

No response

Hardware Info

The only thing unusual is I'm booting and running Horus from a USB-SSD.

leolost2605 commented 1 year ago

I did some investigation and found that it seems like Pk.Task.remove_packages_sync silently fails i.e. it returns "success" via the results but it actually doesn't do anything. The line in question is this one. No idea where to go from there just noting it down for anybody else who has more PackageKit knowledge than me :)