"apt-cache policy" shows you the different versions that are possible to
install, and the prioritized order they have.
the highest version will normally be installed unless priorities are
changed.
example:
apt-cache policy ceph
ceph:
Installed: 12.2.1-1~bpo90+1
Candidate: 12.2.1-1~bpo90+1
Version table:
*** 12.2.1-1~bpo90+1 500
500 http://download.ceph.com/debian-luminous stretch/main amd64
Packages
100 /var/lib/dpkg/status
10.2.5-7.2 500
500 http://deb.debian.org/debian stretch/main amd64 Packages
apt-get install ceph=$version will install that spesific version.
example in my case:
apt install ceph=10.2.5-7.2
will downgrade to the previous version.
kind regards
Ronny Aasen
On 29.09.2017 15:40, Kashif Mumtaz wrote:
Dear Stefan,
Thanks for your help. You are right. I was missing apt update" after
adding repo.
After doing apt update I am able to install luminous
cadmin@admin:~/my-cluster$ ceph --version
ceph version 12.2.1 (3e7492b9ada8bdc9a5cd0feafd42fbca27f9c38e)
luminous (stable)
I am not much in practice with Ubuntu. I use Centos/RHEL only . This
time a specific requirement to install it on Ubuntu.
I want to ask one thing.
Now ceph two version availbe in repository.
1- Jewel in Ubuntu update repository
2 - Manually added ceph Repository
If one package available in multiple repository with different version
How can I install specific version ?
.
On Friday, September 29, 2017 9:57 AM, Stefan Kooman <ste...@bit.nl>
wrote:
Quoting Kashif Mumtaz (kashif.mum...@yahoo.com
<mailto:kashif.mum...@yahoo.com>):
>
> Dear User,
> I am striving had to install Ceph luminous version on Ubuntu
16.04.3 ( xenial ).
> Its repo is available at https://download.ceph.com/debian-luminous/
<https://download.ceph.com/debian-luminous/%C2%A0>
> I added it like sudo apt-add-repository 'deb
https://download.ceph.com/debian-luminous/ xenial main'
> # more sources.list
> deb https://download.ceph.com/debian-luminous/ xenial main
^^ That looks good.
> It say no package available. Did anybody able to install Luminous on
Xenial by using repo?
Just checkin': you did a "apt update" after adding the repo?
The repo works fine for me. Is the Ceph gpg key installed?
apt-key list |grep Ceph
uid Ceph.com (release key) <secur...@ceph.com
<mailto:secur...@ceph.com>>
Make sure you have "apt-transport-https" installed (as the repos uses
TLS).
Gr. Stefan
--
| BIT BV http://www.bit.nl/ Kamer van Koophandel 09090351
| GPG: 0xD14839C6 +31 318 648 688 / i...@bit.nl
<mailto:i...@bit.nl>
_______________________________________________
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