Page 1 of 1

Welcome to the Tweaking4All community forums!
When participating, please keep the Forum Rules in mind!

Topics for particular software or systems: Start your topic link with the name of the application or system.
For example “MacOS X – Your question“, or “MS Word – Your Tip or Trick“.

Please note that switching to another language when reading a post will not bring you to the same post, in Dutch, as there is no translation for that post!

Proxmox - Update ap...
Clear all

Proxmox - Update apt-get lists for non-subscribers

1 Posts
1 Users
0 Reactions
Famed Member Admin
Joined: 11 years ago
Posts: 2705
Topic starter  

I'm using Proxmox, without the subscription, for my private little experiments.
With that I noticed an update warning "TASK ERROR: command 'apt-get update' failed: exit code 100".
Looking at it in a shell, running apt-get update, I noticed errors with the source of the updates, to find out that as a non-paying users, I cannot use the enterprise grade update sources. So that sucks ... but there is a fix for it.

Open a shell, and got to the directory where the update source files are:

cd /etc 
cd apt/sources.list.d/

(Note: modsecurity, the rules that protect this website, didn't like it when I typed this in one sentence - any experts out there that can help, it's rule 950018)

Here we will create two files. 

Tip: I like using "nano" as a text editor, which you close with CTRL+X.

nano pve-no-subscription.list

and paste this content in this first file;

# For non-paying users:
# NOT recommended for production use

deb  bookworm main contrib
deb  bookworm-updates main contrib

deb  bookworm pve-no-subscription

# security updates
deb  bookworm-security main contrib

Now create the next file:

nano ceph-no-subscription.list

And paste this in that file:

deb  bookworm no-subscription


Now that we updated these sources, we will need to do a few updates:

apt-get update
apt-get dist-upgrade

Seems recommended, I'm not an expert, to always run "apt-get dist-upgrade", and not just "apt-get upgrade".
I read somewhere that dist-upgrade ensures that all packages and their dependencies are updated.

Also not that the no-subscription repositories may not be guaranteed to be stable and more likely to be cutting edge. So Promox does not recommended this for enterprise/production environments.

This topic was modified 1 month ago by Hans