Skip to content

This page was adapted from Robert Mizen's "How to Change Proxmox Repository to Fix update Error" YouTube video.  If you're running the community edition of Proxmox (PVE) or Proxmox Backup Server (PBS), you'll most likely encounter the error below when the node attempts to update packages:

Image title

TASK ERROR: command 'apt-get update' failed: exit code 100

By default, Proxmox is configured to use Enterprise package repositories, which require a valid license to access.  When no license is present (Community Edition), it will fail to access the enterprise repositories and generate an error.  While this is expected, it means the PVE host can't perform updates. There are two options to resolve the error:

  1. Configure Proxmox with a valid license
  2. Continue without a license (community edition), and disable the enterprise package repositories and add the community ones.  

The following steps will guide you through option 2 for both the PVE and PBS hosts.  

Proxmox PVE Host

Proxmox Cluster

If you're running a cluster, you'll need to perform the same procedure on each Proxmox host.

  1. Log in to the PVE web console.
  2. Navigate to affected PVE Host > Updates > Repositories

    Image title

    a. click the affected PVE host
    b. navigate to "Updates"
    c. under updates, click "Repositories"

  3. Disable enterprise repositories

    Image title

    a. under File: /etc/apt/sources.list.d/ceph.list, select the enterprise repository
    b. click "Disable"

    Image title

    c. under File: /etc/apt/sources.list.d/pve-enterprise.list, select the enterprise repository
    d. click "Disable"

  4. Add "No Subscription" and desired Ceph repositories

    Click "Add" to add a repository.

    Image title

    Select "No-Subscription" from the drop-down, then click "Add"

    Image title

    Add another repository, this time selecting the desired Ceph repository (i.e., "Ceph Quincy No-Subscription").  Then click "Add".

    Ceph Releases

    If you plan to use Ceph Reef or Squid, you'll need to select either of those repositories instead of Quincy.

    Image title

You should now have the enterprise repositories disabled and the community repositories added.  If you are not planning to update repositories on PBS, then skip to Refresh updates to confirm.

Proxmox PBS Server

  1. Log in to the PBS web console
  2. Navigate to "Repositories"

    Image title

    a. in the left-side menu, click "Administration"
    b. in the Administration view, click the "Repositories" tab

  3. Disable enterprise repository

    Image title

    a. under File: /etc/apt/sources.list.d/pbs-enterprise.list, select the enterprise repository
    b. click "Disable"

  4. Add "No Subscription" repository

    Click "Add" to add a repository.

    Image title

    Select "No-Subscription" from the drop-down, then click "Add"

    Image title

Refresh updates to confirm

  1. Log into the PBS or PVE server

  2. Navigate to "Updates":

    For PVE, click the desired PVE Host, then click "Updates"

    Image title

    For PBS, click "Administration" and then click the "Updates" tab.

    Image title

  3. Click "Refresh" to manually refresh the package database.  You should see a status "OK", indicating no errors accessing the package repositories


grafts: