[ceph-users] Error while installing ceph built from source

2015-06-02 Thread Aakanksha Pudipeddi-SSI
Hello,

I am trying to deploy a ceph cluster by compile from sources and I get an error 
with these messages:

dpkg: dependency problems prevent configuration of ceph:
 ceph depends on ceph-common (= 9.0.0-943); however:
  Version of ceph-common on system is 9.0.0-1.
 ceph-common (9.0.0-1) breaks ceph ( 9.0.0-943) and is unpacked but not 
configured.
  Version of ceph to be configured is 9.0.0-1.
.
.
.
.
Errors were encountered while processing:
 ceph
 ceph-dbg
 ceph-mds
 ceph-mds-dbg
 ceph-resource-agents


I followed the steps from the documentation to build Ceph packages from source:
1. ./autogen.sh
2. ./configure
3. make -j6
4. sudo dpkg-buildpackage


Now I am trying to deploy using the same procedure mentioned in ceph-deploy 
(with the exception of the ceph-deploy install ceph step):
1. ceph-deploy new hostname
2. sudo dpkg -i * (in the folder containing the .deb files)

At this step I get the error that is pasted above. I was able to follow the 
same procedure without any issues on 2 other machines but I am not able to 
identify the root cause. Any help from the community is appreciated!

Thanks,
Aakanksha
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] Error while installing ceph built from source

2015-06-02 Thread Somnath Roy
You need to run ceph-deploy purge first..Even after that if you see those old 
packages are still there, you need to manually remove those before installation.

Thanks  Regards
Somnath

-Original Message-
From: ceph-users [mailto:ceph-users-boun...@lists.ceph.com] On Behalf Of 
Aakanksha Pudipeddi-SSI
Sent: Tuesday, June 02, 2015 12:45 PM
To: ceph-users@lists.ceph.com
Subject: [ceph-users] Error while installing ceph built from source

Hello,

I am trying to deploy a ceph cluster by compile from sources and I get an error 
with these messages:

dpkg: dependency problems prevent configuration of ceph:
 ceph depends on ceph-common (= 9.0.0-943); however:
  Version of ceph-common on system is 9.0.0-1.
 ceph-common (9.0.0-1) breaks ceph ( 9.0.0-943) and is unpacked but not 
configured.
  Version of ceph to be configured is 9.0.0-1.
.
.
.
.
Errors were encountered while processing:
 ceph
 ceph-dbg
 ceph-mds
 ceph-mds-dbg
 ceph-resource-agents


I followed the steps from the documentation to build Ceph packages from source:
1. ./autogen.sh
2. ./configure
3. make -j6
4. sudo dpkg-buildpackage


Now I am trying to deploy using the same procedure mentioned in ceph-deploy 
(with the exception of the ceph-deploy install ceph step):
1. ceph-deploy new hostname
2. sudo dpkg -i * (in the folder containing the .deb files)

At this step I get the error that is pasted above. I was able to follow the 
same procedure without any issues on 2 other machines but I am not able to 
identify the root cause. Any help from the community is appreciated!

Thanks,
Aakanksha
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



PLEASE NOTE: The information contained in this electronic mail message is 
intended only for the use of the designated recipient(s) named above. If the 
reader of this message is not the intended recipient, you are hereby notified 
that you have received this message in error and that any review, 
dissemination, distribution, or copying of this message is strictly prohibited. 
If you have received this communication in error, please notify the sender by 
telephone or e-mail (as shown above) immediately and destroy any and all copies 
of this message in your possession (whether hard copies or electronically 
stored copies).

___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com