ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    ProxMox 6 to 7 Upgrade pve-apt-hook error Remove proxmox-ve

    IT Discussion
    proxmox debian linux
    1
    2
    1.4k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • scottalanmillerS
      scottalanmiller
      last edited by

      Getting the below error during and upgrade. A quick search did not turn up any results. So documenting here.

      Fetched 332 MB in 53s (6,217 kB/s)                                                                                                                                                                              
      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 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) run apt purge proxmox-ve to remove the meta-package
      W: (pve-apt-hook) and repeat your 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 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
      
      1 Reply Last reply Reply Quote 0
      • scottalanmillerS
        scottalanmiller
        last edited by

        It's an easy fix. Sometimes the directions for the upgrade don't account for the source location of the APT REPO for ProxMox. Check your /etc/apt files and see where your repo is configured. If you are going from Buster to Bullseye for example, make sure that you have this line somewhere and the error should go away...

        deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription
        
        1 Reply Last reply Reply Quote 1
        • 1 / 1
        • First post
          Last post