Package Installation and DNS Resolution Issues on Ubuntu 22.04 (CLI Only)

Hi everyone, I'm currently using Ubuntu 22.04 with CLI only in Andronix, and I'm facing some issues with package installation and DNS resolution. When trying to install essential packages like sudo, nano, wget, curl, net-tools, iputils-ping, and dnsutils, I receive errors indicating that these packages are not found or have no installation candidates. Additionally, I'm experiencing DNS resolution issues. Commands like ping are not found, and my /etc/resolv.conf is correctly set to nameserver 1.1.1.1, but I still can't resolve domain names. Here are some specific outputs:
root@localhost:~# apt-get install sudo nano wget curl net-tools iputils-ping dnsutils -y
E: Unable to locate package sudo
E: Package 'nano' has no installation candidate
E: Unable to locate package wget
E: Unable to locate package curl
E: Unable to locate package net-tools we
E: Unable to locate package iputils-ping
E: Unable to locate package dnsutils
root@localhost:~# apt-get install sudo nano wget curl net-tools iputils-ping dnsutils -y
E: Unable to locate package sudo
E: Package 'nano' has no installation candidate
E: Unable to locate package wget
E: Unable to locate package curl
E: Unable to locate package net-tools we
E: Unable to locate package iputils-ping
E: Unable to locate package dnsutils
root@localhost:~# ping -c 4 google.com
bash: ping: command not found
root@localhost:~# ping -c 4 google.com
bash: ping: command not found
I've tried other GUI selections and distros modded and unmodded, but the problem persists. Any advice on resolving these issues would be greatly appreciated. Has anyone else encountered similar problems or have suggestions on how to fix this? Thanks in advance!
1 Reply
JenkinKhan
JenkinKhanOP•6mo ago
Nothing? 😕 I tried googling but any solutions didn't work for me
Want results from more Discord servers?
Add your server