[SOLVED] Unable to apt-get update with no-subscription repo

cclloyd

Active Member
Dec 4, 2018
17
1
43
47
When I run `apt-get update` using the no subscription repo, I get the following output:

Code:
Err:6 https://download.proxmox.com/debian/pve buster Release
  Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected.  Could not handshake: Error in the certificate verification. [IP: 2607:5300:60:5506::81 443]
Reading package lists... Done
E: The repository 'https://download.proxmox.com/debian/pve buster Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

The repo I'm using in my sources.list.d/pve-no-subscription.ist is:
Code:
deb https://download.proxmox.com/debian/pve buster pve-no-subscription

When I visit the url https://download.proxmox.com/debian/pve, the certificate shows as invalid because it's the certificate for enterprise.proxmox.com. However, using http it can connect. Is this an error on Proxmox's part, or is it not intended to be able to connect to that repo over https?
 
  • Like
Reactions: hbreda
I am getting this error as well. Here is what is in my sources.list

Code:
deb http://ftp.debian.org/debian buster main contrib
deb http://ftp.debian.org/debian buster-updates main contrib


# PVE pve-no-subscription repository provided by proxmox.com,
# NOT recommended for production use
#deb http://download.proxmox.com/debian/pve buster pve-no-subscription
deb http://download.proxmox.com/debian buster pve-no-subscription
# security updates
deb http://security.debian.org/debian-security buster/updates main contrib

any help greatly appreciated
 
I am getting this error as well. Here is what is in my sources.list

Code:
deb http://ftp.debian.org/debian buster main contrib
deb http://ftp.debian.org/debian buster-updates main contrib


# PVE pve-no-subscription repository provided by proxmox.com,
# NOT recommended for production use
#deb http://download.proxmox.com/debian/pve buster pve-no-subscription
deb http://download.proxmox.com/debian buster pve-no-subscription
# security updates
deb http://security.debian.org/debian-security buster/updates main contrib

any help greatly appreciated


I had the same issue I was able to fix mine by commenting out everything in /etc/apt/sources.list.d both those files need to be blank.
Secondly make your sources.list;
deb http://ftp.debian.org/debian buster main contrib
deb http://ftp.debian.org/debian buster-updates main contrib

# PVE pve-no-subscription repository provided by proxmox.com,
# NOT recommended for production use
deb http://download.proxmox.com/debian/pve buster pve-no-subscription

# security updates
deb http://security.debian.org/debian-security buster/updates main contrib

___________________________________________________________________________________
on this line deb http://download.proxmox.com/debian/pve buster pve-no-subscription the "/pve" after debian is needed
really hope this helps!
 
  • Like
Reactions: macklin
I had the same issue I was able to fix mine by commenting out everything in /etc/apt/sources.list.d both those files need to be blank.
Secondly make your sources.list;
deb http://ftp.debian.org/debian buster main contrib
deb http://ftp.debian.org/debian buster-updates main contrib

# PVE pve-no-subscription repository provided by proxmox.com,
# NOT recommended for production use
deb http://download.proxmox.com/debian/pve buster pve-no-subscription

# security updates
deb http://security.debian.org/debian-security buster/updates main contrib

___________________________________________________________________________________
on this line deb http://download.proxmox.com/debian/pve buster pve-no-subscription the "/pve" after debian is needed
really hope this helps!
cool, I think this has solved it.... thanks a million...
 
  • Like
Reactions: Curtis_7015
It is because people make mistakes. Please follow the official documentation, section 3.1.2: deb http://download.proxmox.com/debian/pve buster pve-no-subscription
It was not for me the observation, since I always use the /pve line ... Just came across many guides in the past which mentioned the line without the /pve and thought that both would work even though I never tempted to try and remove the /pve and see what happens without the pve line

Thank you for the clarification
 
It was not for me the observation, since I always use the /pve line ... Just came across many guides in the past which mentioned the line without the /pve and thought that both would work even though I never tempted to try and remove the /pve and see what happens without the pve line

Thank you for the clarification
I haven't actually tested without /pve and it's just my view on life, the universe and everything, but I am known to make mistakes :p
EDIT: Okay, I tested it and both work. That's probably why nobody realized their mistake. Or is it a mistake? I guess we need historical information on which came first.
 
Last edited:
  • Like
Reactions: ieronymous
Can someone help me with this. I seem cannot update and the error shows this way.

Does the update/upgrade requires internet connection with the same network?

1625585573752.png
 
If your question:
Does the update/upgrade requires internet connection with the same network?
indicate that the proxmox server doesn't have access to the internet, then yes - that is required. An alternative is to run your own mirrors of the relevant repositories from proxmox, debian and any other repositories you need.
 
If your question:

indicate that the proxmox server doesn't have access to the internet, then yes - that is required. An alternative is to run your own mirrors of the relevant repositories from proxmox, debian and any other repositories you need.
what should i do to make sure that my proxmox server have access to the internet? Because i had to configure this on my network so that i can access to my server. without doing so i cannot access my web gui. When i did this, the network cannot access the internet.

1625590376424.png
 
Last edited:
what should i do to make sure that my proxmox server have access to the internet? Because i had to configure this on my network so that i can access to my server. without doing so i cannot access my web gui.

View attachment 27353

The subnet you are using is a public network, not a private IP address range. Assuming that your Proxmox install is not receiving a dedicated public IP but instead you are on a local network with private address ranges, you need to fix your networking. Why not just handout an IP with DHCP? Also, you didn't fix your repos. The Proxmox repo is still wrong.
 
The subnet you are using is a public network, not a private IP address range. Assuming that your Proxmox install is not receiving a dedicated public IP but instead you are on a local network with private address ranges, you need to fix your networking. Why not just handout an IP with DHCP? Also, you didn't fix your repos. The Proxmox repo is still wrong.
Thanks for the tips. I will try to fix my networking. How do i fix the repo btw?
 
I had the same issue I was able to fix mine by commenting out everything in /etc/apt/sources.list.d both those files need to be blank.
Secondly make your sources.list;
deb http://ftp.debian.org/debian buster main contrib
deb http://ftp.debian.org/debian buster-updates main contrib

# PVE pve-no-subscription repository provided by proxmox.com,
# NOT recommended for production use
deb http://download.proxmox.com/debian/pve buster pve-no-subscription

# security updates
deb http://security.debian.org/debian-security buster/updates main contrib

___________________________________________________________________________________
on this line deb http://download.proxmox.com/debian/pve buster pve-no-subscription the "/pve" after debian is needed
really hope this helps!
hello, i have same problem, the proxmox can connect to internet i can ping to 8.8.8.8, any help would be greatly appreciated
 

Attachments

  • Capture2.JPG
    Capture2.JPG
    41.7 KB · Views: 87
  • Capture.JPG
    Capture.JPG
    95.9 KB · Views: 84
hello, i have same problem, the proxmox can connect to internet i can ping to 8.8.8.8, any help would be greatly appreciated
i will answer my own question lol. hopefully some one can use it, on nano /etc/resolv.conf change the server ip to 8.8.8.8, and that was it, after 4 hours of research
 
  • Like
Reactions: nemo123

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!