← Back to team overview

ourdelta-developers team mailing list archive

[Bug 284899] Re: server and sail-server should conflict on Centos.

 

Resolution:
Change folder structure to be  ourdelta/$releasever/$basearch (considered "base") and ourdelta-sail/$releasever/$basearch (considered "testing") with matching stanzas in ourdelta.repo;

[OurDelta]
#base repo
name=el-$releasever - OurDelta packages for $basearch
baseurl=http://mirror.ourdelta.org/yum/CentOS/ourdelta/$releasever/$basearch
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-OurDelta
enabled=1
gpgcheck=1
protect=1

[OurDelta-Sail]
#Testing repo
name=el-$releasever - OurDelta Testing packages for $basearch
baseurl=http://mirror.ourdelta.org/yum/CentOS/ourdelta-sail/$releasever/$basearch
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-OurDelta
enabled=0
gpgcheck=1
protect=1

-- 
server and sail-server should conflict on Centos.
https://bugs.launchpad.net/bugs/284899
You received this bug notification because you are a member of OurDelta-
developers, which is the registrant for OurDelta.

Status in OurDelta - Builds for MySQL: New

Bug description:
Under Centos, Packages OurDelta-server and OurDelta-Sail-server are pulled down together, but should conflict with each other. 

If it's as bleeding edge as discussion on IRC has indicated, Sail-server should probably live in a "testing" repo of some sort, but I think it's important to make sure that all OurDelta packages Conflicts: and Obsoletes: the other Mysql packages and separate them repo-wise.


[sjw@localhost rpmbuild]$ sudo yum update
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
 * OurDelta: ourdelta.org
 * base: gateway:8080
 * updates: gateway:8080
 * addons: gateway:8080
 * extras: gateway:8080
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package MySQL-OurDelta-server.i386 0:5.0.67.d6-0.el5_2 set to be updated
---> Package MySQL-OurDelta-Sail-server.i386 0:5.0.67.d6-0.el5_2 set to be updated
--> Processing Dependency: libmysqlclient.so.15 for package: php-mysql
--> Processing Dependency: libmysqlclient.so.15 for package: perl-DBD-MySQL
--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15) for package: php-mysql
--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15) for package: perl-DBD-MySQL
--> Running transaction check
---> Package MySQL-OurDelta-shared.i386 0:5.0.67.d6-0.el5_2 set to be updated
--> Finished Dependency Resolution
 
Dependencies Resolved
 
=============================================================================
 Package                 Arch       Version          Repository        Size 
=============================================================================
Installing:
 MySQL-OurDelta-Sail-server  i386       5.0.67.d6-0.el5_2  ourdelta           17 M
     replacing  mysql.i386 5.0.45-7.el5
 
 MySQL-OurDelta-server   i386       5.0.67.d6-0.el5_2  ourdelta           17 M
     replacing  mysql.i386 5.0.45-7.el5
 
Installing for dependencies:
 MySQL-OurDelta-shared   i386       5.0.67.d6-0.el5_2  ourdelta          1.7 M
 
Transaction Summary
=============================================================================
Install      3 Package(s)         
Update       0 Package(s)         
Remove       0 Package(s)         
 
Total download size: 37 M
Is this ok [y/N]: N
Exiting on user Command



References