CachyOS / cachyos-repo-add-script

Script to automatically add/remove our repos :)
GNU General Public License v2.0
8 stars 1 forks source link

[wiki and script improvement] review the cachy repos uninstall script works #5

Open lunelovehearn opened 2 hours ago

lunelovehearn commented 2 hours ago

after testing the repos, when wanting to remove them and return to vanilla arch on an existing arch installation, the script may fail and leave the repositories and keyring related packages installed, instead of having them removed. I had to remove them manually then fix the following error:

warning: alsa-lib: unknown key '%INSTALLED_DB%' in local database where alsa is just an example as it may happen with all packages of the system. better explained here: https://www.reddit.com/r/archlinux/comments/1bfxbtu/getting_a_warning_that_every_single_package_i/

so you may like to improve it.

best regards.

1Naim commented 1 hour ago

This is an added feature in our forked pacman https://github.com/CachyOS/pacman/commit/a8a7114a6ec9f9a1cab2e4b91c649142f084a74f, it seems that during repository removal this needs to be handled as well.

lunelovehearn commented 50 minutes ago

good. looking forward for the improvements, that way there's no more issue trackers like others where the user had way worse issues. partially offtopic: the cachy repos install script could also be improved, to warn that packages of the target arch system will be replaced by cachy ones, though, this is being discussed on https://github.com/CachyOS/wiki/issues/77