Update Error

simonv92

New Member
Mar 14, 2020
7
0
1
32
Hi all! I'm new to Proxmox. I'm running a no subscribe version 6.1.3
Every night I have this error: TASK ERROR: command 'apt-get update' failed: exit code 100
So I check this document: https://pve.proxmox.com/wiki/Package_Repositories
I delete the file in /etc/apt/sources.list.d/pve-enterprise.list
and set with nano /etc/apt/sources.list as follow:
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


# security updates

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


If I run a refresh in the updates page I always have these errors:

Code:
starting apt-get update



Err:1 http://ftp.debian.org/debian buster InRelease
Temporary failure resolving 'ftp.debian.org'
Err:2 http://download.proxmox.com/debian/pve buster InRelease
Temporary failure resolving 'download.proxmox.com'
Err:3 http://security.debian.org/debian-security buster/updates InRelease
Temporary failure resolving 'security.debian.org'
Err:4 http://ftp.debian.org/debian buster-updates InRelease
Temporary failure resolving 'ftp.debian.org'
Reading package lists...
W: Failed to fetch http://ftp.debian.org/debian/dists/buster/InRelease Temporary failure resolving 'ftp.debian.org'
W: Failed to fetch http://ftp.debian.org/debian/dists/buster-updates/InRelease Temporary failure resolving 'ftp.debian.org'
W: Failed to fetch http://download.proxmox.com/debian/pve/dists/buster/InRelease Temporary failure resolving 'download.proxmox.com'
W: Failed to fetch http://security.debian.org/debian-security/dists/buster/updates/InRelease Temporary failure resolving 'security.debian.org'
W: Some index files failed to download. They have been ignored, or old ones used instead.
TASK OK

What can I do?
Thank you very much!
Simone
 
Looks like your name resolution is broken. Can you do a "ping ftp.debian.org"?
 
Here is my source.list

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

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

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


and /etc/apt/sources.list.d/pve-enterprise.list
Code:
#deb https://enterprise.proxmox.com/debian/pve buster pve-enterprise

and it's working. Hope that will help you :)
 
Thank you very much guys! I'm now running a few test on the server, after that I'll check :)
 
Here is my source.list

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

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

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


and /etc/apt/sources.list.d/pve-enterprise.list
Code:
#deb https://enterprise.proxmox.com/debian/pve buster pve-enterprise

and it's working. Hope that will help you :)

You do not have any active Proxmox VE Repository, that's far from good.. https://pve.proxmox.com/wiki/Package_Repositories
 
You do not have any active Proxmox VE Repository, that's far from good.. https://pve.proxmox.com/wiki/Package_Repositories

Thanks for your suggest
I reconfigured my list. Here is new list
Code:
deb http://ftp.us.debian.org/debian buster main contrib

deb http://ftp.us.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 buster/updates main contrib (old)
deb http://security.debian.org/debian-security buster/updates main contrib
# deb http://security-cdn.debian.org/debian-security buster/updates main contrib

And now it's working
 

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!