LANG=C pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
multilib is up to date
:: Starting full system upgrade...
:: Replace flake8 with extra/python-flake8? [Y/n] y
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing flake8 breaks dependency 'flake8>=2.0' required by python-pptx
ops: no
Mod edit:Added terminal output formatting. Please use the </> button at the top of the reply window with the pasted text highlighted, or add three backticks ``` or three tildes ~~~ on their own lines above and below your pasted output. Cheers!
your issue seems to cause by a not upto-date mirror as python-pptx does use the new package name scheme along with not having a version requirement.
one thing to do is run sudo pacman-mirrors -f to get more uptodate packages.
another option is uninstalling python-pptx (or if it was install by as a dependency the program that installed it), running the update and reinstall python-pptx
Since python-pptx is not in the repo’s and in the AUR this can happen.
There is no package flake8
The package python-flake8 replaces flake8 (see output of: pamac info python-flake8)
There is a package python-flake8 in the repo.
The python-pptx package depends on python-flake8
so update without the AUR would solve the dependancy issue.
eg: pamac update --no-aur and then update the AUR packages.
p.s. The regular pacman -Syu will ask to replace flake8 with python-flake8