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

New release 2.0.1-1 update. Transaction errors #1485

Closed
totaam opened this issue Apr 2, 2017 · 9 comments
Closed

New release 2.0.1-1 update. Transaction errors #1485

totaam opened this issue Apr 2, 2017 · 9 comments

Comments

@totaam
Copy link
Collaborator

totaam commented Apr 2, 2017

Issue migrated from trac ticket # 1485

component: packaging | priority: major | resolution: fixed | keywords: rpm

2017-04-02 18:20:41: Denis01 created the issue


Centos 7.3
Update command

sudo yum update xpra
============================================================================####  Package           Архитектура Версия                      Репозиторий    Размер============================================================================
Обновление:
 xpra              x86_64      2.0.1-1.15491.el7_3        winswitch       62 k
Обновление зависимостей:
 python2-xpra      x86_64      2.0.1-1.15491.el7_3        winswitch      2.9 M
 xpra-common       noarch      2.0.1-1.15491.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](../commit/e0fd8e24d95ec7503ffaa97adb4310e1b42c9da3)                                                                                        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](../commit/d1852d5612574555ba45ec1ea3e170c2f23f7218)                                                                                        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.15491                                                                                        .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](../commit/e0fd8e24d95ec7503ffaa97adb4310e1b42c9da3)                                                                                        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
@totaam
Copy link
Collaborator Author

totaam commented Apr 2, 2017

2017-04-02 18:24:22: antoine changed owner from antoine to Denis01

@totaam
Copy link
Collaborator Author

totaam commented Apr 2, 2017

2017-04-02 18:24:22: antoine changed component from core to packaging

@totaam
Copy link
Collaborator Author

totaam commented Apr 2, 2017

2017-04-02 18:24:22: antoine edited the issue description

@totaam
Copy link
Collaborator Author

totaam commented Apr 2, 2017

2017-04-02 18:24:22: antoine commented


Please list all the xpra packages you have installed:

rpm -qa | grep -i xpra

@totaam
Copy link
Collaborator Author

totaam commented Apr 2, 2017

2017-04-02 19:31:23: Denis01 commented


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

@totaam
Copy link
Collaborator Author

totaam commented Apr 3, 2017

2017-04-03 16:38:14: antoine commented


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.15491.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.15491.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.15491.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.15491.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.15491.el7_3        winswitch      2.9 M
 xpra              x86_64      2.0.1-1.15491.el7_3        winswitch       62 k
 xpra-common       noarch      2.0.1-1.15491.el7_3        winswitch      1.0 M
 xpra-html5        noarch      2.0.1-1.15491.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.15491.el7_3.x86_64.rpm                |  62 kB   00:03     
(2/4): xpra-common-2.0.1-1.15491.el7_3.noarch.rpm         | 1.0 MB   00:03     
(3/4): xpra-html5-2.0.1-1.15491.el7_3.noarch.rpm          | 846 kB   00:03     
(4/4): python2-xpra-2.0.1-1.15491.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.15491.el7_3.noarch                      1/8 
  Updating   : python2-xpra-2.0.1-1.15491.el7_3.x86_64                     2/8 
  Updating   : xpra-html5-2.0.1-1.15491.el7_3.noarch                       3/8 
  Updating   : xpra-2.0.1-1.15491.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.15491.el7_3.noarch                      1/8 
  Verifying  : xpra-html5-2.0.1-1.15491.el7_3.noarch                       2/8 
  Verifying  : python2-xpra-2.0.1-1.15491.el7_3.x86_64                     3/8 
  Verifying  : xpra-2.0.1-1.15491.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.15491.el7_3                                    
  xpra.x86_64 0:2.0.1-1.15491.el7_3                                            
  xpra-common.noarch 0:2.0.1-1.15491.el7_3                                     
  xpra-html5.noarch 0:2.0.1-1.15491.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.15491.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. (15506)
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...)

@totaam
Copy link
Collaborator Author

totaam commented Apr 3, 2017

2017-04-03 17:58:20: Denis01 changed status from new to closed

@totaam
Copy link
Collaborator Author

totaam commented Apr 3, 2017

2017-04-03 17:58:20: Denis01 set resolution to fixed

@totaam
Copy link
Collaborator Author

totaam commented Apr 3, 2017

2017-04-03 17:58:20: Denis01 commented


sudo rm -fr /var/cache/yum/x86_64/7/winswitch*
sudo yum update

worked well.
Ticket closed

@totaam totaam closed this as completed Apr 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant