pveceph command not found

Antony Callistus

New Member
Jan 21, 2019
18
1
1
28
After installing libpve-storage-perl 5.0-25 package i was not able too use pveceph command and the command was not found in proxmox can i know how to install the command again in proxmox
 
'pveceph' is part of the pve-manager package. Can you please post the 'pveversion -v'?
 
root@pve:~# pveversion -v
-bash: pveversion: command not found
root@pve:~# apt-get install proxmox-ve
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package proxmox-ve is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'proxmox-ve' has no installation candidate
 
Repositories at /etc/apt/sources.list
deb https://mirror.hmc.edu/debian stretch main contrib

deb http://ftp.debian.org/debian stretch main contrib

# security updates
deb http://security.debian.org stretch/updates main contrib

Repositories at /etc/apt/source.list.d/pve-enterprise.list

deb https://enterprise.proxmox.com/debian/pve stretch pve-enterprise

full output of apt update

Ign:2 http://ftp.debian.org/debian stretch InRelease
Hit:3 http://ftp.debian.org/debian stretch Release
Hit:1 http://security-cdn.debian.org stretch/updates InRelease
Hit:5 http://download.proxmox.com/debian/ceph-luminous stretch InRelease
Err:5 http://download.proxmox.com/debian/ceph-luminous stretch InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0*******E2EF0603
Ign:6 https://enterprise.proxmox.com/debian/pve stretch InRelease
Err:7 https://enterprise.proxmox.com/debian/pve stretch Release
401 Unauthorized
Ign:8 https://mirror.hmc.edu/debian stretch InRelease
Hit:9 https://mirror.hmc.edu/debian stretch Release
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://download.proxmox.com/debian/ceph-luminous stretch InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0**************EF0603
E: The repository 'https://enterprise.proxmox.com/debian/pve stretch Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
 
Last edited:
Please post all your repositories and the full output of `apt update`
can you tell me how to reinstall the proxmox again
beacause

root@pve:~# apt-get install proxmox-ve
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package proxmox-ve is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'proxmox-ve' has no installation candidate
 
  • Like
Reactions: pepabeme
You don't need a key for the no-subscription repository. Please follow the instructions in the link posted by Stoiko to set the repo up correctly...
 
You don't need a key for the no-subscription repository. Please follow the instructions in the link posted by Stoiko to set the repo up correctly...
Okay, I have another doubt , I wish to download the packages on my own and try to install proxmox without downloading using the command what it is the procedure for it.

In which folder i should include packages from http://security.debian.org and http://download.proxmox.com/

how should run it
 
Of course you could download the needed packages from http://download.proxmox.com/debian/pve/dists/stretch/pve-no-subscription/binary-amd64/ and install them via a 'dpkg -i package'... But I would not recommend this at all as this is going the the hard way for no reason...
What you should do instead is open up the file
Code:
/etc/apt/sources.list
in the editor of your choosing (but you need to run it as root) and edit it to be like this
Code:
deb http://ftp.debian.org/debian stretch main contrib

# PVE pve-no-subscription repository provided by proxmox.com,
# NOT recommended for production use
deb http://download.proxmox.com/debian/pve stretch pve-no-subscription

# security updates
deb http://security.debian.org stretch/updates main contrib

save it and run 'apt update' and 'apt dist-upgrade'. Here, the for the pve no-subscription repo important part is "deb http://download.proxmox.com/debian/pve stretch pve-no-subscription".

After this you should also be able to install pve-manager and every other pve package from this repository.

Just to clarify, the error you get about the missing key is because the GPG signature of the downloaded packets/repos is checked but you don't have the public key on your machine to verify it.
 
Last edited:
'dpkg -i packages' will install the downloaded packages... https://linux.die.net/man/1/dpkg You have to run this in the folder containing the packages, doesn't really matter where you have placed them... If you correctly installed all the packages, the WebUI should be reachable from the browser again. Still not sure why you want to do it the hard way ;)
 
Last edited:
can you tell me how to reinstall the proxmox again
beacause

root@pve:~# apt-get install proxmox-ve
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package proxmox-ve is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'proxmox-ve' has no installation candidate

I have the same error
 

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!