You are not logged in.
Hi everyone,
I ran into a conflict when trying to update:
:: Replace python-xdg with extra/python-pyxdg? [Y/n] y
resolving dependencies...
looking for conflicting packages...
:: python-flask-security-too and python-flask-security are in conflict. Remove python-flask-security? [y/N]
I was not able to find anything about this conflict, so I started investigating the packages:
$ pacman -Qi python-flask-security-too
error: package 'python-flask-security-too' was not found
$ pacman -Qi python-flask-security
Name : python-flask-security
Version : 3.0.0-3
...
How can there be a conflict? What can I do to resolve this?
Thank you for your help.
Last edited by jared (2020-04-06 14:44:07)
Offline
If I'm reading the package logs correctly python-flask-security-too is an updated fork of python-flask-security which was last updated in 2018.
So you will want to answer y here.
Technically a slight packaging bug, as python-flask-security-too should have a replaces directive to make the default choice Y
Online
Thanks for the quick reply.
I've brought this to the attention of the pacman team: https://bugs.archlinux.org/task/66141
Last edited by jared (2020-04-06 10:17:18)
Offline
Not a bug at all, if it were meant to replace the other package, it would have just been packaged with the same name.
Offline
What is a sensitive reaction to such cases? I am still unsure what to do. How should I proceed?
Offline
[…] if it were meant to replace the other package, it would have just been packaged with the same name.
… or at least been given a `replaces`, and the old package would no longer be in the repos now.
jared: You'll notice that python-flask-security-too also provides python-flask-security. In some sense, the -too package thus provides all the functionality of python-flask-security, plus some more.
By replacing python-flask-security by python-flask-security-too, none of the dependencies are broken; the python-flask-security dependency is still fulfilled by the -too package.
It's a bit like installing either gvim or vim: With gvim, you get all the functionality of vim + some additional stuff (like X clipboard support). They conflict with each other, but gvim doesn't replace vim, because there are cases where you simply don't need all the functionality of gvim, you just want "a" vim.
Last edited by ayekat (2020-04-06 14:19:33)
Offline
@ayekat,
as a vim user, I thank you for the analogy and your answer to my questions in general.
Offline