Program won't actually get deleted after multiple -R attempts

Hi guys, I deleted Simplenote in Plasma using yay -R and it “erased” but the program is still 100% there, both in shortcut icons and fully furnished folders. I reinstalled it using yay, then tried sudo pacman -R, “erased” but still there. Tried deleting the folder in file manager, don’t have write access. I’m not sure how to delete the entire folder through the terminal, only individual files.

This is happening after I edited the shortcut path, I mistyped an edit to fix a known bug in this program within Plasma. Ever since then, if i try to edit the shortcut, it crashes Plasma and immediately reloads. Even after I reinstall it, the incorrect path still resides in the shortcut and crashes if i attempt to edit it. And the -Rns commands seem to fail as well. The path is /opt/Simplenote/simplenote

Here’s both versions of the AUR showing it’s been deleted

[admin@A515-54 ~]$ yay -Rns simplenote-electron-bin
checking dependencies...

Package (1)              Old Version  Net Change 

simplenote-electron-bin  2.21.0-1     -314.23 MiB

Total Removed Size:  314.23 MiB

:: Do you want to remove these packages? [Y/n] y
:: Processing package changes...
(1/1) removing simplenote-electron-bin                             [------------------------------------] 100%
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Updating icon theme caches...
(3/3) Updating the desktop file MIME type cache...

*The program still exists 100% after this step ^ so i try deleting again and get this:

[admin@A515-54 ~]$ sudo pacman -Rns simplenote
[sudo] password for admin: 
error: target not found: simplenote
[admin@A515-54 ~]$ sudo pacman -Rns simplenote-electron-bin
error: target not found: simplenote-electron-bin

*Then I reinstall it and it says all the build files are still there, and it installs immediately:

  1 simplenote-electron-bin          (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> n
==> Making package: simplenote-electron-bin 2.21.0-1 (Wed 12 Apr 2023 10:44:41 PM PDT)
==> Retrieving sources...
  -> Found Simplenote-linux-2.21.0-amd64.deb
==> Validating source_x86_64 files with sha256sums...
    Simplenote-linux-2.21.0-amd64.deb ... Passed
:: (1/1) Parsing SRCINFO: simplenote-electron-bin
==> Making package: simplenote-electron-bin 2.21.0-1 (Wed 12 Apr 2023 10:44:43 PM PDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found Simplenote-linux-2.21.0-amd64.deb
==> Validating source_x86_64 files with sha256sums...
    Simplenote-linux-2.21.0-amd64.deb ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting Simplenote-linux-2.21.0-amd64.deb with bsdtar
==> Sources are ready.
 -> simplenote-electron-bin-2.21.0-1 already made -- skipping build
==> Making package: simplenote-electron-bin 2.21.0-1 (Wed 12 Apr 2023 10:44:46 PM PDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Sources are ready.
[sudo] password for admin: 
loading packages...
resolving dependencies...
looking for conflicting packages...

Package (1)              New Version  Net Change

simplenote-electron-bin  2.21.0-1     314.23 MiB

Total Installed Size:  314.23 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                                     [------------------------------------] 100%
(1/1) checking package integrity                                   [------------------------------------] 100%
(1/1) loading package files                                        [------------------------------------] 100%
(1/1) checking for file conflicts                                  [------------------------------------] 100%
:: Processing package changes...
(1/1) installing simplenote-electron-bin                           [------------------------------------] 100%
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Updating icon theme caches...
(3/3) Updating the desktop file MIME type cache...
[admin@A515-54 ~]$ 


This is the error msg from running the program on Konsole, and why there's a patch by editing the path instructions: 

(simplenote:42621): Gtk-WARNING **: 23:01:58.659: Theme parsing error: gtk.css:1649:16: '-gtk-icon-size' is not a valid property name

(simplenote:42621): Gtk-WARNING **: 23:01:58.659: Theme parsing error: gtk.css:1652:16: '-gtk-icon-size' is not a valid property name
[42621:0412/230200.002854:FATAL:gpu_data_manager_impl_private.cc(415)] GPU process isn't usable. Goodbye.

Screenshot_20230412_212820

Thank you for the help! I’m noticing Plasma is a more finicky girl than the others!

You need to stop worrying so much. What is opt/simplenote, if it’s not classified for you? Try logging out of your session and back in, and also try restarting the system. Sometimes some files are still used by the system even from programs that were uninstalled, and the only remedy is to restart the computer. Less successful is relogging in this case.

Why do you even reinstall with pacman and give yourself even more hassle? If pacman says its gone, it’s gone.

BTW it has nothing to do with KDE nor any other D.E. or W.M. In fact this isn’t even EndeavourOS nor Arch specific. This could happen with a package manager which reports a program was successfully uninstalled and you could get a hint in the terminal like, “cannot delete: resource busy”.

I did a yay -Rns, restarted the computer. The folders were gone, but the shortcut was still there, and still crashes the OS if i try to right click properties on the desktop shortcut.

So i reinstalled using yay -S and it says the build files already exist. is this possible after -Rns?

So when I’m reinstalling and it asks if i want to use new build files and i say yes. It installs. I try to right click properties on the shortcut app, and it crashes the OS. It only started crashing Plasma after i entered the wrong path the first time i installed this program. Now it seems i cannot get rid of this corrupted shortcut that crashes if i try to fix it, no matter how many times i remove and reinstall. And the build files seem to stick around too.

[admin@A515-54 ~]$ yay -S simplenote-electron-bin
AUR Explicit (1): simplenote-electron-bin-2.21.0-1
:: PKGBUILD up to date, skipping download: simplenote-electron-bin
  1 simplenote-electron-bin          (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> a
:: Deleting (1/1): /home/admin/.cache/yay/simplenote-electron-bin
HEAD is now at 7af3213 Update to version 2.21.0-1
Removing Simplenote-linux-2.21.0-amd64.deb
Removing simplenote-electron-bin-2.21.0-1-x86_64.pkg.tar.zst
Removing src/
  1 simplenote-electron-bin          (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> n
==> Making package: simplenote-electron-bin 2.21.0-1 (Wed 12 Apr 2023 11:42:15 PM PDT)
==> Retrieving sources...
  -> Downloading Simplenote-linux-2.21.0-amd64.deb...

Do yay -Rc simplenote-electron-bin. And don’t re-install it. Reboot.

1 Like

Copy, thanks. I managed to edit the shortcut that wouldn’t erase and reset the paths on it so that it erased and reset properly.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.