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 <hpmpe...@gmail.com> 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 > deb http://ceph.com/packages/ceph-extras/debian/ 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 > deb http://ceph.com/packages/ceph-extras/debian/ 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: > > > wget -q -O- ' > https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc' | sudo > apt-key add - > 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-boun...@lists.ceph.com [mailto: > ceph-users-boun...@lists.ceph.com] *On Behalf Of *Alfredo Deza > *Sent:* Monday, September 23, 2013 12:57 PM > *To:* Bernhard Glomm > *Cc:* ceph-us...@ceph.com > *Subject:* Re: [ceph-users] ceph-deploy again**** > > ** ** > > ** ** > > ** ** > > On Mon, Sep 23, 2013 at 11:23 AM, Bernhard Glomm < > bernhard.gl...@ecologic.eu> 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 > deb http://192.168.242.91:3142/ceph.com/debian/ raring main > deb http://192.168.242.91:3142/ceph.com/packages/ceph-extras/debian/raring > main > > since this both didn't work > #deb http://gitbuilder.ceph.com/ceph-deb-raring-x86_64-basic/ref/dumpling/ > raring main > #deb http://gitbuilder.ceph.com/cdep-deb-raring-x86_64-basic/ref/master/ > raring main > (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 **** > > **** <http://ecologic.eu> > > 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@lists.ceph.com* > *http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com***** > > ** ** > > > > _______________________________________________ > ceph-users mailing list > ceph-users@lists.ceph.com > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com > > -- John Wilkins Senior Technical Writer Intank john.wilk...@inktank.com (415) 425-9599 http://inktank.com
_______________________________________________ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com