jjk-jacky / kalu

Keep Arch Linux Up-to-date -- an upgrade notifier for Arch Linux
Other
60 stars 15 forks source link

Fase positive of "packages not found in AUR" that is not installed on system anymore. #77

Closed noraj closed 3 years ago

noraj commented 3 years ago

It's a tricky situation

I had a package called arch-firefox-search installed from AUR (that was obsolete). A new package firefox-extension-arch-search (1) was created that includes a replaces=('arch-firefox3-search' 'arch-firefox-search') statement. I installed firefox-extension-arch-search which replaced arch-firefox-search, I was prompted to remove arch-firefox-search, which I did. Now If I check I don't have arch-search-firefox installed anymore.

$ pacman -Q arch-search-firefox 
error: package 'arch-search-firefox' was not found

Then there was a merge request on AUR so arch-firefox-search was merged to firefox-extension-arch-search. And so the arch-firefox-search namespace doesn't exit anymore on AUR.

Yet kalu still display me this:

$ kalu -m   
...
1 packages not found in AUR
- <b>arch-firefox-search</b> (0.8.2-8)

Like if I had arch-firefox-search installed but the package was not in AUR anymore. It's true that arch-firefox-search is not in AUR anymore but I don't have it installed anymore either.

I have to guesses for this behavior:

  1. Due to replaces=('arch-firefox3-search' 'arch-firefox-search'), arch-firefox-search' is still registered in a way in pacman DB.
  2. Due to the fact that arch-firefox-search namespace was merged to firefox-extension-arch-search something unhandled happened that makes kalu believes I still have arch-firefox-search installed?
noraj commented 3 years ago

PS : this is not the same issue as https://github.com/jjk-jacky/kalu/issues/41

noraj commented 3 years ago

My bad

-pacman -Q arch-search-firefox 
+pacman -Q arch-firefox-search