during the recent update via terminal it happened that I accidentally typed Strg+C which led to the message “Interrupt signal received” and interrupted the update.
The try to continue the update led to the following message (in German):
sudo: Fehler in /etc/sudo.conf, Zeile 0, während Plugin »sudoers_policy« geladen wurde
sudo: »/usr/lib/sudo/sudoers.so« konnte nicht geladen werden: libldap-2.4.so.2: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden
sudo: Schwerwiegender Fehler, Plugins konnten nicht geladen werden
Loosely translated:
sudo: error in /etc/sudo.conf, line 0, during plugin »sudoers_policy« was loaded
sudo: »/usr/lib/sudo/sudoers.so« could not be loaded: libldap-2.4.so.2: cannot open Shared-Object File: File or Directory not found
sudo: serious error, plugins could not be loaded
I am honestly a little bit afraid to reboot or shutdown the system because of that fearing that it does not boot anymore. The update interruption happened during the update of kernel 5.4.
(224/330) Aktualisiert wird linux510-headers [########################################################################################] 100%
(225/330) Aktualisiert wird linux510-virtualbox-host-modules [########################################################################################] 100%
In order to use the new version, reload all virtualbox modules manually.
(226/330) Aktualisiert wird linux54 [########################################################################################] 100%
^C
Interrupt signal received
(227/330) Aktualisiert wird linux54-headers
So my question is if I have to fix something (and if yes: how) before rebooting.
Trying to open the application anki via terminal resulted in:
Traceback (most recent call last):
File "/usr/bin/anki", line 3, in <module>
import aqt
File "/usr/lib/python3.9/site-packages/aqt/__init__.py", line 22, in <module>
from aqt.qt import *
File "/usr/lib/python3.9/site-packages/aqt/qt.py", line 13, in <module>
from PyQt5.QtCore import *
ImportError: libicui18n.so.69: cannot open shared object file: No such file or directory
So it seems to be an issue with accessing shared libraries. (I have not rebooted the system since the (interrupted) update process, because of the reasons mentioned above.)
That’s just a warning, an information, if you will.
Not sure whether it needs intervention - doesn’t look like it.
permissions are now a bit more restrictive than they where
I have seen these kind of messages and so far always acknowledged and then ignored them.
I noticed that during the post-transaction-hooks there was no update-grub. Doing it as root resulted in the following message:
Generating grub configuration file …
…
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Adding boot menu entry for UEFI Firmware Settings …
Found memtest86+ image: /boot/memtest86+/memtest.bin
/usr/bin/grub-probe: warning: unknown device type nvme0n1.
done
No.
Updates have to be done as root.
(sudo gives you these rights temporarily for one command su makes you root - and any command you run after that is run as root)
It’s because the permissions of the directories and files in the package
(which just got installed in place of the previous one)
are different now - namely (your example): the “write” permission for “other”
was present
but is not anymore now
As you can see in any output of
ls -l /some/directory
there will be three rwx sections, the first for “user”, the second for “group”, the third for “other” - the last one got changed
I’m not qualified to comment.
It would help others to have the full output that you saw.
It’s probably available from the tail end of /var/log/pacman.log
I do not think there is anything wrong here though.
There still seems to be a permission/ownership issue concerning /usr/lib. I just tried to update the package Oracle VM VirtualBox Extension Pack from AUR using paru and got the following error message:
[2021-12-11T15:08:28+0100] [ALPM] running ‘30-systemd-update.hook’…
[2021-12-11T15:08:49+0100] [PACMAN] Running ‘pacman --upgrade --noconfirm – /home/username/.cache/paru/clone/virtualbox-ext-oracle/virtualbox-ext-oracle-6.1.30-1-any.pkg.tar.zst’
[2021-12-11T15:08:49+0100] [ALPM] transaction started
[2021-12-11T15:08:50+0100] [ALPM-SCRIPTLET] 0%…
[2021-12-11T15:08:50+0100] [ALPM-SCRIPTLET] Progress state: NS_ERROR_FAILURE
[2021-12-11T15:08:50+0100] [ALPM-SCRIPTLET] VBoxManage: error: Failed to uninstall “Oracle VM VirtualBox Extension Pack”
[2021-12-11T15:08:50+0100] [ALPM-SCRIPTLET] VBoxManage: error: The installer failed with exit code 1: VBoxExtPackHelperApp: error: World writable: ‘/usr/lib’
[2021-12-11T15:08:50+0100] [ALPM-SCRIPTLET] VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ExtPackManagerWrap, interface IExtPackManager
[2021-12-11T15:08:50+0100] [ALPM-SCRIPTLET] VBoxManage: error: Context: “RTEXITCODE handleExtPack(HandlerArg*)” at line 1465 of file VBoxManageMisc.cpp
[2021-12-11T15:08:50+0100] [ALPM] upgraded virtualbox-ext-oracle (6.1.28-1 → 6.1.30-1)
[2021-12-11T15:08:50+0100] [ALPM-SCRIPTLET] 0%…
[2021-12-11T15:08:50+0100] [ALPM-SCRIPTLET] Progress state: NS_ERROR_FAILURE
[2021-12-11T15:08:50+0100] [ALPM-SCRIPTLET] VBoxManage: error: Failed to install “/usr/share/virtualbox/extensions/Oracle_VM_VirtualBox_Extension_Pack-6.1.30.vbox-extpack”
[2021-12-11T15:08:50+0100] [ALPM-SCRIPTLET] VBoxManage: error: Extension pack ‘Oracle VM VirtualBox Extension Pack’ is already installed. In case of a reinstallation, please uninstall it first
[2021-12-11T15:08:50+0100] [ALPM-SCRIPTLET] VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ExtPackManagerWrap, interface IExtPackManager
[2021-12-11T15:08:50+0100] [ALPM-SCRIPTLET] VBoxManage: error: Context: “RTEXITCODE handleExtPack(HandlerArg*)” at line 1424 of file VBoxManageMisc.cpp
[2021-12-11T15:08:50+0100] [ALPM] transaction completed
[2021-12-11T15:08:50+0100] [ALPM] running ‘30-systemd-update.hook’…
perhaps in the course of your attempts … you managed to set the wrong permissions on that directory?
anyway - here is the description of the cause for the error - and the link gives the tools and shows how you can fix it
You where concerned about something regarding the grub or kernel installation - I tried to point to the file where the relevant messages will still be.
If you still have the same terminal open, you could just scroll up …
edit:
or, you could simply just reinstall that kernel and review the output again …
(probably via mhwd-kernel - but don’t ask me for specifics
I only run Manjaro in a VM and am not very familiar with the Manjaro tools)
When the whole update has finished successfully:
yes.
You could add a safeguard before you do, if you are concerned and haven’t done so until now:
add at least one other kernel to be able to choose from for the unlikely case that the updated one will not work.
… have at least two kernels installed …
Finally, the reboot went fine. Everything seems to work properly, incl. sudo. After resetting the permissions in /usr/lib the update of virtualbox-ext-oracle finished without any error.
@Nachlese: Thank you so much. You solved my problem and saved my day.