Not completely unexpected since I hadn’t updated in a while.
This is what I get
/usr/lib/chromium/chromium: error while loading shared libraries: libxml2.so.2: cannot open shared object file
: No such file or directory
tried reinstalling libxml2 and a couple more unsuccessful devises based on what info I found online.
Some says I have to “rebuild” Chromium. Not sure what that may mean.
Any clues?
They’re probably thinking of chrome, which is an AUR package.
chromium — upon which chrome is based — is from the official Manjaro repository, and it works just fine. It’s my default browser and I’m typing this very message with it.
I’m curious where you got that comment; sources are very important. My first reaction was that this is the right answer - generally, if somethign like this happens it’s an AUR package holding up the train - so you can simply remove that sucker and continue upgrading.
However, chromium exists in the ‘extra’ Manjaro repo, also there exist AUR entries for ungoogled-chromium-bin, omarchy-chromium-bin, ungoogled-chromium, chromium-snapshot-bin and chromium-widevine; so please be careful to check exactly what you have.
If you have it from AUR, then purge it and try again - then reinstall later… but best go with the default ‘chromium’ unless you very deliberately chose an alternative.
Backup and Snapshot NOW!!!
Don’t mess about… do that first, then you could go with a one-liner to refresh and synchronise… if ‘a while’ is more than a month, maybe keyrings will need tidying up too (will put that later).
So the comment you linked is AUR’s ungoogled chromium, so you need to go back and be clear about what package you actually have installed, because it isn’t chromium - and that’s rather an important detail
AUR isn’t supported - my advice is to purge anything that messes up the update, then put it back later (hence ‘rebuild’ for the newly synchronised system).
I repeated the update via TTY and the result was everything fine and up to date. Obviously Chromium is still not working.
While I was at it I got rid of all orphaned packages with sudo pacman -Rs $(pacman -Qtdq) (it was not necessary, just did it… I didn’t remove Chromium though just yet) and run sudo pacman-mirrors --continent && sudo pacman -Syu && pamac upgrade --aur.
This time it seemed it was actually reinstalling everything from scratch. The process didn’t even go through the end unsurprisingly, it stopped at a point with ==> ERROR: A failure occurred in build(). Aborting...
I tried to run again sudo pacman -Syu here is the outcome
:: Synchronising package databases...
core 147,8 KiB 360 KiB/s 00:00 [####################################] 100%
extra is up to date
multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
Packages (3) systemd-257.8-4 systemd-libs-257.8-4 systemd-sysvcompat-257.8-4
Total Download Size: 12,17 MiB
Total Installed Size: 36,76 MiB
Net Upgrade Size: 0,00 MiB
:: Proceed with installation? [Y/n] y
:: Retrieving packages...
systemd-257.8-4-x86_64 10,7 MiB 7,53 MiB/s 00:01 [####################################] 100%
systemd-libs-257.8-4-x86_64 1469,1 KiB 5,24 MiB/s 00:00 [####################################] 100%
systemd-sysvcompat-257.8-4-x86_64 6,7 KiB 106 KiB/s 00:00 [####################################] 100%
Total (3/3) 12,2 MiB 6,20 MiB/s 00:02 [####################################] 100%
(3/3) checking keys in keyring [####################################] 100%
(3/3) checking package integrity [####################################] 100%
(3/3) loading package files [####################################] 100%
(3/3) checking for file conflicts [####################################] 100%
(3/3) checking available disk space [####################################] 100%
:: Running pre-transaction hooks...
(1/1) Creating Timeshift snapshot before upgrade...
==> skipping timeshift-autosnap due skipRsyncAutosnap in /etc/timeshift-autosnap.conf set to TRUE.
:: Processing package changes...
(1/3) upgrading systemd-libs [####################################] 100%
(2/3) upgrading systemd [####################################] 100%
(3/3) upgrading systemd-sysvcompat [####################################] 100%
:: Running post-transaction hooks...
( 1/14) Creating system user accounts...
( 2/14) Updating journal message catalog...
( 3/14) Reloading system manager configuration...
( 4/14) Reloading user manager configuration...
( 5/14) Updating udev hardware database...
( 6/14) Restarting marked services...
( 7/14) Applying kernel sysctl settings...
( 8/14) Creating temporary files...
( 9/14) Reloading device manager configuration...
(10/14) Arming ConditionNeedsUpdate...
(11/14) Updating the MIME type database...
(12/14) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux515.preset: 'default'
==> Using configuration file: '/etc/mkinitcpio.conf'
-> -k /boot/vmlinuz-5.15-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.15-x86_64.img
==> Starting build: '5.15.189-2-MANJARO'
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [kms]
-> Running build hook: [block]
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
-> Running build hook: [filesystems]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-5.15-x86_64.img'
-> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux515.preset: 'fallback'
==> Using configuration file: '/etc/mkinitcpio.conf'
-> -k /boot/vmlinuz-5.15-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.15-x86_64-fallback.img -S autodetect
==> Starting build: '5.15.189-2-MANJARO'
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: 'ast'
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
-> Running build hook: [filesystems]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-5.15-x86_64-fallback.img'
-> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux66.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
-> -k /boot/vmlinuz-6.6-x86_64 -g /boot/initramfs-6.6-x86_64.img
==> Starting build: '6.6.101-1-MANJARO'
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [kms]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
-> Running build hook: [filesystems]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-6.6-x86_64.img'
-> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux66.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
-> -k /boot/vmlinuz-6.6-x86_64 -g /boot/initramfs-6.6-x86_64-fallback.img -S autodetect
==> Starting build: '6.6.101-1-MANJARO'
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: 'ast'
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
-> Running build hook: [filesystems]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-6.6-x86_64-fallback.img'
-> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
(13/14) Refreshing PackageKit...
(14/14) Reloading system bus configuration...
I did a reboot after and it is still holding.
What do you mean by
AUR isn’t supported
I tried with sudo pacman -S libxml2 , it says
warning: libxml2-2.14.5-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) libxml2-2.14.5-1
I then tried with
sudo pacman -S libxml2-legacy
and it works, Chromium comes back alive. Reason why I didn’t want to nuke it just yet. Reinstalling it is not fun.
Once again I run sudo pacman -Syu here is the outcome
:: Synchronising package databases...
core is up to date
extra is up to date
multilib is up to date
:: Starting full system upgrade...
there is nothing to do
But I think the system needs some fixing. Any suggestion on where to start?
I could try to run sudo pacman-mirrors --continent && sudo pacman -Syu && pamac upgrade --aur again and see what happens…
And yes - relying on a package like ungoogled-chromium is a pain - the only way you can remain stable in such case is to create a local (portable) mirror
It could run fine on the unstable branch now, yet it will have the same issue since ungoogled-chromium-bin is a repackaged Arch package of ungoogled-chromium and is prone to the same dynamic linking issues; I was subsbribed to both packages for about 4 years and a lot of comment were and still are error while loading shared libraries: libXXX.so.XXX: cannot open shared object file: No such file or directory