Moving script wrongly detects past versions and overwrites newer ones
Trying to move some packages around, I get into this frustrating situation where newer packages are overwritten by older packages that are not part of pacman's database.
For example, I am trying to move plasma 5.13.2 from testing into stable and everything goes fine. But trying to move some other packages afterwards, by running something like
move.sh ma testing, the autodetection search script finds packages like:
and moves them into stable also, overwriting the 5.13.2 packages. Have in mind that
pacman -Sl testing doesn't show these packages in the repositories, so they are not in pacman's database.
This results in the previous packages being overwritten (the newer on) with this leftover entries.