I can't install, update or upgrade my containers

tank

New Member
May 4, 2023
5
0
1
For the past five days, I have been trying to work with containers on Proxmox without success. Despite having the latest firmware, I've attempted multiple troubleshooting steps, I've tried installing Docker and Curl, updating and upgrading, changing the name server, and modifying the source.list. Unfortunately, none of these solutions have yielded positive results. I've run all the required commands, but I'm still encountering issues.



I've change the source.list too


versions of the distribution.


deb http://archive.ubuntu.com/ubuntu/ focal main restricted


# deb-src http://archive.ubuntu.com/ubuntu/ focal main resuricted


## Major bug fix updates produced after the final release of the ## distribution.


deb http://archive.ubuntu.com/ubuntu/ focal-updates main restricted #deb-src http://archive.ubuntu.com/ubuntu/focal-updates main restricted


## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team. Also, please note that software in universe WILL NOT receive any ## review or updates from the Ubuntu security team. deb http: //archive.ubuntu.com/ubuntu/ focal universe


# deb-src http://archive.ubuntu.com/ubuntu/ focal universe


deb http://archive.ubuntu.com/ubuntu/focal-updates universe #deb-src http://archive.ubuntu.com/uburtu/ Focal-updates universe


## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team, and may not be under a free licence. Please satisfy yourself as to ## your rights to use the software. Also, please note that software in ## multiverse WILL NOT receive any review or updates from the Ubuntu ## security team.


deb http: //archive.ubuntu.com/ubuntu/ focal multiverse

and I also ran these commands and nothing.



sed -i 's/buster\/updates/bullseye-security/g;s/buster/bullseye/g' /etc/apt/sources.list





echo deb [arch=amd64]

http://download.proxmox.com/debian/pve

bullseye pve-no-subscription > /etc/apt/sources.list.d/pve-install-repo.list





apt clean && apt update && apt dist-upgrade





/etc/apt/sources.list.d/trusted.gpg.d/pro xmox-release-bullseye.gg








pveam update

Screen Shot 2023-05-10 at 1.03.14 PM.pngScreen Shot 2023-05-10 at 1.05.29 PM.png
 
so......what exactly is the problem, and what sources are you editing and why??

- install Proxmox VE
- create lxc
- make sure your PVE host has a working internet connection
- the lxc container "uses" the PVE host nic to make an internet connection
- I see failed DNS queries in your screenshot so fix that
 
I can create containers, but I can’t download any program into it. it gives me errors and failure to download packages. And every container that I make, I give it Internet access I’ve made Debien in containers. I’ve made Ubuntu containers, and the same thing happens with all of them.
 
I have two servers in my house and one of them is running a previous version of Proxmox, and I have no problem making containers in that previous version.
 
DNS isn't working so you should check if your set an invalid DNS server in your LXCs config.

What is your routers IP and what did you set as the gateway and DNS server for those LXCs? Also keep in mind that Wifi won't let your guests connect to the internet. And make sure your LXC is bridged to a bridge that actually got a working NIC.
 
Last edited:
  • Like
Reactions: Spoonman2002

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!