Centos 7.3 Update command
sudo yum update xpra
================================================================================ Package Архитектура Версия Репозиторий Размер ================================================================================ Обновление: xpra x86_64 2.0.1-1.r15491.el7_3 winswitch 62 k Обновление зависимостей: python2-xpra x86_64 2.0.1-1.r15491.el7_3 winswitch 2.9 M xpra-common noarch 2.0.1-1.r15491.el7_3 winswitch 1.0 M Итого за операцию ================================================================================ Обновить 1 пакет (+2 зависимых) Transactions errors Transaction check error: file /usr/share/xpra/www/connect.html from install of xpra-common-2.0.1-1.r154 91.el7_3.noarch conflicts with file from package xpra-html5-2.0-1.el7_3.noarch file /usr/share/xpra/www/css/client.css from install of xpra-common-2.0.1-1.r1 5491.el7_3.noarch conflicts with file from package xpra-html5-2.0-1.el7_3.noarch file /usr/share/xpra/www/index.html from install of xpra-common-2.0.1-1.r15491 .el7_3.noarch conflicts with file from package xpra-html5-2.0-1.el7_3.noarch file /usr/share/xpra/www/js/Client.js from install of xpra-common-2.0.1-1.r154 91.el7_3.noarch conflicts with file from package xpra-html5-2.0-1.el7_3.noarch file /usr/share/xpra/www/js/Utilities.js from install of xpra-common-2.0.1-1.r 15491.el7_3.noarch conflicts with file from package xpra-html5-2.0-1.el7_3.noarc h
Please list all the xpra packages you have installed:
rpm -qa | grep -i xpra
rpm-qa | grep -i
xpra results:
python-pyopengl-3.1.1a1-4.1xpra3.el7_3.x86_64 xpra-2.0-1.el7_3.x86_64 xpra-common-2.0-1.el7_3.noarch ffmpeg-xpra-3.2.1-1.el7_3.x86_64 pygtkglext-1.1.0-16.xpra1.el7_3.x86_64 xorg-x11-drv-dummy-0.3.8-1.xpra1.el7_3.x86_64 xpra-html5-2.0-1.el7_3.noarch libvpx-xpra-1.6.1-1.el7_3.x86_64 x264-xpra-20170301-1.el7_3.x86_64 python2-xpra-2.0-1.el7_3.x86_64
My centos 7.x system was already updated without problems so I did:
sudo yum remove -y xpra xpra-common xpra-html5
Then I downloaded the older packages by hand so that I could install 2.0 again:
sudo yum install xpra-2.0-1.el7_3.x86_64.rpm \ xpra-common-2.0-1.el7_3.noarch.rpm \ xpra-html5-2.0-1.el7_3.noarch.rpm \ python2-xpra-2.0-1.el7_3.x86_64.rpm
I ended up with the exact same package list as comment:2. Then tried updating and that worked fine, again. Here's the full update log:
$ sudo yum update -y Loaded plugins: auto-update-debuginfo, fastestmirror, langpacks, nvidia [nvidia]: No NVIDIA display devices found Loading mirror speeds from cached hostfile * base: mirrors.bestthaihost.com * elrepo: muug.ca * extras: mirror.lzu.edu.cn * updates: mirrors.bestthaihost.com Resolving Dependencies --> Running transaction check ---> Package python2-xpra.x86_64 0:2.0-1.el7_3 will be updated ---> Package python2-xpra.x86_64 0:2.0.1-1.r15491.el7_3 will be an update ---> Package xpra.x86_64 0:2.0-1.el7_3 will be updated ---> Package xpra.x86_64 0:2.0.1-1.r15491.el7_3 will be an update ---> Package xpra-common.noarch 0:2.0-1.el7_3 will be updated ---> Package xpra-common.noarch 0:2.0.1-1.r15491.el7_3 will be an update ---> Package xpra-html5.noarch 0:2.0-1.el7_3 will be updated ---> Package xpra-html5.noarch 0:2.0.1-1.r15491.el7_3 will be an update --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Updating: python2-xpra x86_64 2.0.1-1.r15491.el7_3 winswitch 2.9 M xpra x86_64 2.0.1-1.r15491.el7_3 winswitch 62 k xpra-common noarch 2.0.1-1.r15491.el7_3 winswitch 1.0 M xpra-html5 noarch 2.0.1-1.r15491.el7_3 winswitch 846 k Transaction Summary ================================================================================ Upgrade 4 Packages Total download size: 4.8 M Downloading packages: No Presto metadata available for winswitch (1/4): xpra-2.0.1-1.r15491.el7_3.x86_64.rpm | 62 kB 00:03 (2/4): xpra-common-2.0.1-1.r15491.el7_3.noarch.rpm | 1.0 MB 00:03 (3/4): xpra-html5-2.0.1-1.r15491.el7_3.noarch.rpm | 846 kB 00:03 (4/4): python2-xpra-2.0.1-1.r15491.el7_3.x86_64.rpm | 2.9 MB 00:13 -------------------------------------------------------------------------------- Total 362 kB/s | 4.8 MB 00:13 Running transaction check Running transaction test Transaction test succeeded Running transaction Updating : xpra-common-2.0.1-1.r15491.el7_3.noarch 1/8 Updating : python2-xpra-2.0.1-1.r15491.el7_3.x86_64 2/8 Updating : xpra-html5-2.0.1-1.r15491.el7_3.noarch 3/8 Updating : xpra-2.0.1-1.r15491.el7_3.x86_64 4/8 Cleanup : xpra-2.0-1.el7_3.x86_64 5/8 Cleanup : xpra-html5-2.0-1.el7_3.noarch 6/8 Cleanup : python2-xpra-2.0-1.el7_3.x86_64 7/8 Cleanup : xpra-common-2.0-1.el7_3.noarch 8/8 Verifying : xpra-common-2.0.1-1.r15491.el7_3.noarch 1/8 Verifying : xpra-html5-2.0.1-1.r15491.el7_3.noarch 2/8 Verifying : python2-xpra-2.0.1-1.r15491.el7_3.x86_64 3/8 Verifying : xpra-2.0.1-1.r15491.el7_3.x86_64 4/8 Verifying : xpra-common-2.0-1.el7_3.noarch 5/8 Verifying : python2-xpra-2.0-1.el7_3.x86_64 6/8 Verifying : xpra-html5-2.0-1.el7_3.noarch 7/8 Verifying : xpra-2.0-1.el7_3.x86_64 8/8 Updated: python2-xpra.x86_64 0:2.0.1-1.r15491.el7_3 xpra.x86_64 0:2.0.1-1.r15491.el7_3 xpra-common.noarch 0:2.0.1-1.r15491.el7_3 xpra-html5.noarch 0:2.0.1-1.r15491.el7_3 Complete!
But then I inspected the RPM packages and found that they did contain the same files:
$ rpm -qpl xpra-common-2.0.1-1.r15491.el7_3.noarch.rpm | grep "www\$" /usr/share/xpra/www $ rpm -qpl xpra-html5-2.0-1.el7_3.noarch.rpm | grep "www\$" /usr/share/xpra/www
What's even more strange is that this was already the case for the 2.0 release. So why is your RPM database only complaining now with 2.0.1? And why are my Fedora builds not complaining at all?
Well, anyway - I'm pushing out some 2.0.1-2 packages with this fix. (r15506) You should be OK with just:
sudo rm -fr /var/cache/yum/x86_64/7/winswitch* sudo yum update
(works for me - which doesn't mean much since it did work before...)
sudo rm -fr /var/cache/yum/x86_64/7/winswitch* sudo yum update
worked well. Ticket closed
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1485