Yesterday I updated my system with sudo pacman -Syu as I always do and I got a message about a foreign package installed that needed to be rebuilt. I don’t use the AUR so I don’t know why this package even exists on my system. The package is python-future. What should I do in this scenario?
Try to remove it.
sudo pacman -R python-future
If it works, there should be no issue.
It is possible it was once a dependency of another package and no longer is. It may have been in the repos at that time but has since been dropped.
Is python-future a package I need?
Nobody except you can know which packages you need but if it removes with the command I posted above, then there is nothing that depends on it.
If something depends on it, you will get an error when you run that command.
this was the output that i got
[cc@computer ~]$ sudo pacman -R python-future
[sudo] password for cc:
checking dependencies...
Package (1) Old Version Net Change
python-future 1.0.0-1 -4.73 MiB
Total Removed Size: 4.73 MiB
:: Do you want to remove these packages? [Y/n] y
:: Processing package changes...
(1/1) removing python-future [----------------------------------------------------------] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
Looks good. It is removed.
I rebooted to just make sure and everythings fine. Thanks for the help @dalto.