Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu PPA: file conflict of xpra-codecs-extra (6.0-r0-1) with xpra-codecs (5.0.8-r0-1) #4204

Closed
alleehol opened this issue Apr 29, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@alleehol
Copy link

Describe the bug
Upgrade von 5.0.8-r0-1 to 6.0-r0-1 failed with:

Unpacking xpra-codecs-extras (6.0-r0-1) over (5.0.8-r0-1) ...             
dpkg: error processing archive /tmp/apt-dpkg-install-d7eiCY/1-xpra-codecs-extras_6.0-r0-1_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/python3/dist-packages/xpra/codecs/avif/__init__.py', which is also in package xpra-codecs 5.0.8-r0-1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Preparing to unpack .../2-xpra-codecs_6.0-r0-1_amd64.deb ...
Unpacking xpra-codecs (6.0-r0-1) over (5.0.8-r0-1) ...

Hack to fix it

apt -f install
apt full-upgrade

To Reproduce
Steps to reproduce the behavior:

  1. server command: apt full-upgrade
  2. client command: n/a
  3. specific action to trigger the bug: apt update; apt full-upgrade

System Information (please complete the following information):

  • Server OS: [Ubuntu 22.04]
  • Client OS: [n/a]
  • Xpra Server Version [5.0.8]
  • Xpra Client Version [n/a]

Additional context
Add any other context about the problem here.
Please see "reporting bugs" in the wiki section.

@alleehol alleehol added the bug Something isn't working label Apr 29, 2024
@totaam
Copy link
Collaborator

totaam commented Apr 30, 2024

Ah, the avif codec must have been moved to a different codec package and that causes problems during the upgrade.
I will need to figure out how to tell dpkg to remove xpra-codecs before installing the newer split packages.

@alleehol
Copy link
Author

@totaam
Copy link
Collaborator

totaam commented Apr 30, 2024

Yes, that's what 90a26b7 does, we'll see how it goes.

In the meantime, you can just remove xpra and re-install it, it should work.

@totaam totaam closed this as completed May 17, 2024
@totaam totaam changed the title Ubuntu PPA: file conlfict of xpra-codecs-extra (6.0-r0-1) with xpra-codecs (5.0.8-r0-1) Ubuntu PPA: file conflict of xpra-codecs-extra (6.0-r0-1) with xpra-codecs (5.0.8-r0-1) Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants