[SOLVED] Upgrading from no subscription to enterprise subscription fails

sscheib

New Member
Dec 13, 2016
6
0
1
36
Hello,
I just signed up for the community subscription and wanted to use the enterprise repository on my server.

I currently have the following entries in /etc/apt/sources.list/:
Code:
cat /etc/apt/sources.list
deb hxxp://ftp.de.debian.org/debian/ jessie main non-free contrib
deb-src hxxp://ftp.de.debian.org/debian/ jessie main non-free contrib
deb hxxp://security.debian.org/ jessie/updates main non-free contrib
deb-src hxxp://security.debian.org/ jessie/updates main non-free contrib
deb hxxp://ftp.de.debian.org/debian/ jessie-updates main non-free contrib
deb-src hxxp://ftp.de.debian.org/debian/ jessie-updates main non-free contrib
and in /etc/apt/sources.list.d/pve-install-repo.list:
Code:
cat /etc/apt/sources.list.d/pve-install-repo.list
deb hxxps://enterprise.proxmox.com/debian jessie pve-enterprise

So when I run apt-get update, I get the following error:
Code:
W: Failed to fetch hxxps://enterprise.proxmox.com/debian/dists/jessie/InRelease  Unable to find expected entry 'pve-enterprise/binary-amd64/Packages' in Release file (Wrong sources.list entry or malformed file)

I'm wondering what im doing wrong as I used the exact same line for apt as described in the wiki (hxxps://pve.proxmox.com/wiki/Package_Repositories).

Any help would be appreciated.

Last but not least some information about the system:
Linux pve 4.4.59-1-pve #1 SMP PVE 4.4.59-87 (Tue, 25 Apr 2017 09:01:58 +0200) x86_64 GNU/Linux

BTW: I was not allowed to post any links so I replaced http with hxxp. However in my configuration are only the valid http links.

Regards,
Steffen
 
check again your file, seems there is a format error.
 
I couldn't figure out what actually was malformed, but removing the file and re-adding the line, fixed the problem.
Thank you.