Re: Fwd: FW: ceph-deploy again

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I've run into this before too. I think with broken packages, you have to uninstall the previous version and do apt-get autoremove as well. Sometimes you have to manually uninstall whatever it lists as the broken packages and then do autoremove. Then, reinstall.


On Thu, Oct 3, 2013 at 12:20 AM, Harvey Skinner <hpmpec2a@xxxxxxxxx> wrote:
I am also having problems getting the latest version of ceph-deploy to install on Raring.
I was able to install the updated ceph-deploy about two months ago for Ubuntu 12.04 and Cuttlefish using the following two lines in the '/etc/apt/sources.list.d/ceph.list'  apt sources file on my 'Admin' node:
 
   deb http://ceph.com/debian-cuttlefish/ precise main
 
This worked to download the latest version of ceph-deploy, I believe it was 1.2-0 or something like that.

 I have now re-imaged my servers to Ubuntu 13.04 and going through the steps to deploy a new Ceph cluster using Cuttlefish on Raring.   Sounds simple, so ensure I have the following two lines in '/etc/apt/sources.list.d/ceph.list' :

   deb http://ceph.com/debian-cuttlefish/ raring main

Problem is when I try to 'sudo apt-get install ceph-deploy' I get an error saying I have broken packages.

ceph@S01:~$ sudo apt-get install ceph-deploy

Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:

 ceph-deploy : Depends: python-pushy (>= 0.5.3) but 0.5.1-1 is to be installed
E: Unable to correct problems, you have held broken packages.

 Am I getting the correct version of ceph-deploy from the right repo location?   Also since updated versions of ceph-deploy are no longer in the main Ceph repo (and I thought someone said ceph-deploy would not be in the main Ceph repo in the future), why isn't there a documentation update as part of the Quick Start and other doc pages telling users what lines to add to the apt source list?
 
When I tried the still 'documented' method for installing ceph-deploy:
 
echo deb http://ceph.com/debian-dumpling/ $(lsb_release -sc) main | sudo tee /etc/apt/sources.list.d/ceph.list
sudo apt-get update
sudo apt-get install ceph-deploy
I ended up with ceph-deploy v 1.0-1 on my Admin node, and I already suffered through that version enough previously.
 
thank you,
Harvey

From: ceph-users-bounces@xxxxxxxxxxxxxx [mailto:ceph-users-bounces@xxxxxxxxxxxxxx] On Behalf Of Alfredo Deza

Sent: Monday, September 23, 2013 12:57 PM
To: Bernhard Glomm
Subject: Re: ceph-deploy again

 

 

 

On Mon, Sep 23, 2013 at 11:23 AM, Bernhard Glomm <bernhard.glomm@xxxxxxxxxxx> wrote:

Hi all,

 
something with ceph-deploy doesen't work at all anymore.
After an upgrade ceph-depoly failed to roll out a new monitor
with "permission denied. are you root?"
(obviously there shouldn't be a root login so I had another user
for ceph-deploy before which worked perfectly, why not now?)
 
ceph_deploy.install][DEBUG ] Purging host ping ...
Traceback (most recent call last):
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
 
Does this mean I have to let root log into my Cluster with a passwordless key?
I would rather like to use another log in, like so far, if possible.

Can you paste here the exact command you are running (and with what user) ?

 

The howto on ceph.com doesn't say anything about it,
the  changelog.Debian.gz isn't very helpful either and
another changelog isn't (provided nor a README)
 
ceph-deploy is version 1.2.6
system is freshly installed raring
 
got this both lines in my sources.list
 
since this both didn't work
(couldn't find the python-pushy version ceph-deploy depends on)
 
TIA
 
Bernhard
 
--

Bernhard Glomm

IT Administration

Phone:

+49 (30) 86880 134

Fax:

+49 (30) 86880 100

Skype:

bernhard.glomm.ecologic

Ecologic Institut gemeinnützige GmbH | Pfalzburger Str. 43/44 | 10717 Berlin | Germany

GF: R. Andreas Kraemer | AG: Charlottenburg HRB 57947 | USt/VAT-IdNr.: DE811963464
Ecologic™ is a Trade Mark (TM) of Ecologic Institut gemeinnützige GmbH


_______________________________________________
ceph-users mailing list

 



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




--
John Wilkins
Senior Technical Writer
Intank
john.wilkins@xxxxxxxxxxx
(415) 425-9599
http://inktank.com
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux