pveceph command not found

Discussion in 'Proxmox VE: Installation and configuration' started by Antony Callistus, Jan 24, 2019.

  1. Antony Callistus

    Antony Callistus New Member

    Joined:
    Jan 21, 2019
    Messages:
    18
    Likes Received:
    1
    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
     
  2. Alwin

    Alwin Proxmox Staff Member
    Staff Member

    Joined:
    Aug 1, 2017
    Messages:
    2,163
    Likes Received:
    191
    'pveceph' is part of the pve-manager package. Can you please post the 'pveversion -v'?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Antony Callistus

    Antony Callistus New Member

    Joined:
    Jan 21, 2019
    Messages:
    18
    Likes Received:
    1
    pveversion command not found
     
  4. Antony Callistus

    Antony Callistus New Member

    Joined:
    Jan 21, 2019
    Messages:
    18
    Likes Received:
    1
    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
     
  5. Alwin

    Alwin Proxmox Staff Member
    Staff Member

    Joined:
    Aug 1, 2017
    Messages:
    2,163
    Likes Received:
    191
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Antony Callistus

    Antony Callistus New Member

    Joined:
    Jan 21, 2019
    Messages:
    18
    Likes Received:
    1
  7. Antony Callistus

    Antony Callistus New Member

    Joined:
    Jan 21, 2019
    Messages:
    18
    Likes Received:
    1
  8. Stoiko Ivanov

    Stoiko Ivanov Proxmox Staff Member
    Staff Member

    Joined:
    May 2, 2018
    Messages:
    1,198
    Likes Received:
    102
    Please post all your repositories and the full output of `apt update`
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. Antony Callistus

    Antony Callistus New Member

    Joined:
    Jan 21, 2019
    Messages:
    18
    Likes Received:
    1
    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.
     
    #9 Antony Callistus, Jan 24, 2019
    Last edited: Jan 24, 2019
  10. Antony Callistus

    Antony Callistus New Member

    Joined:
    Jan 21, 2019
    Messages:
    18
    Likes Received:
    1
    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
     
    pepabeme likes this.
  11. Stoiko Ivanov

    Stoiko Ivanov Proxmox Staff Member
    Staff Member

    Joined:
    May 2, 2018
    Messages:
    1,198
    Likes Received:
    102
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. Antony Callistus

    Antony Callistus New Member

    Joined:
    Jan 21, 2019
    Messages:
    18
    Likes Received:
    1
    the problem is only with the key
     
  13. Chris

    Chris Proxmox Staff Member
    Staff Member

    Joined:
    Jan 2, 2019
    Messages:
    223
    Likes Received:
    23
    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...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. Antony Callistus

    Antony Callistus New Member

    Joined:
    Jan 21, 2019
    Messages:
    18
    Likes Received:
    1
    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
     
  15. Chris

    Chris Proxmox Staff Member
    Staff Member

    Joined:
    Jan 2, 2019
    Messages:
    223
    Likes Received:
    23
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #15 Chris, Jan 25, 2019
    Last edited: Jan 25, 2019
  16. Antony Callistus

    Antony Callistus New Member

    Joined:
    Jan 21, 2019
    Messages:
    18
    Likes Received:
    1
  17. Chris

    Chris Proxmox Staff Member
    Staff Member

    Joined:
    Jan 2, 2019
    Messages:
    223
    Likes Received:
    23
    '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 ;)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #17 Chris, Jan 25, 2019
    Last edited: Jan 25, 2019
  18. pepabeme

    pepabeme New Member

    Joined:
    Feb 5, 2019
    Messages:
    1
    Likes Received:
    0
    I have the same error
     
  19. Chris

    Chris Proxmox Staff Member
    Staff Member

    Joined:
    Jan 2, 2019
    Messages:
    223
    Likes Received:
    23
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice