Сan't update packages

The service is running but that doesn’t magically give you a working connection.

Reboot your router or cable modem if you can - power cycle it.

Then disconnect from and re-connect to it.

And re-check the configuration in the NetworkManager GUI which you likely have altered.

you know that you have to change the method from “automatic” to “automatic, addresses only” when you want to use a custom DNS server?

Can you ping the IP?
(1.1.1.1 for cloudflare or 8.8.4.4 for one of googles DNS servers)

Evidently, you don’t have a working internet connection.

curl ifconfig.me doesn’t work. No connection to the server.
I changed DNS differently, with and without it. Automatically and without.

Rebooting the router didn’t help either.

Internet works fine on other devices.
it is not clear what happened. always like this with manjaro =)

Ways to start assessing the problem (that I know of - may not be the most efficient):

check:
ifconfig

or
ip addr

have a log running in a terminal while you disconnect and connect

journalctl -f

or

sudo dmesg -w

so you can see what is and is not happening

Pls, show us the output of DNS server list your Manjaro OS copy uses:

cat /etc/resolv.conf 
Generated by NetworkManager
nameserver 192.168.1.1

:man_shrugging: What was the result of my suggestions above?
Was it useful? Did you try?

and the one prior to that:
Can you ping the external nameserver?
example:
ping -c 3 1.1.1.1

I tried, but didn’t get any information that would be useful to me. Maybe I’m misinterpreting it.

About ping -c 3 1.1.1.1 I will try it later. Thanks )

But to us. Please provide the asked information.

Also it doesn’t hurt to include a inxi -Fazy report.

Are you running both systemd-networkd and NetworkManager?

From the Arch Wiki on network managers:

Note: There are many solutions to choose from, but remember that all of them are mutually exclusive; you should not run two daemons simultaneously.

:+1: oops - I only saw that it was disabled - but not that it was also running

With this kind of troubles, it’s good to try this universal fix:

sudo rm -r /etc/pacman.d/gnupg
sudo pacman -Sy gnupg archlinux-keyring manjaro-keyring
sudo pacman-key --init
sudo pacman-key --populate archlinux manjaro
sudo pacman-key --refresh-keys
sudo pacman -Sc
sudo pacman -Syu

Basically, what it does: deletes the pacman database (that may be corrupt), ensures some vital packages are up to date, rebuilds, refreshes the keys, populates database.

Anyway, even if this won’t help, it won’t hurt trying. However, this set of commands usually fixes various problems with updates and keys., sometimes even with manjaro-mirrors.

1 Like

It seems unlikely that it will or even could - because there is no working internet connection.

command report.

ping -c 3 1.1.1.1

PING 1.1.1.1 (1.1.1.1) 56(84) bytes of data.

— 1.1.1.1 ping statistics —
3 packets transmitted, 0 received, 100% packet loss, time 2018ms

but
ping -c 3 192.168.1.62

PING 192.168.1.62 (192.168.1.62) 56(84) bytes of data.
64 bytes from 192.168.1.62: icmp_seq=1 ttl=64 time=0.030 ms
64 bytes from 192.168.1.62: icmp_seq=2 ttl=64 time=0.021 ms
64 bytes from 192.168.1.62: icmp_seq=3 ttl=64 time=0.014 ms

— 192.168.1.62 ping statistics —
3 packets transmitted, 3 received, 0% packet loss, time 2021ms
rtt min/avg/max/mdev = 0.014/0.021/0.030/0.006 ms

no internet connectivity

That is very likely the IP of your own machine.

Please report back the results of the example commands above.

ip addr
or
ifconfig

… and the rest as well

You have two services running - you only need one: NetworkManager

Now Network Manager the only one on. but still no connection.

Greetings. Here is what I got from your commands.

ifconfig

eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.62  netmask 255.255.255.0  broadcast 192.168.1.255
        ether 00:90:21:90:20:3b  txqueuelen 1000  (Ethernet)
        RX packets 12860  bytes 18948209 (18.0 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 5765  bytes 425857 (415.8 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 16  memory 0x55200000-55220000  

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ip addr

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 00:90:21:90:20:3b brd ff:ff:ff:ff:ff:ff
    altname enp0s31f6
    inet 192.168.1.62/24 brd 192.168.1.255 scope global dynamic noprefixroute eno1
       valid_lft 86042sec preferred_lft 86042sec
    inet 192.168.1.87/24 brd 192.168.1.255 scope global secondary dynamic noprefixroute eno1
       valid_lft 86290sec preferred_lft 86290sec

journalctl -f

Journal file /var/log/journal/ad7fac0519294845814790bba46f9368/user-1000@0005f344116587f6-310306309df4b1ca.journal~ uses an unsupported feature, ignoring file.
Use SYSTEMD_LOG_LEVEL=debug journalctl --file=/var/log/journal/ad7fac0519294845814790bba46f9368/user-1000@0005f344116587f6-310306309df4b1ca.journal~ to see the details.
Jan 27 14:50:52 winter touchegg.desktop[1823]: Error connecting to TouchГ©gg daemon: Could not connect: Connection refused
Jan 27 14:50:52 winter touchegg.desktop[1823]: Reconnecting in 5 seconds...
Jan 27 14:50:57 winter touchegg.desktop[1823]: Error connecting to TouchГ©gg daemon: Could not connect: Connection refused
Jan 27 14:50:57 winter touchegg.desktop[1823]: Reconnecting in 5 seconds...
Jan 27 14:51:02 winter touchegg.desktop[1823]: Error connecting to TouchГ©gg daemon: Could not connect: Connection refused
Jan 27 14:51:02 winter touchegg.desktop[1823]: Reconnecting in 5 seconds...

Moderator edit: In the future, please use proper formatting: [HowTo] Post command output and file content as formatted text

I can’t see through this.

You have no wifi, but just an ethernet connection to your router - but somehow you have got two IP’s

2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 00:90:21:90:20:3b brd ff:ff:ff:ff:ff:ff
altname enp0s31f6
inet 192.168.1.62/24 brd 192.168.1.255 scope global dynamic noprefixroute eno1
valid_lft 86042sec preferred_lft 86042sec
inet 192.168.1.87/24 brd 192.168.1.255 scope global secondary dynamic noprefixroute eno1
valid_lft 86290sec preferred_lft 86290sec

A connection via ethernet is usually very simple.
I have no idea what this here is. :man_shrugging:

Your log contains nothing about the network connection - messages are about some multitouch gesture program which doesn’t seem to work.

Touchegg - ArchWiki

1 Like

Ah, didn’t notice it. The errors you get with keys and database also might show as if there was no Internet, although it was available. I had this kind of error too. That is why I assumed the connection is not a real issue here. Also, the title suggested there is an issue with the update, not with the connection.

I cannot possibly thank you enough.