[Stable Update] 2022-01-02 - Kernels, Systemd, KDE Frameworks, Mesa, Xorg-Server, Wine, Python 3.10

greetd-tuigreet is a package from a 3rd party repository. Open an issue here: Issues · Manjaro-Sway/manjaro-sway · GitHub

I seem to be running more python reliant addons, as this didn’t work for me.

Since Arch enabled LTO by default, this driver is broken. Revision 2 in testing branch should fix that: upgpkg: amdvlk 2021.Q4.3-2: disable lto, that should fix segfaults · archlinux/svntogit-packages@7ce9dd7 · GitHub

1 Like

A few interesting observations, but everything was fixable and I could explain with confidence what was going on.

== 1 ==

I have seen the warning message below before, sometimes it is Firefox. The file did and does exist. Wondering if this is a real warning or just a missing leading slash?

checking available disk space...
warning: could not get file information for usr/lib/thunderbird/distribution/distribution.ini
:: Running pre-transaction hooks...

== 2 ==

I missed the 5.13 preset file when I cleaned up the 5.13 kernel awhile back, causing the messages below. I ran into some bumps along the way. At this point in time, all I needed to do was remove linux513.preset file.

==> Building image from preset: /etc/mkinitcpio.d/linux513.preset: 'default'
  -> -k /boot/vmlinuz-5.13-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.13-x86_64.img
==> ERROR: specified kernel image does not exist: `/boot/vmlinuz-5.13-x86_64'

== 3 ==

I don’t think I have ever installed a Manjaro update without seeing these messages. So far, they seem harmless :slight_smile:

warning: dependency cycle detected:
warning: bashrc-manjaro will be installed before its bash dependency
warning: dependency cycle detected:
warning: freetype2 
...
warning: mesa
...
warning: lib32-mesa 
...
warning: lib32-harfbuzz 

This is what I get when I ran this:

Total Download Size:     63.60 MiB
Total Installed Size:  1972.47 MiB
Net Upgrade Size:         0.00 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 libreoffice-fresh-7.2.4-1-x86_64 is up to date
 Total (  1/170)                                                                                     63.6 MiB   225 MiB/s 00:00 [#############################################################################] 100%
error: failed retrieving file 'libreoffice-fresh-7.2.4-1-x86_64.pkg.tar.zst.sig' from manjaro.lucassymons.net : The requested URL returned error: 404
warning: failed to retrieve some files
error: failed to commit transaction (failed to retrieve some files)
Errors occurred, no packages were upgraded.
 -> error installing repo packages

I had three Latte docks on my desktop - after the update only one shows up (the two others are just gone). Any kind of help how to get them back without starting from scratch is highly welcome!

I bumped into this one:
FS#73208 - Systemd-homed fails with systemd-250

Trying to solve it now, hopefully quickly. :slight_smile:

EDIT: Seems like the link states, downgrading to 249 solves the issue. So, I ran

pacman -U /var/cache/pacman/pkg/systemd-249.7-2-x86_64.pkg.tar.zst

and now I could login to that system.

As a further detail, this didn’t happen on my laptop yesterday where the LUKS encrypted storage doesn’t have a dedicated drive, only on my two desktops that have dedicated disk storage for my user home.

Everything is working except Kodi hanging up after the start. Hope the bug mentioned above gets fixed soon. :frowning:

2 Likes

The optimus manager was moved to the AUR with the last update. Just a strange coincidence?

1 Like

I have problem too,
My two monitors stopped working … NVIDIA offloading was broken with kernel ?
My optimus-manager is broken with new kernel.

Some minor problems with pip libraries … fixed with uninstall and install again … especially shodan shodan · PyPI

Fix roll back to LTS 5.10.89-1 version.
Don’t know if it’s needed, but I also reinstalled optimus-manager

ulauncher ist not working anymore. Error reported is:

Traceback (most recent call last):
  File "/usr/bin/ulauncher", line 27, in <module>
    from ulauncher.main import main
ModuleNotFoundError: No module named 'ulauncher'

I have no idea what that means…

I re-installed ulauncher and it’s working again; so this issue is resolved.

3 posts were split to a new topic: Errors during update; metadata, bad message, structure needs cleaning

Since this update (I guess due the new systemd) I got a lot of errors/warnings never seen before and the boot time is increased.

The errors/warnings:

gen 03 13:59:58 manjaro systemd[1]: Journal Audit Socket was skipped because of a failed condition check (ConditionSecurity=audit).
gen 03 13:59:58 manjaro systemd[1]: Create List of Static Device Nodes was skipped because of a failed condition check (ConditionFileNotEmpty=/lib/modules/4.14.260-1-MANJARO/modules.devname).
gen 03 13:59:59 manjaro systemd[1]: Journal Audit Socket was skipped because of a failed condition check (ConditionSecurity=audit).
gen 03 12:59:59 hal9000 systemd[1]: Journal Audit Socket was skipped because of a failed condition check (ConditionSecurity=audit).
gen 03 12:59:59 hal9000 systemd[1]: Repartition Root Disk was skipped because all trigger condition checks failed.
gen 03 12:59:59 hal9000 systemd[1]: First Boot Wizard was skipped because of a failed condition check (ConditionFirstBoot=yes).
gen 03 12:59:59 hal9000 systemd[1]: First Boot Complete was skipped because of a failed condition check (ConditionFirstBoot=yes).
gen 03 12:59:59 hal9000 systemd[1]: Rebuild Hardware Database was skipped because of a failed condition check (ConditionNeedsUpdate=/etc).
gen 03 12:59:59 hal9000 systemd[1]: Create System Users was skipped because of a failed condition check (ConditionNeedsUpdate=/etc).
gen 03 12:59:59 hal9000 systemd[1]: Virtual Machine and Container Storage (Compatibility) was skipped because of a failed condition check (ConditionPathExists=/var/lib/machines.raw).
gen 03 12:59:59 hal9000 systemd[1]: Rebuild Dynamic Linker Cache was skipped because all trigger condition checks failed.
gen 03 12:59:59 hal9000 systemd[1]: Store a System Token in an EFI Variable was skipped because of a failed condition check (ConditionPathExists=/sys/firmware/efi/efivars/LoaderFeatures-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f).
gen 03 12:59:59 hal9000 systemd[1]: Commit a transient machine-id on disk was skipped because of a failed condition check (ConditionPathIsMountPoint=/etc/machine-id).
gen 03 12:59:59 hal9000 systemd[1]: Rebuild Journal Catalog was skipped because of a failed condition check (ConditionNeedsUpdate=/var).
gen 03 12:59:59 hal9000 systemd[1]: Update is Completed was skipped because all trigger condition checks failed.
gen 03 13:00:00 hal9000 systemd[1]: Rebuild Dynamic Linker Cache was skipped because all trigger condition checks failed.
gen 03 13:00:00 hal9000 systemd[1]: Store a System Token in an EFI Variable was skipped because of a failed condition check (ConditionPathExists=/sys/firmware/efi/efivars/LoaderFeatures-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f).
gen 03 13:00:00 hal9000 systemd[1]: First Boot Wizard was skipped because of a failed condition check (ConditionFirstBoot=yes).
gen 03 13:00:00 hal9000 systemd[1]: First Boot Complete was skipped because of a failed condition check (ConditionFirstBoot=yes).
gen 03 13:00:00 hal9000 systemd[1]: Rebuild Hardware Database was skipped because of a failed condition check (ConditionNeedsUpdate=/etc).
gen 03 13:00:00 hal9000 systemd[1]: Rebuild Journal Catalog was skipped because of a failed condition check (ConditionNeedsUpdate=/var).
gen 03 13:00:00 hal9000 systemd[1]: Commit a transient machine-id on disk was skipped because of a failed condition check (ConditionPathIsMountPoint=/etc/machine-id).
gen 03 13:00:00 hal9000 systemd[1]: Repartition Root Disk was skipped because all trigger condition checks failed.
gen 03 13:00:00 hal9000 systemd[1]: Create System Users was skipped because of a failed condition check (ConditionNeedsUpdate=/etc).
gen 03 13:00:00 hal9000 systemd[1]: Update is Completed was skipped because all trigger condition checks failed.
gen 03 13:00:00 hal9000 systemd[1]: Manage Sound Card State (restore and store) was skipped because of a failed condition check (ConditionPathExists=/etc/alsa/state-daemon.conf).

And the slow boot time is due systemd-binfmt.service which now tooks about two seconds during system startup.

EDIT:

I also get:

dbus-daemon[956]: writing oom_score_adj error: Permission denied
dbus-daemon[962]: writing oom_score_adj error: Permission denied
dbus-daemon[1002]: writing oom_score_adj error: Permission denied

But systemd-oomd.service, on my system, is disabled.

Never was an issue - part of using the AUR is rebuilding packages after certain system updates.

1 Like

What version of systemd do you have?
pacman -Qs systemd

local/lib32-systemd 250-1
    system and service manager (32-bit)
local/systemd 250-5
    system and service manager
local/systemd-fsck-silent 239-1
    File system checks for SystemD (silent)
local/systemd-libs 250-5
    systemd client libraries
local/systemd-sysvcompat 250-5
    sysvinit compat for systemd
local/systemdgenie 0.99.0-4
    Systemd management utility

Upgrade was fine for most parts, but one of python apps is broken now. I use Rummage ( Rummage - Rummage Documentation ) which is a cross platform search and replace tool (like GUI for grep) and it worked perfectly before. Right after upgrade, it didn’t start, so I re-installed app. Now it works, but GUI is terribly broken. This is how app should look like - https://facelessuser.github.io/Rummage/images/preview.png

This is how it looks after upgrade - rummage — ImgBB (notice tons of empty space at the bottom - this is where all the options should be). If I move mouse cursor over empty space, some options appear for a second and then disappear again. My guess it’s probably related to Python 3.10…

Systemd drop-in config for unit files in user context is not loaded when the drop-in directory is a symlink. Reported it as systemd issue. Drop-in config not recognized when .d directory for a unit is a symlink · Issue #21979 · systemd/systemd · GitHub

For now my workaround is to symlink the config files instead of the directories.

1 Like

After this update my Telegram icon doesn’t show the number of Unread Messages anymore.

KDE Plasma

#
# ~/.bash_profile
#
[[ -f ~/.bashrc ]] && . ~/.bashrc
export LC_ALL="C"
export EDITOR=/usr/bin/nano
export QT_STYLE_OVERRIDE=gtk
export QT_SCALE_FACTOR=1
export QT_AUTO_SCREEN_SCALE_FACTOR=0
[[ "$XDG_CURRENT_DESKTOP" == "KDE" ]] || export QT_QPA_PLATFORMTHEME="qt5ct"
[[ -f ~/.extend.profile ]] && . ~/.extend.profile

Hello. I’ve got a broken pip after the update.

➜  ~ pip                      
Traceback (most recent call last):
  File "/usr/bin/pip", line 33, in <module>
    sys.exit(load_entry_point('pip==20.3.4', 'console_scripts', 'pip')())
  File "/usr/bin/pip", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 162, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/usr/lib/python3.10/site-packages/pip/_internal/cli/main.py", line 10, in <module>
    from pip._internal.cli.autocompletion import autocomplete
  File "/usr/lib/python3.10/site-packages/pip/_internal/cli/autocompletion.py", line 9, in <module>
    from pip._internal.cli.main_parser import create_main_parser
  File "/usr/lib/python3.10/site-packages/pip/_internal/cli/main_parser.py", line 7, in <module>
    from pip._internal.cli import cmdoptions
  File "/usr/lib/python3.10/site-packages/pip/_internal/cli/cmdoptions.py", line 25, in <module>
    from pip._internal.cli.progress_bars import BAR_TYPES
  File "/usr/lib/python3.10/site-packages/pip/_internal/cli/progress_bars.py", line 12, in <module>
    from pip._internal.utils.logging import get_indentation
  File "/usr/lib/python3.10/site-packages/pip/_internal/utils/logging.py", line 18, in <module>
    from pip._internal.utils.misc import ensure_dir
  File "/usr/lib/python3.10/site-packages/pip/_internal/utils/misc.py", line 21, in <module>
    from pip._vendor import pkg_resources
ImportError: cannot import name 'pkg_resources' from 'pip._vendor' (/usr/lib/python3.10/site-packages/pip/_vendor/__init__.py)

Already followed some instructions to uninstall and install again, and no luck in there.

Commands that I’ve tried:

sudo pacman -Rns python-pip
yay -s python-pip
sudo paccache -r

Also, all my envs using python3.9 got broken, I have installed it again using yay.