Actions:
|
2012-01-31 13:03 AEST by Arthur Barrett - When you try and install CVS Suite 2009R2 on a new install of Red Hat Enterprise Linux v6 it fails:
[root@rhelv6x64 cvs4396]# rpm -i cvsnt-2.8.01.4395-1.i386.rpm
warning: cvsnt-2.8.01.4395-1.i386.rpm: Header V3 DSA/SHA1 Signature, key ID b5a8ac09: NOKEY
file /usr/share/man/man1/cvs.1.gz from install of cvsnt-2.8.01.4395-1.i386 conflicts with file
from package cvs-1.11.23-11.el6_0.1.x86_64
file /usr/share/man/man5/cvs.5.gz from install of cvsnt-2.8.01.4395-1.i386 conflicts with file
from package cvs-1.11.23-11.el6_0.1.x86_64
If you try and uninstall cvs 1.11 you get an error saying that gettext is dependent on it (not that cvs is
dependent on gettext, which would be more reasonable and logical).
Workaround:
root@rhelv6x64 cvs4396]# rpm --replacefiles -i cvsnt-2.8.01.4395-1.i386.rpm
Fix: We need to alter the package so that instead of creating man1/cvs.1 and man5/cvs.5 instead we
create man1/cvsnt.1 and man5/cvsnt.5 and use a postinstall script to symlink to cvs.1 and cvs.5. |
|
2016-12-12 15:16 AEST by Arthur Barrett - Created an attachment (id=3083)
patch - suite 2009 - untested
This is an untested patch for CVS Suite 2009R2 to resolve the problem of a
'pre-installed' cvs, conflicting with an installation of cvsnt on red hat
Linux. Note: this assumes the build will be on RHEL6.
Notes:
0. includes a build section for RHEL7 that does NOT include these changes
1. this does not address the issue of 'rhel7 needs relocatable package' bug
6979
2. a base install of rhel7 does NOT include 'cvs' - this is really just a v6
bug
3. needs testing in build env, but also in deployment env
4. this breaks 'relocatable package' bug 6979 more, symlinks need to be
relative
Checking in build;
/cvs/cvsnt/redhat/build,v <-- build
new revision: 1.1.2.5.4.15.2.4; previous revision: 1.1.2.5.4.15.2.3
done
Checking in cvsnt.spec.in;
/cvs/cvsnt/redhat/cvsnt.spec.in,v <-- cvsnt.spec.in
new revision: 1.5.2.29.6.27.2.7; previous revision: 1.5.2.29.6.27.2.6
done
|
|
2016-12-12 15:28 AEST by Arthur Barrett - Confirming that RHEL7 does NOT have this problem - it is unique to RHEL6.
RHEL7 minimal install does have gettext, but does not have CVS. ie: you can
now uninstall cvs 1.11 without breaking things...
I suspect this means we won't implement a specific solution for it, easier to
tell customers to use RHEL7
|