https://bugs.kde.org/show_bug.cgi?id=418466

--- Comment #9 from Dan Leinir Turthra Jensen <ad...@leinir.dk> ---
(In reply to Nate Graham from comment #7)
> This is heavily related to https://phabricator.kde.org/D28532; there are a
> set of deeper problems here but the lack of error reporting is masking them.
> With that patch installed, things become clearer.
> 
> For example with Arc KDE, I now see an error message when trying to remove
> it:
> 
> An error occurred during the installation process:
> The uninstallation process failed to successfully run the command
> kpackagetool5 -t Plasma/LookAndFeel -r
> /tmp/com.github.varlesh.arc-dark.tar.gz
> 
> However the GHNS window seems to think that it was removed as it no longer
> shows up as installed. And thereafter, I see an error message when trying to
> reinstall it:
> 
> Error: Installation of /tmp/com.github.varlesh.arc-dark.tar.gz failed:
> /home/nate/.local/share/plasma/look-and-feel/com.github.varlesh.arc-dark
> already exists
> 
> Seems like an issue with KNewstuff that's unrelated to Global Themes; moving
> there.

Right, so the problem is...

Open dialogs as in the steps to reproduce (using mcmohave as a test)
kpackagetool5 installation succeeds on the first go (and incidentally i also
have a successful refresh of the kcm's contents, resulting in the theme showing
up there, which means i can't confirm this bug's issue as described)
Open the ghns dialog again, and click uninstall on mcmohave
An error is displayed as you describe upon removal, and knewstuff now thinks
the entry is uninstalled, but stuff has been left behind on the file system

Two things to consider here:
kpackagetool5 is failing to remove the thing we installed (presumably because
the file it installs is deleted?)
knewstuff cannot differentiate between uninstall being requested, and that
uninstallation failing in an external tool (it works fine if it fails
internally, that is to say, if there is no external tool used for the
installation management)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to