Trouble with apt-get update

WhiteStarEOF

Active Member
Mar 6, 2012
96
10
28
I'm having trouble running apt-get update on a fresh install of Proxmox 3.1. It gets a good ways in to it, then hits enterprise.proxmox.com, and then fails with a 401. I put the URL in a browser, and sure 'nuff it's asking for authentication. I'm not sure how best to get around this, but I do need to get around it. Thoughts and opinions?

Code:
Err https://enterprise.proxmox.com wheezy/pve-enterprise amd64 Packages  The requested URL returned error: 401
Ign https://enterprise.proxmox.com wheezy/pve-enterprise Translation-en_US
Ign https://enterprise.proxmox.com wheezy/pve-enterprise Translation-en
W: Failed to fetch https://enterprise.proxmox.com/debian/dists/wheezy/pve-enterprise/binary-amd64/Packages  The requested URL returned error: 401


E: Some index files failed to download. They have been ignored, or old ones used instead.
 
You sure you commented out the line "deb https://enterprise.proxmox.com/debian wheezy pve-enterprise" in "/etc/apt/sources.list.d/pve-enterprise.list" and ran "apt-get update"? because that will stop the "failed to ftech" errors.

damn... no you're right... i've misread the repo docs... i thought it was in /etc/apt/sources.ist. Dis as you pointed out, and now I have no more errors...

Thanks,
Marco