Page 1 of 2

New Install on Ubuntu 22.04

Posted: Wed Aug 07, 2024 9:19 am
by tpepitone
Having some trouble with a fresh install on 22.04:


The following information may help to resolve the situation:

The following packages have unmet dependencies:
chromium : Depends: libzstd1 (>= 1.5.2) but 1.4.8+dfsg-3build1 is to be installed
Recommends: chromium-sandbox but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
ERROR: Subcomponent 'chromium' installation failed - exiting.
Subcomponents installation failed - exiting
RESULT=1

Running the version:
Distributor ID: Ubuntu
Description: Ubuntu 22.04.4 LTS
Release: 22.04
Codename: jammy


Thanks.

Re: New Install on Ubuntu 22.04

Posted: Wed Aug 07, 2024 9:28 am
by sgardil
tpepitone wrote: Wed Aug 07, 2024 9:19 am Having some trouble with a fresh install on 22.04:


The following information may help to resolve the situation:

The following packages have unmet dependencies:
chromium : Depends: libzstd1 (>= 1.5.2) but 1.4.8+dfsg-3build1 is to be installed
Recommends: chromium-sandbox but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
ERROR: Subcomponent 'chromium' installation failed - exiting.
Subcomponents installation failed - exiting
RESULT=1

Running the version:
Distributor ID: Ubuntu
Description: Ubuntu 22.04.4 LTS
Release: 22.04
Codename: jammy


Thanks.
Hey @tpepitone

Can you double check to see that your system is fulling up to date before installing? I believe I've noticed this issue before and it was an issue of not having my system up to date. You can do so with `sudo apt update` and `sudo apt upgrade`. Let us know if this is a quick fix, if not we'll have to look into it more.

Re: New Install on Ubuntu 22.04

Posted: Wed Aug 07, 2024 9:44 am
by tpepitone
Up to date except for a couple of kept-back packages:

The following packages have been kept back:
python3-update-manager update-manager-core
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

Re: New Install on Ubuntu 22.04

Posted: Wed Aug 07, 2024 10:10 am
by DoubleDoubleA
Hi @tpepitone,

Some upstream packages got updated for Ubuntu. We have this addressed in the upcoming XI 2024R1.2 release.

For now, please add the following lines to the end of subcomponents/chromium/chromium_22.pref:

Package: libzstd1
Pin: origin "deb.debian.org"
Pin-Priority: 700

and re-run the install.

Thanks,

Aaron

Re: New Install on Ubuntu 22.04

Posted: Wed Aug 07, 2024 3:38 pm
by eloyd
We ran into this today as well. New installation on Ubuntu 22.04.4 LTS that was fully updated, straight off the Ubuntu install. Trying to install 2024R1.1.5.

Added the package bits to the chromium pref file and we'll see how it goes. Too bad this step of the install requires full re-compile and everything. It takes....so....long... on a dinky virtual test box. :D

Re: New Install on Ubuntu 22.04

Posted: Wed Aug 07, 2024 3:55 pm
by eloyd
Updating the pref file allowed the install to complete properly.

Re: New Install on Ubuntu 22.04

Posted: Wed Aug 07, 2024 4:26 pm
by eloyd
So, funny thing. It looks like maybe the random MySQL password generator actually selected passwords the first time through, and then when trying to do it the second time through with the pref file updated, it tried to generate them again. Except it couldn't, because they were already specified. So the install finished, but Nagios could not connect to MySQL and it basically wasn't running.

Reverted back to pre-install snap and am trying again.

Re: New Install on Ubuntu 22.04

Posted: Thu Aug 08, 2024 4:32 pm
by danderson
eloyd wrote: Wed Aug 07, 2024 4:26 pm So, funny thing. It looks like maybe the random MySQL password generator actually selected passwords the first time through, and then when trying to do it the second time through with the pref file updated, it tried to generate them again. Except it couldn't, because they were already specified. So the install finished, but Nagios could not connect to MySQL and it basically wasn't running.

Reverted back to pre-install snap and am trying again.
Looking at how the random passwords are generated and saved, I see how this would become an issue under these circumstances. I will make an internal issue for this.

Re: New Install on Ubuntu 22.04

Posted: Fri Aug 09, 2024 6:48 am
by eloyd
Thanks. For completeness, I can say that with the pref file updated PRIOR to running the install, it finished fine in our 22.04 test box.

Re: New Install on Ubuntu 22.04

Posted: Fri Aug 09, 2024 1:54 pm
by danderson
That makes sense!