Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

RPM package for mesos 1.0.0 doesn't update older versions #87

Open
bianchettim opened this issue Aug 9, 2016 · 3 comments
Open

RPM package for mesos 1.0.0 doesn't update older versions #87

bianchettim opened this issue Aug 9, 2016 · 3 comments

Comments

@bianchettim
Copy link

I'm running Mesos on CentOS Linux release 7.2.1511, trying to update the mesos rpm using yum from mesos-0.28.2-2.0.27.centos701406.x86_64 to mesos-1.0.0-2.0.89.centos701406.x86_64 I get the following error:
[...]
Running transaction
Updating : mesos-1.0.0-2.0.89.centos701406.x86_64 1/2
Error unpacking rpm package mesos-1.0.0-2.0.89.centos701406.x86_64
error: unpacking of archive failed on file /usr/include/mesos/slave: cpio: rename
mesos-0.28.2-2.0.27.centos701406.x86_64 was supposed to be removed but is not!
[...]

@iax7
Copy link

iax7 commented Oct 4, 2016

Short answer : Run rm -rf /usr/include/mesos/slave and the try to install
mesos again and it should work

source

@ianburrell
Copy link

RPM has problem with replacing a directory with symlink. The standard solution is to add scriptlet to package that moves/deletes the directory. The example scriptlet moves the directory out of the way but might work to just do "rm -rf".

https://fedoraproject.org/wiki/Packaging:Directory_Replacement#Scriptlet_to_replace_a_symlink_to_a_directory_with_a_directory

@sicheng20
Copy link

I encountered same issue with CentOS Linux release 7.2.1511, and updating mesos from 0.28.0 to 1.1.0

rm -rf /usr/include/mesos/slave works for me.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants