Update Problem Makepkg as root prevented

Hi lads&gents,

this moment I got a problem with updating my system. I decided to load the packages of 3 AUR–Paks new. Seems that had not worked.

==> Pakete zum Ausschließen: (z.B. "1 2 3", "1-3", "^4" oder Repo-Name)
 -> Das Ausschließen von Paketen kann zu teilweisen Aktualisierungen führen und Systeme beschädigen.
==> 
Sync Dependency (19): pinentry-1.3.3-1, patchelf-0.19.1-1, electron42-42.6.0-1, libical-4.0.3-3, librevenge-0.0.6-1, python-cbor2-6.1.3-1, element-web-1.12.22-1, fzf-0.74.0-1, python-xxhash-3.8.1-1, wxwidgets-gtk3-3.2.11-2, luajit-2.1.1783415239+acb2234-1, libva-2.24.0-2, eos-update-26.7-1, zxing-cpp-3.1.0-1, wxwidgets-common-3.2.11-2, c-ares-1.34.7-1, qtkeychain-qt6-0.17.0-1, python-cffi-2.1.0-1, electron41-41.10.0-1
Sync Explicit (10): firefox-152.0.5-1, discord-1:1.0.146-1, strawberry-1.2.22-1, code-1.127.0-1, openssh-10.4p1-2, firefox-i18n-de-152.0.5-1, ethtool-1:7.1-1, element-desktop-1.12.22-1, netscanner-0.6.43-1, electron-1:43-1
Sync Make Dependency (4): python-argcomplete-3.7.0-1, go-2:1.26.5-1, python-build-1.4.3-1, python-installer-1.0.0-1
AUR Dependency (2): patool-4.0.5-3, fvs2-0.2.0-1
AUR Make Dependency (1): python-setuptools-reproducible-0.1-1
:: (1/3) PKGBUILD heruntergeladen: fvs2
:: (2/3) PKGBUILD heruntergeladen: python-setuptools-reproducible
:: (3/3) PKGBUILD heruntergeladen: patool
  3 patool                           (Installiert) (Build-Dateien sind vorhanden)
  2 fvs2                             (Installiert) (Build-Dateien sind vorhanden)
  1 python-setuptools-reproducible   (Build-Dateien sind vorhanden)
==> Pakete neu erstellen?
==> [N] Keine [A]lle [Ab]brechen [I]nstalliert [No]nicht installiert oder (1 2 3, 1-3, ^4)
==> a
:: Lösche (1/3): /tmp/yay/patool
HEAD ist jetzt bei 6528d2f patool: switch p7zip to 7zip
:: Lösche (2/3): /tmp/yay/fvs2
HEAD ist jetzt bei b80ddce upgrade: bump to 0.2.0
:: Lösche (3/3): /tmp/yay/python-setuptools-reproducible
HEAD ist jetzt bei 6097b9b python-setuptools-reproducible: initial commit
  3 python-setuptools-reproducible   (Build-Dateien sind vorhanden)
  2 patool                           (Installiert) (Build-Dateien sind vorhanden)
  1 fvs2                             (Installiert) (Build-Dateien sind vorhanden)
==> Unterschiede zeigen?
==> [N] Keine [A]lle [Ab]brechen [I]nstalliert [No]nicht installiert oder (1 2 3, 1-3, ^4)
==> n
==> FEHLER: makepkg als root auszuführen ist nicht erlaubt, da es Ihrem System bleibenden, katastrophalen Schaden zufügen kann.
==> FEHLER: makepkg als root auszuführen ist nicht erlaubt, da es Ihrem System bleibenden, katastrophalen Schaden zufügen kann.
==> FEHLER: makepkg als root auszuführen ist nicht erlaubt, da es Ihrem System bleibenden, katastrophalen Schaden zufügen kann.
 -> Fehler beim Herunterladen der Quellen: /tmp/yay/fvs2 
         context: Fehler beim Herunterladen der Quellen: /tmp/yay/fvs2 
         context: exit status 10 
         
 
         

Fehler beim Herunterladen der Quellen: /tmp/yay/python-setuptools-reproducible 
         context: Fehler beim Herunterladen der Quellen: /tmp/yay/python-setuptools-reproducible 
         context: exit status 10 
         
 
         

Fehler beim Herunterladen der Quellen: /tmp/yay/patool 
         context: Fehler beim Herunterladen der Quellen: /tmp/yay/patool 
         context: exit status 10 
         
 
         

:: Abhängigkeiten nach der Installation entfernen? [j/N] j
:: (1/3) SRCINFO geparst: patool
:: (2/3) SRCINFO geparst: fvs2
:: (3/3) SRCINFO geparst: python-setuptools-reproducible
:: Paketdatenbanken werden synchronisiert …
 endeavouros ist aktuell
 core ist aktuell
 extra ist aktuell
 multilib ist aktuell
:: Vollständige Systemaktualisierung wird gestartet …
Warnung: lib32-llvm-libs: Lokale Version (1:22.1.8-1) ist neuer als multilib (1:22.1.6-1)
Abhängigkeiten werden aufgelöst …
Nach in Konflikt stehenden Paketen wird gesucht …

Paket (33)                    Alte Version              Neue Version              Netto-Veränderung  Größe des Downloads

extra/c-ares                  1.34.6-1                  1.34.7-1                           0,02 MiB             0,23 MiB
extra/code                    1.126.0-1                 1.127.0-1                        -25,55 MiB           116,22 MiB
extra/discord                 1:1.0.145-1               1:1.0.146-1                        0,00 MiB             1,94 MiB
extra/electron                1:42-1                    1:43-1                             0,00 MiB             0,00 MiB
extra/electron41              41.9.2-1                  41.10.0-1                          0,12 MiB            83,04 MiB
extra/electron42              42.3.0-1                  42.6.0-1                          29,41 MiB            93,24 MiB
extra/electron43                                        43.0.0-1                         332,28 MiB            94,64 MiB
extra/element-desktop         1.12.18-3                 1.12.22-1                          0,52 MiB             5,31 MiB
extra/element-web             1.12.18-3                 1.12.22-1                         -1,89 MiB            26,97 MiB
endeavouros/eos-update        26.6.3-1                  26.7-1                             0,00 MiB             0,03 MiB
extra/ethtool                 1:7.0-1                   1:7.1-1                            0,01 MiB             0,29 MiB
extra/firefox                 152.0.4-1                 152.0.5-1                          0,23 MiB            81,81 MiB
extra/firefox-i18n-de         152.0.4-1                 152.0.5-1                          0,00 MiB             0,41 MiB
extra/fzf                     0.73.1-1                  0.74.0-1                           0,07 MiB             1,67 MiB
extra/libical                 4.0.3-2                   4.0.3-3                            0,00 MiB             0,74 MiB
extra/librevenge              0.0.5-4                   0.0.6-1                            0,02 MiB             0,59 MiB
extra/libva                   2.23.0-2                  2.24.0-2                           0,01 MiB             0,20 MiB
extra/luajit                  2.1.1782726002+a2bde60-1  2.1.1783415239+acb2234-1           0,00 MiB             0,33 MiB
extra/netscanner              0.6.41-2                  0.6.43-1                           3,28 MiB             3,33 MiB
core/openssh                  10.3p1-1                  10.4p1-2                           1,27 MiB             1,42 MiB
extra/patchelf                0.19.0-1                  0.19.1-1                           0,00 MiB             0,12 MiB
core/pinentry                 1.3.2-2                   1.3.3-1                           -0,09 MiB             0,16 MiB
extra/python-cbor2            6.1.2-1                   6.1.3-1                            0,01 MiB             0,33 MiB
extra/python-cffi             2.0.0-2                   2.1.0-1                            0,02 MiB             0,29 MiB
extra/python-pyproject-hooks                            1.2.0-6                            0,11 MiB                     
extra/python-xxhash           3.8.0-1                   3.8.1-1                            0,00 MiB             0,02 MiB
extra/qtkeychain-qt6          0.16.0-1                  0.17.0-1                           0,01 MiB             0,07 MiB
extra/strawberry              1.2.21-1                  1.2.22-1                           0,11 MiB             6,84 MiB
extra/wxwidgets-common        3.2.10-2                  3.2.11-2                           0,00 MiB             2,95 MiB
extra/wxwidgets-gtk3          3.2.10-2                  3.2.11-2                           0,00 MiB             4,68 MiB
extra/zxing-cpp               3.0.2-1                   3.1.0-1                            0,14 MiB             0,82 MiB
extra/python-build                                      1.4.3-1                            0,26 MiB                     
extra/python-installer                                  1.0.0-1                            0,20 MiB                     

Gesamtgröße des Downloads:              528,72 MiB
Gesamtgröße der installierten Pakete:  2215,03 MiB
Größendifferenz der Aktualisierung:     340,58 MiB

:: Installation fortsetzen? [J/n] j
:: Pakete werden empfangen …
 electron42-42.6.0-1-x86_64                              93,2 MiB  6,05 MiB/s 00:15 [------------------------------------------------] 100%
 electron41-41.10.0-1-x86_64                             83,0 MiB  4,14 MiB/s 00:20 [------------------------------------------------] 100%
 electron43-43.0.0-1-x86_64                              94,6 MiB  4,21 MiB/s 00:22 [------------------------------------------------] 100%
 strawberry-1.2.22-1-x86_64                               6,8 MiB  2,35 MiB/s 00:03 [------------------------------------------------] 100%
 code-1.127.0-1-x86_64                                  116,2 MiB  5,02 MiB/s 00:23 [------------------------------------------------] 100%
 firefox-152.0.5-1-x86_64                                81,8 MiB  3,41 MiB/s 00:24 [------------------------------------------------] 100%
 element-desktop-1.12.22-1-x86_64                         5,3 MiB  2,92 MiB/s 00:02 [------------------------------------------------] 100%
 netscanner-0.6.43-1-x86_64                               3,3 MiB  3,11 MiB/s 00:01 [------------------------------------------------] 100%
 wxwidgets-gtk3-3.2.11-2-x86_64                           4,7 MiB  3,48 MiB/s 00:01 [------------------------------------------------] 100%
 wxwidgets-common-3.2.11-2-x86_64                         2,9 MiB  3,49 MiB/s 00:01 [------------------------------------------------] 100%
 fzf-0.74.0-1-x86_64                                   1709,8 KiB  3,53 MiB/s 00:00 [------------------------------------------------] 100%
 discord-1:1.0.146-1-x86_64                            1987,2 KiB  3,95 MiB/s 00:00 [------------------------------------------------] 100%
 openssh-10.4p1-2-x86_64                               1451,2 KiB  3,68 MiB/s 00:00 [------------------------------------------------] 100%
 element-web-1.12.22-1-x86_64                            27,0 MiB  2,80 MiB/s 00:10 [------------------------------------------------] 100%
 librevenge-0.0.6-1-x86_64                              604,5 KiB  2,94 MiB/s 00:00 [------------------------------------------------] 100%
 libical-4.0.3-3-x86_64                                 756,3 KiB  3,28 MiB/s 00:00 [------------------------------------------------] 100%
 zxing-cpp-3.1.0-1-x86_64                               841,9 KiB  3,43 MiB/s 00:00 [------------------------------------------------] 100%
 firefox-i18n-de-152.0.5-1-any                          422,9 KiB  2,43 MiB/s 00:00 [------------------------------------------------] 100%
 luajit-2.1.1783415239+acb2234-1-x86_64                 336,0 KiB  7,63 MiB/s 00:00 [------------------------------------------------] 100%
 python-cbor2-6.1.3-1-x86_64                            339,8 KiB  5,72 MiB/s 00:00 [------------------------------------------------] 100%
 python-cffi-2.1.0-1-x86_64                             299,3 KiB  5,32 MiB/s 00:00 [------------------------------------------------] 100%
 ethtool-1:7.1-1-x86_64                                 301,0 KiB  4,59 MiB/s 00:00 [------------------------------------------------] 100%
 c-ares-1.34.7-1-x86_64                                 237,1 KiB  3,36 MiB/s 00:00 [------------------------------------------------] 100%
 libva-2.24.0-2-x86_64                                  205,6 KiB  5,58 MiB/s 00:00 [------------------------------------------------] 100%
 qtkeychain-qt6-0.17.0-1-x86_64                          74,7 KiB  3,84 MiB/s 00:00 [------------------------------------------------] 100%
 pinentry-1.3.3-1-x86_64                                168,2 KiB  5,87 MiB/s 00:00 [------------------------------------------------] 100%
 patchelf-0.19.1-1-x86_64                               123,0 KiB  3,34 MiB/s 00:00 [------------------------------------------------] 100%
 python-xxhash-3.8.1-1-x86_64                            19,0 KiB  1185 KiB/s 00:00 [------------------------------------------------] 100%
 electron-1:43-1-any                                      3,4 KiB   186 KiB/s 00:00 [------------------------------------------------] 100%
 eos-update-26.7-1-any                                   34,3 KiB   647 KiB/s 00:00 [------------------------------------------------] 100%
 Gesamt (30/30)                                         528,7 MiB  20,8 MiB/s 00:25 [------------------------------------------------] 100%
(33/33) Schlüssel im Schlüsselbund werden geprüft                                   [------------------------------------------------] 100%
(33/33) Paket-Integrität wird überprüft                                             [------------------------------------------------] 100%
(33/33) Paket-Dateien werden geladen                                                [------------------------------------------------] 100%
(33/33) Auf Dateikonflikte wird geprüft                                             [------------------------------------------------] 100%
:: Pre-transaction-Hooks werden gestartet …
(1/1) Scanning packages for security issues...
:: Paketänderungen werden verarbeitet …
( 1/33) Installiert wird python-installer                                           [------------------------------------------------] 100%
( 2/33) Installiert wird python-pyproject-hooks                                     [------------------------------------------------] 100%
( 3/33) Installiert wird python-build                                               [------------------------------------------------] 100%
Optionale Abhängigkeiten für python-build
    python-pip: to use as the Python package installer (default) [Installiert]
    python-uv: to use as the Python package installer
    python-virtualenv: to use virtualenv for build isolation
( 4/33) Aktualisiert wird c-ares                                                    [------------------------------------------------] 100%
( 5/33) Aktualisiert wird electron42                                                [------------------------------------------------] 100%
( 6/33) Aktualisiert wird code                                                      [------------------------------------------------] 100%
( 7/33) Aktualisiert wird discord                                                   [------------------------------------------------] 100%
( 8/33) Installiert wird electron43                                                 [------------------------------------------------] 100%
Optionale Abhängigkeiten für electron43
    kde-cli-tools: file deletion support (kioclient) [Installiert]
    pipewire: WebRTC desktop sharing under Wayland [Installiert]
    gtk4: for --gtk-version=4 (GTK4 IME might work better on Wayland) [Installiert]
    trash-cli: file deletion support (trash-put)
    xdg-utils: open URLs with desktop’s default (xdg-email, xdg-open) [Installiert]
( 9/33) Aktualisiert wird electron                                                  [------------------------------------------------] 100%
(10/33) Aktualisiert wird electron41                                                [------------------------------------------------] 100%
(11/33) Aktualisiert wird element-web                                               [------------------------------------------------] 100%
(12/33) Aktualisiert wird element-desktop                                           [------------------------------------------------] 100%
(13/33) Aktualisiert wird pinentry                                                  [------------------------------------------------] 100%
(14/33) Aktualisiert wird eos-update                                                [------------------------------------------------] 100%
(15/33) Aktualisiert wird ethtool                                                   [------------------------------------------------] 100%
(16/33) Aktualisiert wird libva                                                     [------------------------------------------------] 100%
(17/33) Aktualisiert wird firefox                                                   [------------------------------------------------] 100%
(18/33) Aktualisiert wird firefox-i18n-de                                           [------------------------------------------------] 100%
(19/33) Aktualisiert wird fzf                                                       [------------------------------------------------] 100%
(20/33) Aktualisiert wird libical                                                   [------------------------------------------------] 100%
(21/33) Aktualisiert wird librevenge                                                [------------------------------------------------] 100%
(22/33) Aktualisiert wird luajit                                                    [------------------------------------------------] 100%
(23/33) Aktualisiert wird netscanner                                                [------------------------------------------------] 100%
(24/33) Aktualisiert wird openssh                                                   [------------------------------------------------] 100%
(25/33) Aktualisiert wird patchelf                                                  [------------------------------------------------] 100%
(26/33) Aktualisiert wird python-cbor2                                              [------------------------------------------------] 100%
(27/33) Aktualisiert wird python-cffi                                               [------------------------------------------------] 100%
(28/33) Aktualisiert wird python-xxhash                                             [------------------------------------------------] 100%
(29/33) Aktualisiert wird qtkeychain-qt6                                            [------------------------------------------------] 100%
(30/33) Aktualisiert wird strawberry                                                [------------------------------------------------] 100%
(31/33) Aktualisiert wird wxwidgets-common                                          [------------------------------------------------] 100%
(32/33) Aktualisiert wird wxwidgets-gtk3                                            [------------------------------------------------] 100%
(33/33) Aktualisiert wird zxing-cpp                                                 [------------------------------------------------] 100%
:: Post-transaction-Hooks werden gestartet …
( 1/11) Creating temporary files...
( 2/11) Reloading system manager configuration...
( 3/11) Reloading user manager configuration...
( 4/11) Enqueuing marked services...
( 5/11) Arming ConditionNeedsUpdate...
( 6/11) Restart a running sshd.service
( 7/11) Updating icon theme caches...
( 8/11) Checking which packages need to be rebuilt
( 9/11) Updating the info directory file...
(10/11) Updating the desktop file MIME type cache...
(11/11) Updating Vim help tags...
:: Paketdatenbanken werden synchronisiert …
 endeavouros ist aktuell
 core ist aktuell
 extra ist aktuell
 multilib ist aktuell
:: Vollständige Systemaktualisierung wird gestartet …
Warnung: lib32-llvm-libs: Lokale Version (1:22.1.8-1) ist neuer als multilib (1:22.1.6-1)
Abhängigkeiten werden aufgelöst …
Nach in Konflikt stehenden Paketen wird gesucht …

Paket (2)                 Neue Version  Netto-Veränderung  Größe des Downloads

extra/go                  2:1.26.5-1           215,65 MiB            39,23 MiB
extra/python-argcomplete  3.7.0-1                0,31 MiB             0,07 MiB

Gesamtgröße des Downloads:              39,30 MiB
Gesamtgröße der installierten Pakete:  215,96 MiB

:: Installation fortsetzen? [J/n] j
:: Pakete werden empfangen …
 python-argcomplete-3.7.0-1-any                          71,9 KiB   642 KiB/s 00:00 [------------------------------------------------] 100%
 go-2:1.26.5-1-x86_64                                    39,2 MiB  19,9 MiB/s 00:02 [------------------------------------------------] 100%
 Gesamt (2/2)                                            39,3 MiB  19,7 MiB/s 00:02 [------------------------------------------------] 100%
(2/2) Schlüssel im Schlüsselbund werden geprüft                                     [------------------------------------------------] 100%
(2/2) Paket-Integrität wird überprüft                                               [------------------------------------------------] 100%
(2/2) Paket-Dateien werden geladen                                                  [------------------------------------------------] 100%
(2/2) Auf Dateikonflikte wird geprüft                                               [------------------------------------------------] 100%
:: Pre-transaction-Hooks werden gestartet …
(1/1) Scanning packages for security issues...
:: Paketänderungen werden verarbeitet …
(1/2) Installiert wird python-argcomplete                                           [------------------------------------------------] 100%
(2/2) Installiert wird go                                                           [------------------------------------------------] 100%
:: Post-transaction-Hooks werden gestartet …
(1/1) Arming ConditionNeedsUpdate...
==> FEHLER: makepkg als root auszuführen ist nicht erlaubt, da es Ihrem System bleibenden, katastrophalen Schaden zufügen kann.
 -> Die Installationsschicht ist fehlgeschlagen, es wird zur nächsten Schicht übergegangen.error:Fehler beim Erstellen: python-setuptools-reproducible - exit status 10
:: Paketdatenbanken werden synchronisiert …
 endeavouros ist aktuell
 core ist aktuell
 extra ist aktuell
 multilib ist aktuell
Warnung: python-argcomplete-3.7.0-1 ist aktuell -- Reinstalliere
Warnung: go-2:1.26.5-1 ist aktuell -- Reinstalliere
:: Vollständige Systemaktualisierung wird gestartet …
Warnung: lib32-llvm-libs: Lokale Version (1:22.1.8-1) ist neuer als multilib (1:22.1.6-1)
Abhängigkeiten werden aufgelöst …
Nach in Konflikt stehenden Paketen wird gesucht …

Paket (2)                 Alte Version  Neue Version  Netto-Veränderung

extra/go                  2:1.26.5-1    2:1.26.5-1             0,00 MiB
extra/python-argcomplete  3.7.0-1       3.7.0-1                0,00 MiB

Gesamtgröße der installierten Pakete:  215,96 MiB
Größendifferenz der Aktualisierung:      0,00 MiB

:: Installation fortsetzen? [J/n] j
(2/2) Schlüssel im Schlüsselbund werden geprüft                                     [------------------------------------------------] 100%
(2/2) Paket-Integrität wird überprüft                                               [------------------------------------------------] 100%
(2/2) Paket-Dateien werden geladen                                                  [------------------------------------------------] 100%
(2/2) Auf Dateikonflikte wird geprüft                                               [------------------------------------------------] 100%
:: Pre-transaction-Hooks werden gestartet …
(1/1) Scanning packages for security issues...
:: Paketänderungen werden verarbeitet …
(1/2) Reinstalliert wird python-argcomplete                                         [------------------------------------------------] 100%
(2/2) Reinstalliert wird go                                                         [------------------------------------------------] 100%
:: Post-transaction-Hooks werden gestartet …
(1/2) Arming ConditionNeedsUpdate...
(2/2) Checking which packages need to be rebuilt
==> FEHLER: makepkg als root auszuführen ist nicht erlaubt, da es Ihrem System bleibenden, katastrophalen Schaden zufügen kann.
 -> Fehler beim Erstellen: fvs2-exit status 10
==> FEHLER: makepkg als root auszuführen ist nicht erlaubt, da es Ihrem System bleibenden, katastrophalen Schaden zufügen kann.
 -> Fehler beim Erstellen: python-setuptools-reproducible-exit status 10
==> FEHLER: makepkg als root auszuführen ist nicht erlaubt, da es Ihrem System bleibenden, katastrophalen Schaden zufügen kann.
 -> Fehler beim Erstellen: patool-exit status 10
Fehler: Ziel nicht gefunden: python-setuptools-reproducible
 -> Die folgenden Pakete konnten nicht installiert werden. Ein manueller Eingriff ist erforderlich:
patool - exit status 10
fvs2 - exit status 10
python-setuptools-reproducible - exit status 10
exit status 1
[root@EndeavourOSNeo-Machine petermb]# 

Wie kann ich das wieder heilen?

What command did you run?

Make sure you don’t run yay or paru as root or with sudo.

I ran yay -Syu

but before I had a sudo su as I had some commands which required the sudo authorization and I forgot to quit that before updating. So when I quit that now and update the 3 packages with yay separatly will fix this issue? Afterwards updating the native part with pacman?

It’s good that the system prevented the installation of the 3 Aur-packages.

Yes, you need to exit the root shell before running yay.

Correct.

If you run sudo su or sudo -i that puts you in a dangerous root access mode. I’d strongly advise you avoid doing that

As you just discovered, you performed an action whilst forgetting you were in that mode. Luckily the AUR helper sensibly stopped you from performing that action, but imagine it hadn’t and imagine the AUR package you were installing had malicious code in it, or even just sloppy code, running with root level access now :grimacing:

Oh yes, @Bink that shoot thrue my brain as I read ** :face_with_crossed_out_eyes:**

Exited the su state.

Normally I do this immidiatly after finishing for what I used it but this time I really forgot it and did try a fatal update. What a luck that yay prevented it.

So now am out and are a normal user again I can use yay to update those three packages, right.

command is for all with yay or paru

yay -S patool 
yay -S fvs2
yay -S python-setuptools-reproducible 

and afterwards 
pacman -Syu

Well, Traur marked the 3 Aur-Packages with 100 trust, 96 and 98 trust.

And pacman & yay ended afterwards with “nothing to do”

Pakete werden geladen …
Abhängigkeiten werden aufgelöst …
Nach in Konflikt stehenden Paketen wird gesucht …

Paket (1)                       Neue Version  Netto-Veränderung

python-setuptools-reproducible  0.1-1                  0,02 MiB

