Activation of network connection failed everytime

I'm sorry i have no idea on how to answer any of your questions but this is the output to the command you wrote :
Warning: you should run this program as super-user.
Description: wireless interface
Product: Centrino Wireless-N 1000 [Condor Peak]
Vendor: Intel Corporation
Physical id: 0
Bus info: pci@0000:02:00.0
Logical name: wlo1
Serial: 00:26:c7:01:4c:2e
Width: 64 bits
Clock: 33MHz
Capabilities: bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=iwlwifi driverversion=5.15.0-71-generic firmware=39.31.5.1 build 35138 1000-5.uc latency=0 link=no multicast=yes wireless=IEEE 802.11
resources: irq:27 memory:d3400000-d3401fff
*-network
Description: Ethernet interface
Product: RTL810xE PCI Express Fast Ethernet controller
Vendor:Realtek Semiconductor Co.,Ltd.
Physical id: 0
bus info: pci@0000:03:00.0
Logical name: enp3s0
Version: 02
Serial: c8:0a:a9:24:a2:59
Capacity: 100Mbit/s
Width: 64 bits
Clock: 33MHz
Capabilities: bus_master cap_list rom ethernet Physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
Configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=5.15.0-71-generic latency=0 link=no multicast=yes port=twisted pair
Resources: irq:17 ioport:2000(size=256) memory:d1410000-d1410fff memory:d1400000-d140ffff memory:d2400000-d240ffff
Warning: output may be incomplete or inaccurate, you should run this program as super-user.
Output ended here---------

Also noting that i tried this link because i've seen someone answer this to a question similar to mine on this forum ( it didn't work) and i also tried to install --reinstall comand of network manger , it told me : temporary failure resolving 'eg.archive.ubuntu.com'
E: Failed to fetch http://eg.archive.ubuntu.com/ubuntu/pool/main/n/network-manager/network-manager_1.22.10-1ubuntu2.3_amd64.deb Temporary failure resolving 'eg.archive.ubuntu.com'
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

But when i ran the command sudo apt-get install network-manager , it said network-manager is already the newest version (1.22.10-1ubuntu2.3) network-manager set to manually installed. 0 newly installed and 37 not upgraded ..

I thought i should mention this since it could affect anything.