Be sure to let it finish, because it can take some time. It’ll first select the up-to-date mirrors and rank them in terms of network performance, and then it’ll run a full system update — there was a major Stable Update again early this morning.
By the way, that last package is a widget that you can add to your panel.
Note: I do not know whether optimus-manager will be sufficient. You probably also need an Nvidia driver, but I don’t have any Nvidia hardware and therefore I cannot offer you any advice on that. There is however a pertinent section on Nvidia at the Arch Wiki.
The code finished with the following error: error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: optimus-manager and envycontrol are in conflict
How do I fix it?
and when I ran optimus-manager appears this error: ERROR: a GPU setup was initiated but Xorg post-start hook did not run.
Log at /var/log/optimus-manager/switch/switch-20231201T152834.log
If your login manager is GDM, make sure to follow those instructions:
If your display manager is neither GDM, SDDM nor LightDM, or if you don’t use one, read the wiki:
Cannot execute command because of previous errors.
Hmm… I didn’t know you had envycontrol installed. I know that it’s somewhat similar to optimus-manager, but like I said, I have no experience with it. The Arch Wiki recommends optimus-manager, so I would advise going with that, and removing envycontrol.
Best would be to break it down into separate steps then. Make sure your mirrors are up to date (if you haven’t already done that) and update your system with…
sudo pacman -Syu
Then remove envycontrol and install the optimus-manager stuff.
Try installing those packages again and paste the output here verbatim. Type two rows of three backticks each and paste your output in between the two rows.
warning: optimus-manager-1.5-3 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: optimus-manager and envycontrol are in conflict
I’m guessing that you’ve got a bunch of old/outdated AUR software installed, and possibly that you haven’t updated your system in a long time.
youtube-dl is an AUR package, but as best I know, it is deprecated and it is now advisable to use yt-dlp instead. java-runtime is neither in the repositories nor in the AUR.
I would advise you to uninstall java-atk-wrapper-openjdk and persepolis. You can reinstall them again later if you want.