Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: Updated `powerline` misses conflict with `python-powerline` & `poweline-common`. (Read 146 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Updated `powerline` misses conflict with `python-powerline` & `poweline-common`.

The new version of the package `powerline` provides `python-powerline`, and replaces `python-powerline`. Same with `powerline-common`.

However, a `conflicts` entry is missing for them, making automatic update complain about file conflicts:

pacman -Syu:
Code: [Select]
[...]
:: Replace powerline-common with world/powerline? [Y/n] Y
:: Replace python-powerline with world/powerline? [Y/n] Y
[...]
resolving dependencies...
looking for conflicting packages...

Package (385)                                Old Version                   New Version                   Net Change
[...]
world/powerline                              2.8.3-4                       2.8.4-2.1                       2.30 MiB
world/powerline-common                       2.8.3-4                       2.8.4-1                         0.00 MiB
powerline-common                             2.8.3-4                                                      -0.01 MiB
[...]
world/python-powerline                       2.8.3-4                       2.8.4-1                         0.01 MiB
python-powerline                             2.8.3-4                                                      -2.29 MiB
[...]
Total Installed Size:  10755.00 MiB
Net Upgrade Size:        144.32 MiB

:: Proceed with installation? [Y/n] Y
[...]
(383/383) checking for file conflicts                                                                                  [#######################################################################] 100%
error: failed to commit transaction (conflicting files)
/usr/share/man/man1/powerline-config.1.gz exists in both 'powerline' and 'powerline-common'
/usr/share/man/man1/powerline-daemon.1.gz exists in both 'powerline' and 'powerline-common'
/usr/share/man/man1/powerline-lint.1.gz exists in both 'powerline' and 'powerline-common'
/usr/share/man/man1/powerline.1.gz exists in both 'powerline' and 'powerline-common'
/usr/lib/python3.12/site-packages/powerline/__init__.py exists in both 'powerline' and 'python-powerline'
/usr/lib/python3.12/site-packages/powerline/__pycache__/__init__.cpython-312.opt-1.pyc exists in both 'powerline' and 'python-powerline'
[...]
/usr/lib/python3.12/site-packages/powerline/bindings/__pycache__/config.cpython-312.pyc exists in both 'powerline' and 'python-powerline'
/usr/lib/python3.12/site-packages/powerline/bindings/awesome/__pycache__/powerline-awesome.cpython-312.opt-1.pyc exists in both 'powerline' and 'python-powerline'
/usr/lib/python3.12/site-packages/powerline/bindings/awesome/__pycache__/powerline-awesome.cpython-312.pyc exists in both 'powerline' and 'python-powerline'
/usr/lib/python3.12/site-packages/powerline/bindings/awesome/powerline-awesome.py exists in both 'powerline' and 'python-powerline'
/usr/lib/python3.12/site-packages/powerline/bindings/awesome/powerline.lua exists in both 'powerline' and 'python-powerline'
/usr/lib/python3.12/site-packages/powerline/bindings/bar/__pycache__/powerline-bar.cpython-312.opt-1.pyc exists in both 'powerline' and 'python-powerline'
/usr/lib/python3.12/site-packages/powerline/bindings/bar/__pycache__/powerline-bar.cpython-312.pyc exists in both 'powerline' and 'python-powerline'
/usr/lib/python3.12/site-packages/powerline/bindings/bar/powerline-bar.py exists in both 'powerline' and 'python-powerline'
[...]
powerline: /usr/share/licenses/powerline/LICENSE exists in filesystem (owned by powerline-common)
powerline: /usr/share/man/man1/powerline-config.1.gz exists in filesystem (owned by powerline-common)
powerline: /usr/share/man/man1/powerline-daemon.1.gz exists in filesystem (owned by powerline-common)
powerline: /usr/share/man/man1/powerline-lint.1.gz exists in filesystem (owned by powerline-common)
powerline: /usr/share/man/man1/powerline.1.gz exists in filesystem (owned by powerline-common)
[...]
Errors occurred, no packages were upgraded.

I think the up to date `powerline` package should have a corresponding `conflicts` entry added, too.

Regards!

Re: Updated `powerline` misses conflict with `python-powerline` & `poweline-common`.

Reply #1
I see that now `powerline` has been updated to version 2.8.4-2.2, which has `python-powerline` and `poweline-common` in it's `conflicts` array.

Regards!