Artix Linux Forum

Artix Linux => Package management => Topic started by: diffeom on 06 June 2021, 18:30:17

Title: pacman can't find chromium
Post by: diffeom on 06 June 2021, 18:30:17
hello

Code: [Select]
dhcppc0:[algori]:~$ sudo pacman -Syu
:: Paketdatenbanken werden synchronisiert …
 system ist aktuell
 world ist aktuell
 galaxy ist aktuell
 universe ist aktuell
 extra                1561,8 KiB   801 KiB/s 00:02 [######################] 100%
 community               5,6 MiB   985 KiB/s 00:06 [######################] 100%
 multilib              150,1 KiB   762 KiB/s 00:00 [######################] 100%
:: Vollständige Systemaktualisierung wird gestartet …
 Es gibt nichts zu tun
dhcppc0:[algori]:~$ sudo pacman -S Chromium
Fehler: Ziel nicht gefunden: Chromium
dhcppc0:[algori]:~$

I've read https://wiki.artixlinux.org/Main/Repositories#Stable
and I edit /etc/pacman.conf

but nothing changed.
how do I resolve this?

and why add this, if its not good to do. is there an other, better soloution to get chromium run?

I got it! Chromium get installed,
but I still not got, why its enabled by default, what changed, and why its not good to do, and what are the alternatives?

and its not working

Code: [Select]
dhcppc0:[algori]:~$ chromium
Invalid MIT-MAGIC-COOKIE-1 key[4716:4716:0606/190532.927566:ERROR:browser_main_loop.cc(1402)] Unable to open X display.
dhcppc0:[algori]:~$

Title: Re: pacman can't find chromium
Post by: strajder on 06 June 2021, 19:12:12
Code: [Select]
Invalid MIT-MAGIC-COOKIE-1 key[4716:4716:0606/190532.927566:ERROR:browser_main_loop.cc(1402)] Unable to open X display.

Are you running chromium locally, from Xorg? What is the output of echo $DISPLAY?

Edit: Also echo $XAUTHORITY, and:
Code: [Select]
$ xauth info
$ xauth list
Title: Re: pacman can't find chromium
Post by: alium on 06 June 2021, 19:13:39
archlinux-mirrorlist is installed ?

sudo pacman -S Chromium ? :o  :o  :o

pacman -S chromium is right.

your system is broken, due wrong localhost name, so you need fix it first
Title: Re: pacman can't find chromium
Post by: strajder on 06 June 2021, 19:21:32
Also:

https://unix.stackexchange.com/a/219717

Quote
maybe your machine name is changing (some aggressive dhcp settings?)

(found by web search...)

This issue could likely be related to https://forum.artixlinux.org/index.php/topic,2700.msg17788
Title: Re: pacman can't find chromium
Post by: SGOrava on 06 June 2021, 19:22:50
The package names are usually in lowercase.
Pacman did the right thing when it threw an error message.

If you are not sure about exact package name use pacman search function:
Code: [Select]
pacman -Ss Chromium
And than use the package name from the output of this command.
Which in this case would be "extra/chromium", the "extra" is the repository and "chromium" is the package name