Artix Linux Forum

Artix Linux => Applications & Software => Topic started by: Andy on 22 October 2022, 18:11:38

Title: icu drama, again. Chromium is broken after the last update.
Post by: Andy on 22 October 2022, 18:11:38
Hi,

for the 4th time extra/chromium is broken after the last update to chromium-106.0.5249.119-2.
Error:
Code: [Select]
/usr/lib/chromium/chromium: error while loading shared libraries: libicui18n.so.72: cannot open shared object file: No such file or directory

Hotfix:
Code: [Select]
wget -vO /tmp/icu-72.1-1-x86_64.pkg.tar.zst https://archlinux.org/packages/core/x86_64/icu/download/
tar -xvC /tmp/ --zstd -f /tmp/icu-72.1-1-x86_64.pkg.tar.zst
sudo chown 0:0 /tmp/usr/lib/libicu*.72*
sudo cp -a /tmp/usr/lib/libicu*.72* /usr/lib/

Before you install the Artix icu-72 update:
Code: [Select]
 sudo rm -f /usr/lib/libicu*.72*
Title: Re: icu drama, again.
Post by: Artist on 22 October 2022, 18:29:43
Package ungoogled-chromium-106.0.5249.119-1-x86_64.pkg.tar.zst from the Universe repo works fine on an up-to-date system.

artist
Title: Re: icu drama, again. Chromium is broken after the last update.
Post by: Andy on 22 October 2022, 18:40:00
Thank you but I *need* the web pages translate functionality and ungoogled-chromium does not have translate functionality.
Title: Re: icu drama, again. Chromium is broken after the last update.
Post by: dimgel on 22 October 2022, 19:23:54
Recent libreoffice-still 7.3.6-4 update also requires icu 72, while 71 is installed.
Title: Re: icu drama, again. Chromium is broken after the last update.
Post by: Dudemanguy on 22 October 2022, 19:28:49
Yes that's in Arch's repos. We haven't yet finished our icu rebuilds hence the mismatch. Same thing with libreoffice-still. It's totally out of our control. Just downgrade the package for now and wait.
Title: Re: icu drama, again. Chromium is broken after the last update.
Post by: Andy on 23 October 2022, 14:05:28
The icu drama continues.
I can't wait until my daily use programs work again.

Code: [Select]
sudo pacman -Syu
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing icu (72.1-1) breaks dependency 'libicui18n.so=71-64' required by betterbird
:: installing icu (72.1-1) breaks dependency 'libicuuc.so=71-64' required by betterbird

Sight.
I have to have both icu libs installed until every program that uses icu is updated to version 72.
So another hotfix. Bevor you install the Artix icu 72 update save the icu 71 libs.
Code: [Select]
mkdir -p /tmp/usr/lib
sudo cp -a /usr/lib/libicu*.71* /tmp/usr/lib/
sudo pacman -Suy --nodeps
sudo cp -a /tmp/usr/lib/libicu*.71* /usr/lib/

Don't forget to remove the hotfix files after they not longer needed: sudo rm -f /usr/lib/libicu*.71*
Title: Re: icu drama, again. Chromium is broken after the last update.
Post by: ####### on 23 October 2022, 16:10:25
"Thank you but I *need* the web pages translate functionality and ungoogled-chromium does not have translate functionality. "

Oh yes it does!!! You just need to add that feature in yourself.
Go here, to the Google Chrome extensions google translate extension:
https://chrome.google.com/webstore/detail/google-translate/aapbdbdomjkkjkaonfhkkikfgjllcleb/related?hl=en-GB (https://chrome.google.com/webstore/detail/google-translate/aapbdbdomjkkjkaonfhkkikfgjllcleb/related?hl=en-GB)

And then click add to Chrome, click the little thing on the top bar to manage the extension settings, it works, c'est bon, gut, maravilhoso, отлично, etc.  :D
Title: Re: icu drama, again. Chromium is broken after the last update.
Post by: infernoLP on 23 October 2022, 16:19:06
My whole system got bricked because of  `icu` ... Had to downgrade icu using chroot..
Now things mostly work but other things are broken (libreoffice, qt5-base etc..)
What is there to do? From what i read it's a common occurrence for `icu` to break?
Title: Re: icu drama, again. Chromium is broken after the last update.
Post by: dimgel on 23 October 2022, 17:15:01
Good for me now: icu, universe/ungoogled-chromium, extra/libreoffice-still are upgraded & consistent, the only thing still outdated is:

Code: [Select]
# check-link-consistency -q
ERR   -----------------   ------------------   ----------------------
ERR   Package             Problematic File     Unresolved Needed Libs
ERR   -----------------   ------------------   ----------------------
ERR   xfsprogs 5.19.0-1   /usr/bin/xfs_scrub   libicui18n.so.71     
ERR   xfsprogs 5.19.0-1   /usr/bin/xfs_scrub   libicuuc.so.71       
ERR   ---------------------------------------------------------------
ERR   Total 1 problematic file(s): 1 in 1 package(s) + 0 unassigned.
ERR   ---------------------------------------------------------------