Gesamtgröße der installierten Pakete:  0,02 MiB

:: Installation fortsetzen? [J/n] 
(1/1) Schlüssel im Schlüsselbund werden geprüft                                     [------------------------------------------------] 100%
(1/1) Paket-Integrität wird überprüft                                               [------------------------------------------------] 100%
(1/1) Paket-Dateien werden geladen                                                  [------------------------------------------------] 100%
(1/1) Auf Dateikonflikte wird geprüft                                               [------------------------------------------------] 100%
:: Pre-transaction-Hooks werden gestartet …
(1/1) Scanning packages for security issues...

  ╔╦╗╦═╗╔═╗╦ ╦╦═╗
   ║ ╠╦╝╠═╣║ ║╠╦╝
   ╩ ╩╚═╩ ╩╚═╝╩╚═
  Trust scoring for AUR packages

  Fetching maintainer data for 1 unique maintainers...
  Scanned: 1 package(s)                                                 
  TRUSTED: 1

traur: python-setuptools-reproducible (trust: 95/100)
  Trust: TRUSTED
  Negative signals:
       T-SINGLE-COMMIT: Git history has only 1 commit
       M-GITHUB-STARS-LOW: Upstream GitHub repo has very few stars (7)

  All packages look clean.
:: Paketänderungen werden verarbeitet …
(1/1) Installiert wird python-setuptools-reproducible                               [------------------------------------------------] 100%
:: Post-transaction-Hooks werden gestartet …
(1/1) Arming ConditionNeedsUpdate...
[petermb@EndeavourOSNeo-Machine ~]$ pacman -Syu
Fehler: Sie benötigen Root-Rechte, um diese Operation auszuführen.
[petermb@EndeavourOSNeo-Machine ~]$ sudo pacman -Syu
:: Paketdatenbanken werden synchronisiert …
 endeavouros ist aktuell
 core ist aktuell
 extra ist aktuell
 multilib ist aktuell
:: Vollständige Systemaktualisierung wird gestartet …
Warnung: lib32-llvm-libs: Lokale Version (1:22.1.8-1) ist neuer als multilib (1:22.1.6-1)
 Es gibt nichts zu tun
[petermb@EndeavourOSNeo-Machine ~]$ yay
:: Paketdatenbanken werden synchronisiert …
 endeavouros ist aktuell
 core ist aktuell
 extra ist aktuell
 multilib ist aktuell
:: Durchsuche AUR nach Updates...
:: Durchsuche Datenbanken nach Updates...
 -> lib32-llvm-libs: local (1:22.1.8-1) is newer than multilib (1:22.1.6-1)
 -> Als nicht aktuell markierte AUR-Pakete: low_latency_layer-git  qt-sudo  xwaylandvideobridge
 -> maliit-keyboard: lokales (2.3.1-4) ist neuer als das AUR (2.3.1-3)
 es gibt nichts zu tun
[petermb@EndeavourOSNeo-Machine ~]$

How do you react and act when having several times a command that requires any time the sudo right? Do you always use the sudo at eacht command?

most terminal apps will keep the “Root” password active for X amount of time After said time you then have to readd the password

As @thefrog noted, you don’t need to continually enter your password, if you’ve recently used sudo.

however for the system to know that its being run as an Elevated user you still need to add sudo to the command. So if you update mirrors then run pacman you will still need to tell the system you are still “Root” user. So even though you will use sudo it shouldn’t ask for the password again

@thefrog Yes, I know that `sudo` always “lasts” for a while, but earlier I was continuously checking various services with `firewall-cmd --info-service` for a good three-quarters of an hour, and that’s when I got carried away and ran `sudo -su`.

I’m not sure you understand what sudo is vs what su is. Both basically allow you to “Switch User” Sudo gives it to you for a few moments where as SU will continue to be root until you exit the root terminal.

so sudo su shouldn’t be used at all.

As pointed out here.

Okay. I read about it after this.

Please do. man is your friend. As much as I love new users to Linux I also want them to be able to do Linux “Right” many don’t do things right then blame the OS for their lack of Understanding.

No problem. I am not totally new to Linux. I didn’t use it that often.
Normally, the regular sudo command fits 99.9% of all situations.
This evidence has made me extra careful. Rest assured.:handshake: