Ceph install problem

Mehmet Sait YILMAZ

New Member
Aug 5, 2018
5
0
1
41
Hello i never see that problem before

when i try to install ceph luminous ,
i see it , what is problem ?

"
The following packages will be REMOVED:
libpve-guest-common-perl libpve-storage-perl proxmox-ve pve-container pve-ha-manager
pve-manager qemu-server
"


Do you want to continue? [Y/n] y
W: (pve-apt-hook) !! WARNING !!
W: (pve-apt-hook) You are attempting to remove the meta-package 'proxmox-ve'!
W: (pve-apt-hook)
W: (pve-apt-hook) If you really you want to permanently remove 'proxmox-ve' from your system, run the following command
W: (pve-apt-hook) touch '/please-remove-proxmox-ve'
W: (pve-apt-hook) and repeat your apt-get/apt invocation.
W: (pve-apt-hook)
W: (pve-apt-hook) If you are unsure why 'proxmox-ve' would be removed, please verify
W: (pve-apt-hook) - your APT repository settings
W: (pve-apt-hook) - that you are using 'apt-get dist-upgrade' or 'apt full-upgrade' to upgrade your system
E: Sub-process /usr/share/proxmox-ve/pve-apt-hook returned an error code (1)
E: Failure running script /usr/share/proxmox-ve/pve-apt-hook
 
I have the same problem.
pveceph install --verison luminous brings:

Need to get 0 B/54.8 MB of archives.
After this operation, 169 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
W: (pve-apt-hook) !! WARNING !!
W: (pve-apt-hook) You are attempting to remove the meta-package 'proxmox-ve'!
W: (pve-apt-hook)
W: (pve-apt-hook) If you really you want to permanently remove 'proxmox-ve' from your system, run the following command
W: (pve-apt-hook) touch '/please-remove-proxmox-ve'
W: (pve-apt-hook) and repeat your apt-get/apt invocation.
W: (pve-apt-hook)
W: (pve-apt-hook) If you are unsure why 'proxmox-ve' would be removed, please verify
W: (pve-apt-hook) - your APT repository settings
W: (pve-apt-hook) - that you are using 'apt-get dist-upgrade' or 'apt full-upgrade' to upgrade your system
E: Sub-process /usr/share/proxmox-ve/pve-apt-hook returned an error code (1)
E: Failure running script /usr/share/proxmox-ve/pve-apt-hook


My /etc/apt/sources.list.d/ceph.list contains:
deb http://download.proxmox.com/debian/ceph-luminous stretch main
 
Even I had today issue.
Installed Proxmox.
Than install over non subscription
Now trying pveceph install

Got into same error asking for removal.
 
Got the mistake ,
The non subscription details in repo file had spelling mistakes.

Means not having repo property.

At the same time after correction it was showing same error, seems some how cache of apt was not getting clear.

After a fresh install and proper repo file configuration was able to install ceph.

Thanks.
 
I am having exactly the same problem. Fresh install using the 5.2 iso.

pveceph install does not work and attempts to remove proxmox-ve.

This is a fresh install, not changed any repo or anything. I do not have a subscription.

I installed proxmox 5.2 3 times 2 months ago and installed Ceph just fine.

What has changed?
 
Hi
do a fresh install of proxmox 5.2 via iso
than for installing a no-subscription package do following.

##Check and make note of your kernel (so that you can confirm you got repo install proper and update properly)
uname -a
### you would get output like : Linux ws22 4.15.17-1-pve #1 SMP PVE 4.15.17-9 (Wed, 9 May 2018 13:31:43 +0200) x86_64 GNU/Linux

## remove enterprise repo.
mv /etc/apt/sources.list.d/pve-enterprise.list /root/

## add no-subscription repo
echo "deb http://download.proxmox.com/debian/pve stretch pve-no-subscription" > /etc/apt/sources.list.d/pve-no-sub.list

## do update, upgrade & dist-upgrade
apt-get update
apt-get upgrade
apt-get dist-upgrade

## make sure you see latest kernel ..uname -a (if you see new version like below or greater , its updated)
uname -a
## new output Linux air 4.15.18-7-pve #1 SMP PVE 4.15.18-27 (Wed, 10 Oct 2018 10:50:11 +0200) x86_64 GNU/Linux

#Now have a reboot and got for ceph installation , it would got fine.

pveceph install


-Deepen.
 
I am having exactly the same problem. Fresh install using the 5.2 iso.

pveceph install does not work and attempts to remove proxmox-ve.

This is a fresh install, not changed any repo or anything. I do not have a subscription.

I installed proxmox 5.2 3 times 2 months ago and installed Ceph just fine.

What has changed?


Hi
do a fresh install of proxmox 5.2 via iso
than for installing a no-subscription package do following.

##Check and make note of your kernel (so that you can confirm you got repo install proper and update properly)
uname -a
### you would get output like : Linux ws22 4.15.17-1-pve #1 SMP PVE 4.15.17-9 (Wed, 9 May 2018 13:31:43 +0200) x86_64 GNU/Linux

## remove enterprise repo.
mv /etc/apt/sources.list.d/pve-enterprise.list /root/

## add no-subscription repo
echo "deb http://download.proxmox.com/debian/pve stretch pve-no-subscription" > /etc/apt/sources.list.d/pve-no-sub.list

## do update & dist-upgrade
apt-get update
apt-get dist-upgrade

## make sure you see latest kernel ..uname -a (if you see new version like below or greater , its updated)
uname -a
## new output Linux air 4.15.18-7-pve #1 SMP PVE 4.15.18-27 (Wed, 10 Oct 2018 10:50:11 +0200) x86_64 GNU/Linux

#Now have a reboot and got for ceph installation , it would got fine.

pveceph install


-Deepen.
 
Last edited by a moderator:
Thanks for the reply. I actually resolved this simply by adding the no sub repo into sources.list, running an apt update and then pveceph install.

However I swear blind that the 3 seperate proxmox ceph installs I done 2 months ago installed Ceph just fine without me manually adding the no sub repo!

The only thing I have done differently this time round was to download a fresh copy of the 5.2 ISO as I couldn't find the 5.2 ISO I downloaded previously.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!