Thank you. :)
Title: Re: icu drama, again. Chromium is broken after the last update.
Post by: Andy on 23 October 2022, 17:30:07
And then click add to Chrome, click the little thing on the top bar to manage the extension settings, it works, c'est bon, gut,

I don't have a "add to Chrome" button/icon/text/link
See screen hardcopy.
(https://i.ibb.co/WzLz3Zv/screencapture-chrome-google-webstore-detail-google-translate-aapbdbdomjkkjkaonfhkkikfgjllcleb-relate.png)
Title: Re: icu drama, again. Chromium is broken after the last update.
Post by: ####### on 23 October 2022, 19:59:18
Sorry, I think that was "chromium" on the laptop I tried with, not "ungoogled-chromium" as it was installed before that package existed, you need to add extensions manually to the ungoogled variety, you can still do that OK just not by the button.
Title: Re: icu drama, again. Chromium is broken after the last update.
Post by: Artist on 23 October 2022, 20:58:20
Y
... you need to add extensions manually to the ungoogled variety, you can still do that OK just not by the button.

You might want to have a look at https://github.com/NeverDecaf/chromium-web-store :

Allows adding extensions from chrome web store on ungoogled-chromium. Also adds semi-automatic extension updating.

artist
Title: Re: icu drama, again. Chromium is broken after the last update.
Post by: Artist on 23 October 2022, 21:02:53
My whole system got bricked because of  `icu` ... Had to downgrade icu using chroot..
Now things mostly work but other things are broken (libreoffice, qt5-base etc..)
What is there to do? From what i read it's a common occurrence for `icu` to break?

It is common you might have to wait a day or maybe two before all packages requiring a rebuild are ready.
It is not common things get broken; when updating to icu 72, pacman must have shown you something similar to:

Code: [Select]
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing icu (72.1-1) breaks dependency 'libicui18n.so=71-64' required by betterbird-esr
:: installing icu (72.1-1) breaks dependency 'libicuuc.so=71-64' required by betterbird-esr

artist
Title: Re: icu drama, again. Chromium is broken after the last update.
Post by: Andy on 23 October 2022, 21:43:41
You might want to have a look at https://github.com/NeverDecaf/chromium-web-store :
Allows adding extensions from chrome web store on ungoogled-chromium. Also adds semi-automatic extension updating.

I have the strong impression you have no clue what the chromium translate functionality is.
You go to a website in any language. Lets say you want order pizza online in Columbia and speak not a word Spanish.
You press the right button at https://rappi.com.co/ and click on 'translate to english'.
The website reload in its original design and with ALL javascript functionality. But now everything that is not graphic is translated to English.

The Google 'Translate' add-on on the other site allows you only to mark text and than take you to the google translate website for translation.
Good luck with ordering a pizza with this laughable functionality.

3 times today chromium de-install ; ungoogle-chromium install. Test -> does not work. Chromium install. 😬
Title: Re: icu drama, again. Chromium is broken after the last update.
Post by: Artist on 23 October 2022, 22:05:06
My remark about https://github.com/NeverDecaf/chromium-web-store was about extensions in general.
But I also tested it for the Google 'Translate' add-on on https://www.rappi.com.co/ and it translates the page to English OK.

artist
Title: Re: icu drama, again. Chromium is broken after the last update.
Post by: Andy on 23 October 2022, 23:22:29
But I also tested it for the Google 'Translate' add-on on https://www.rappi.com.co/ and it translates the page to English OK.

It is really tiresome to explain you every detail you don't understand.
Let me try a different approach.

(https://i.ibb.co/xJHSt2p/screencapture-rappi-co-2022-10-23-23-15-52.png)
(https://i.ibb.co/TBWjgmY/screencapture-www-rappi-com-co-translate-goog-2022-10-23-23-14-55.png)


Which one is google translate and which one is chromium build in functionality ?
Title: Re: icu drama, again. Chromium is broken after the last update.
Post by: d1nuc0m on 13 November 2022, 23:09:45
(...)
extra/chromium is broken after the last update
(...)

Extra is an Arch repository, so sad to say but sometimes dependencies mismatch do happen (libicu is in Artix repos, Chromium is in Arch repositories, and these are updated independently)

Which one is google translate and which one is chromium build in functionality ?

Upper one is Chromium, lower one is through Google Translate. Yeah, there is a difference, using a Google service on a Chromium fork explicitly made to be Google-free probably won't work very well, it is a workaround for a temporary problem (as this should be fixed by the rebuild)
Title: Re: icu drama, again. Chromium is broken after the last update.
Post by: d1nuc0m on 13 November 2022, 23:15:14
My whole system got bricked because of  `icu` ... Had to downgrade icu using chroot..

May I suggest downgrade [AUR] (https://aur.archlinux.org/packages/downgrade) script? It is on the AUR, so be careful and use it at your own risk, but IMHO often it is handy

Now things mostly work but other things are broken (libreoffice, qt5-base etc..)
What is there to do? From what i read it's a common occurrence for `icu` to break?

Can you check if the software has been installed from Arch's or Artix's repositories? I've been able to reduce issues like this on my machine since I switched packages available in both distros to Artix repositories (I had installed a lot of packages from Arch even though they were also available from Artix)