[SOLVED] Wrong sources.list entry or malformed file after Upgrade from nun-sub to sub

aPollO

Renowned Member
Mar 6, 2014
150
13
83
Cottbus, Germany
Hi,

today i upgraded from no-subscription to a subscription. After i added the subscription key and activated the enterprise repository in /etc/apt/sources.list.d/pve-enterprise.list (commted in the line) i get this error.

Code:
W: Failed to fetch https://enterprise.proxmox.com/debian/dists/jessie/InRelease  Unable to find expected entry 'pve-enterprise/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)

E: Some index files failed to download. They have been ignored, or old ones used instead.

I tried to delete the apt lists. But the issue still exists.

My /etc/apt/sources.list
Code:
deb http://ftp.de.debian.org/debian jessie main contrib

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


My /etc/apt/sources.list.d/pve-enterprise.list
Code:
deb https://enterprise.proxmox.com/debian jessie pve-enterprise

The directory /etc/apt/
Code:
root@proxmox01 /etc/apt # ll
total 56K
drwxr-xr-x   6 root root 4.0K Jun  2 11:25 .
drwxr-xr-x 123 root root  12K Jun  2 11:25 ..
drwxr-xr-x   2 root root 4.0K Jun  2 11:25 apt.conf.d
-rw-r-----   1 root root   99 Jun  2 11:25 auth.conf
-rw-r--r--   1 root root    0 Jun  2 11:15 auth.conf.lock
-rw-r--r--   1 root root   99 May 29  2015 listchanges.conf
drwxr-xr-x   2 root root 4.0K Oct 17  2014 preferences.d
-rw-r--r--   1 root root 4.9K Apr 28  2015 pve-repo-ca-certificates.crt
-rw-r--r--   1 root root  136 Jun  2 11:21 sources.list
drwxr-xr-x   2 root root 4.0K Jun  2 11:18 sources.list.d
-rw-------   1 root root 1.2K May 29  2015 trusted.gpg~
drwxr-xr-x   2 root root 4.0K May 30 12:06 trusted.gpg.d


The directory /etc/apt/sources.list.d/
Code:
root@proxmox01 /etc/apt/sources.list.d # ll
total 12K
drwxr-xr-x 2 root root 4.0K Jun  2 11:18 .
drwxr-xr-x 6 root root 4.0K Jun  2 11:25 ..
-rw-r--r-- 1 root root   64 Jun  2 11:18 pve-enterprise.list


Any idea?

Cheers
 
'pve-enterprise/binary-i386/Packages'
we have no 32 bit packages

what does
Code:
dpkg --print-architecture
show?

you can edit your pve-enterprise.list like this:

Code:
deb [arch=amd64] https://enterprise.proxmox.com/debian jessie pve-enterprise
 
we have no 32 bit packages

what does
Code:
dpkg --print-architecture
show?

it says amd64

you can edit your pve-enterprise.list like this:

Code:
deb [arch=amd64] https://enterprise.proxmox.com/debian jessie pve-enterprise

I remember i had to do this for no-subscription repository, too. With the argument "arch=amd64" it works perfectly. I dont know why this occurs.

Thank you very much!
 
it says amd64



I remember i had to do this for no-subscription repository, too. With the argument "arch=amd64" it works perfectly. I dont know why this occurs.

Thank you very much!

because you enabled multi-arch, and have (some) i386 packages installed. please check the other thread I linked!
 

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!