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

Proxmox VE No-Subscription Repository​

Just copy this and paste using Proxmox Shell -

# cd /etc/apt/sources.list.d
# ls
# nano pve-enterprise.list

Code:
# Commented out because I'm using no subscription repository

#deb https://enterprise.proxmox.com/debian/pve bullseye pve-enterprise
Then we need to save this code so:
Control X,
Y,
Enter

we are half way done now lets do the last step

<===============================================================================================================>
# nano /etc/apt/sources.list


Code:
# This is for non-production use
deb http://ftp.us.debian.org/debian bullseye main contrib
deb http://ftp.us.debian.org/debian bullseye-updates main contrib

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

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

Then we need to save this code so:
Control X,
Y,
Enter


we are done so now lets

# apt-get update
# apt-get dist-upgrade


Congratulations you did it!
I hope this made it super easy :)




<=============================================================================================================>



1) Click Shell
pve-enterprise.list_Shell.png

2) see pics below
pve-enterprise.list.png
pve-enterprise.list2.png
Then we need to save this code so:
Control X,
Y,
Enter

pve-enterprise.list3.png
pve-enterprise.list4.png
Then we need to save this code so:
Control X,
Y,
Enter


we are done so now lets

# apt-get update
# apt-get dist-upgrade


Congratulations you did it!
I hope this made it super easy :)
please give me a thumbs up if this helped

Thanks
Mike
 
Last edited:
Hi all,

reading through all these posts I still was not able to get this working and still getting this strange error message of the original post.

So here is my /etc/apt/source.list file:

Code:
 cat sources.list
deb http://ftp.de.debian.org/debian bullseye main contrib
deb http://ftp.de.debian.org/debian bullseye-updates main contrib
deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription
# security updates
deb http://security.debian.org bullseye-security main contrib

I deleted the /etc/apt/sources.list/pve-enterprise.list file.

I also rebooted the node.

Every apt update returns:

Code:
# apt update
Get:1 http://download.proxmox.com/debian/pve bullseye InRelease
Get:2 http://security.debian.org bullseye-security InRelease
Get:3 http://ftp.de.debian.org/debian bullseye InRelease
Get:4 http://ftp.de.debian.org/debian bullseye-updates InRelease
Err:1 http://download.proxmox.com/debian/pve bullseye InRelease
  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
Err:2 http://security.debian.org bullseye-security InRelease
  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
Err:3 http://ftp.de.debian.org/debian bullseye InRelease
  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
Err:4 http://ftp.de.debian.org/debian bullseye-updates InRelease
  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
Reading package lists... Done
N: See apt-secure(8) manpage for repository creation and user configuration details.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
E: The repository 'http://download.proxmox.com/debian/pve bullseye InRelease' is no longer signed.
E: Failed to fetch http://download.proxmox.com/debian/pve/dists/bullseye/InRelease  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)

Anything I am overlooking?

Thanks for your help.
Günter
 
Answering my own question, which might be helpful for others.

Reading the error message more carefull it suggests, that the replay returned a file that was not signed. But opening the requested file http://ftp.de.debian.org/debian/dists/bullseye/InRelease with the browser showed me, that it is signed.

So I ran the apt update with more debug information:

apt -oDebug::pkgAcquire::Worker=1 update

and noticed, that my router did not allow internet access and the returned error message was the received file, which of course was not signed.

:oops:

So enabling the internet access solved the problem.
 
  • Like
Reactions: mikeinnyc

Proxmox VE No-Subscription Repository​

Just copy this and paste using Proxmox Shell -

# cd /etc/apt/sources.list.d
# ls
# nano pve-enterprise.list

Code:
# Commented out because I'm using no subscription repository

#deb https://enterprise.proxmox.com/debian/pve bullseye pve-enterprise
Then we need to save this code so:
Control X,
Y,
Enter

we are half way done now lets do the last step

<===============================================================================================================>
# nano /etc/apt/sources.list


Code:
# This is for non-production use
deb http://ftp.us.debian.org/debian bullseye main contrib
deb http://ftp.us.debian.org/debian bullseye-updates main contrib

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

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

Then we need to save this code so:
Control X,
Y,
Enter


we are done so now lets

# apt-get update
# apt-get dist-upgrade


Congratulations you did it!
I hope this made it super easy :)




<=============================================================================================================>



1) Click Shell
View attachment 29506

2) see pics below
View attachment 29507
View attachment 29509
Then we need to save this code so:
Control X,
Y,
Enter

View attachment 29510
View attachment 29511
Then we need to save this code so:
Control X,
Y,
Enter


we are done so now lets

# apt-get update
# apt-get dist-upgrade


Congratulations you did it!
I hope this made it super easy :)
please give me a thumbs up if this helped

Thanks
Mike
Thanks Mike, just what the doctor ordred.
I only did :

# apt-get dist-upgrade

this was because i am on 7.1 and 7.2 doesn't want to work on my optiplex 755.
 
  • Like
Reactions: mikeinnyc
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
Same problem here. and same fix worked like a charm.

Please check if the DHCP server you use isn't configured to use an internal IP-address for resolving (by running your own DNS serve, for example). Or that it is the first (primary) entry in a list of DNS servers you have configured there. Linux machines tend to only take the first entry from the DHCP entries you may have configured there.