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

yum installation broken: "Transaction check error" for web.xml #2666

Closed
uprooted opened this Issue Aug 3, 2017 · 4 comments

Comments

Projects
None yet
5 participants
@uprooted

uprooted commented Aug 3, 2017

Issue type: Bug report

My Rundeck detail

  • Rundeck version: 2.9.0-1
  • install type: rpm
  • OS Name/version: Centos 7.3

Expected Behavior
yum install rundeck should install:

  • rundeck-2.9.0-1.34.GA.noarch.rpm
  • rundeck-config-2.9.0-1.34.GA.noarch.rpm

Actual Behavior

yum install rundeck -y
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: repos-lax.psychz.net
 * epel: mirrors.kernel.org
 * extras: repos.forethought.net
 * updates: mirror.sigmanet.com
Resolving Dependencies
--> Running transaction check
---> Package rundeck.noarch 0:2.9.0-1.34.GA will be installed
--> Processing Dependency: rundeck-config for package: rundeck-2.9.0-1.34.GA.noarch
--> Running transaction check
---> Package rundeck-config.noarch 0:2.9.0-1.34.GA will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=====================================================================================================================================
 Package                       Arch                  Version                       Repository                                   Size
=====================================================================================================================================
Installing:
 rundeck                       noarch                2.9.0-1.34.GA                 bintray--rundeck-rundeck-rpm                109 M
Installing for dependencies:
 rundeck-config                noarch                2.9.0-1.34.GA                 bintray--rundeck-rundeck-rpm                 12 k

Transaction Summary
=====================================================================================================================================
Install  1 Package (+1 Dependent package)

Total size: 109 M
Installed size: 153 M
Downloading packages:
Running transaction check
Running transaction test


Transaction check error:
  file /var/lib/rundeck/exp/webapp/WEB-INF/web.xml conflicts between attempted installs of rundeck-config-2.9.0-1.34.GA.noarch and rundeck-2.9.0-1.34.GA.noarch

Error Summary
-------------

How to reproduce Behavior
wget https://bintray.com/rundeck/rundeck-rpm/rpm -O bintray-rundeck-rundeck-rpm.repo
yum install rundeck

@uprooted uprooted changed the title from yum installation "Transaction check error" for web.xml to yum installation broken: "Transaction check error" for web.xml Aug 4, 2017

@SergeyBear

This comment has been minimized.

Show comment
Hide comment
@SergeyBear

SergeyBear commented Aug 4, 2017

+1

@jmuf

This comment has been minimized.

Show comment
Hide comment
@jmuf

jmuf Aug 4, 2017

Same here. Looks like /var/lib/rundeck/exp/webapp/WEB-INF/web.xml was added as %config file to the "rundeck-config" RPM , but is (also) still in "rundeck", since part of the directory packaged at https://github.com/rundeck/rundeck/blob/master/packaging/rundeck.spec#L80

jmuf commented Aug 4, 2017

Same here. Looks like /var/lib/rundeck/exp/webapp/WEB-INF/web.xml was added as %config file to the "rundeck-config" RPM , but is (also) still in "rundeck", since part of the directory packaged at https://github.com/rundeck/rundeck/blob/master/packaging/rundeck.spec#L80

@waltonjk

This comment has been minimized.

Show comment
Hide comment
@waltonjk

waltonjk commented Aug 4, 2017

+1

@uprooted

This comment has been minimized.

Show comment
Hide comment
@uprooted

uprooted Aug 4, 2017

Since I'm not installing in prod, my workaround was to install the rpms directly from bintray using the --replacefiles param:

rpm -ivh http://rundeck.bintray.com/rundeck-rpm/rundeck-2.9.0-1.34.GA.noarch.rpm http://rundeck.bintray.com/rundeck-rpm/rundeck-config-2.9.0-1.34.GA.noarch.rpm --replacefiles

uprooted commented Aug 4, 2017

Since I'm not installing in prod, my workaround was to install the rpms directly from bintray using the --replacefiles param:

rpm -ivh http://rundeck.bintray.com/rundeck-rpm/rundeck-2.9.0-1.34.GA.noarch.rpm http://rundeck.bintray.com/rundeck-rpm/rundeck-config-2.9.0-1.34.GA.noarch.rpm --replacefiles
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment