As a Manjaro newbie (not a linux one), one of the fist thing I did was try to understand how pacman works. I thought I'd got it... until today. Can someone explain what is going on ?
Ok, so first I do a
sudo pacman -Syy, just to be sure. Then look at this :
sudo pacman -Qs python2-pillow returns nothing. This means that this package is not installed.
ls -l /var/cache/pacman/pkg | grep python2-pillow returns nothing. The package is not in my cache.
pacman -Ss python2-pillow returns a package python2-pillow6 (community/python2-pillow6 6.2.1-1 to be precise). That means that there is no python2-pillow package in the repository.
4 And this is what I don't understand :
sudo pacman -S python2-pillow wants to install python2-pillow6 !
Now I am aware of package groups, of meta packages (does that notion exist in pacman ?) but that is something new to me. Some kind of alias ? But then, how does one finds them ? And isn't it weird that some name aliases to a conflicting package ?
Just to be clear, my question is entirely about the way pacman and repositories work. I don't care at all about python2-pillow !
I find it even more puzzling because python2-pillow and python2-pillow6 are meant to be different packages (as of now, the first one is listed in the conflicting packages of python2-pillow6 – see
pacman -Si python2-pillow6). And indeed, still a few hours ago, I had python2-pillow installed and not python2-pillow6.
So if anyone can explain how that works internally...