'buster' repo keeps coming back on 'bullseye'

evanonym0us

New Member
Nov 10, 2021
28
0
1
I updated my proxmox system from 6 to 7, and the upgrade was completed successfully. The repository lists were also updated to the bullseye repositories. I noticed that one buster repository keeps coming back. (https://imgur.com/a/knmHMbj). I can delete the repo or disable it, but it will always re-enable itself or re-add itself if deleted. What can I do?
 
Did you try to delete the file? (rm /etc/apt/sources.list.d/pve-no-subscription.list)
If not the contents of that file will be included in your "/etc/apt/sources.list".
 
Last edited:
I can delete the repo or disable it, but it will always re-enable itself or re-add itself if deleted. What can I do?
That file is not shipped by Proxmox VE, nor is it used to add new repos by our repo management api, so, how did you deploy Proxmox VE, is there some integration that reinstalls this, when does it "come back", on reboot or after a certain time?
 
Did you try to delete the file? (rm /etc/apt/sources.list.d/pve-no-subscription.list)
If not the contents of that file will be included in your "/etc/apt/sources.list".
Yes, I have tried deleting it. It keeps on coming back.
 
That file is not shipped by Proxmox VE, nor is it used to add new repos by our repo management api, so, how did you deploy Proxmox VE, is there some integration that reinstalls this, when does it "come back", on reboot or after a certain time?
I installed it via the iso that is provided by you guys. It comes back after each restart, and after a certain amount of time has passed, I'm not sure on the exact amount of time. Thank you for helping me with this issue.
 
Hi,
if it were something from the ISO, I would expect more users to report such an issue. Did you install any external Proxmox VE-related tooling/add-ons or set up some scripts?

To find out what process is creating the file, you could (before the file is created!)
Code:
apt install auditd
auditctl -w /etc/apt/sources.list.d -pw -k aptsources
and after the file is created check with
Code:
ausearch -k aptsources