Failed to fetch http://___wheezy-updates_____Unable to connect to ftp.debian.org;http

PorxDewy

New Member
Mar 5, 2015
11
0
1
I have 4 Containers created on Proxmox 3.1. When I select Container and select console/start It starts no problem but when I give command apt-get update I get the same error for all CT's and all commands.Failed to fetch http://___wheezy-updates_____Unable to connect to ftp.debian.org;http. I have tried to ping Google and Unable to connect to network. I am very new to Proxmox and VM's so please be patient. :confused:
 
Re: Failed to fetch http://___wheezy-updates_____Unable to connect to ftp.debian.org;

I have 4 Containers created on Proxmox 3.1. When I select Container and select console/start It starts no problem but when I give command apt-get update I get the same error for all CT's and all commands.Failed to fetch http://___wheezy-updates_____Unable to connect to ftp.debian.org;http. I have tried to ping Google and Unable to connect to network.

Something wrong in your network configuration. Difficult to say what it is without having more details. Post the result of

Code:
grep -n "" /etc/pve/openvz/*
cat /etc/network/interfaces


making on the host and we can say more.
 
Re: Failed to fetch http://___wheezy-updates_____Unable to connect to ftp.debian.org;

result from #cat /etc/network/interfaces
Cat.etc.network.interfaces.PNG
grep -n "" /etc/pve/openvz/* :no such file or directory

grep -n.etc.pve.openvz.PNG
 
Re: Failed to fetch http://___wheezy-updates_____Unable to connect to ftp.debian.org;

second picture shows grep -n "" /etc/pve/openvx/*
 
Re: Failed to fetch http://___wheezy-updates_____Unable to connect to ftp.debian.org;

This problem has been solved. It was a problem with iptables, this was the code to fix--
iptables -t nat -A POSTROUTING -o eth0 -s 10.0.0.0/24 -j SNAT --to-source 'hostIpAddress'
This sorted it out.
Not my fix a fix from a friend.
Thanks all for help
 
Last edited:

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!