command ‘apt-get update’ failed: exit code 100

The primary reason for this error is the inability of the tool to access the repositories used to fetch the necessary tool or update. This can occur if the repository is offline or if you’re attempting to access a paid repository without a subscription.

Solution

Finally, you can manually update your repository list to remove any domains that might be causing issues.

Step 1: Change the active working directory to where your repository list is saved. Typically, it’s located at the following path:

cd /etc/apt/sources.list.d

Step 2: As a precaution, back up the repository file so you can revert any changes if needed:

cp pve-enterprise.list pve-enterprise.list.backup

Step 3: Use a text editor like Nano to open the file and make the necessary edits:

nano pve-enterprise.list

Step 4: Locate the line below and add a ‘#’ at the beginning of the line to comment it out, effectively removing it from the repository list. Also, check for any other domains that may be causing issues and comment them out as well:

# https://enterprise.proxmox.com/debian/pve%20buster%20pve-enterprise

Now try running the update again, and it should work without any issues.

Leave a Comment