This happens to me every year and I can’t figure out how to resolve this.
I tried updating my system after I noticed that my video player was lagging and now My firefox doesn’t even work so it’s hard for me to search this forum.
Can someone help me and also explain in plain english why this keeps happening?
It just keeps saying failed to prepare transaction
Could not satisfy dependencies:
-unable to satisfy dependency ‘ocaml’ required…
-unable to satisfy dependency 'ocaml>=4.08.0…
Also, I used Instagrams Meta AI to help me and it reduced the updates from 732 to 41. It told me to try cleaning the package cache using:
sudo pacman -Scc
After that I was able to update the system. It looks like all of the Manjaro packages are up to date but there are 41 AUR packages that I can’t update.
Maybe by keeping your system up to date, instead of updating only once a year?
Manjaro is a curated rolling-release distribution and must be kept up to date. Every bundled update — whether you’re on the Stable branch or on the Testing branch — comes with a dedicated thread under the Announcements category.
It is imperative that you look at these threads. The first post of the thread will detail the important changes, and the second post will detail any potential problems and how to solve them.
Furthermore, by default, you have an update notifier icon in the system tray of your desktop environment. It will warn you by flashing red whenever there are updates — whether it’s a bundled update or only a single package.
If you cannot commit yourself to keeping your system up to date because of whatever reason — bandwidth limitations or whatever — then Manjaro is not the right distribution for you, and then you will be better off with a point-release distribution like Mint, Fedora, Debian, Mageia, or any of the hundreds if not thousands of others.
Lastly, if there are that many updates, then the safest way to update the system is by completely logging out of your graphical environment, logging into a tty, and running the update process from there, using pacman first — in order to update the official system packages first — and then pamac or an AUR helper afterwards for the rest.
I can’t do that because every time I attempt an update it fails.
I looked at it on my phone and I didn’t understand it.
Yes, I can see that that’s how I knew that I had 732 updates. But, like I said even when I have 41 like I have right now I can’t update it and I don’t want to drop everything I’m doing to troubleshoot it at the time so it piles up.
I’ll consider that. I didn’t know about the difference between a rolling release and a point-release distribution. My only problem is that I don’t know how to safely migrate my files to another distribution.
Unsupported packages.
Whether these are deprecated (dead, no longer in use by anyone, etc), AUR packages that need to be managed by you, or anything else, again depends on the packages themselves and what you need.
Arguably you should not have any of them.
They are outside of the repositories.
It is up to you to manage them.
If you are a ‘casual’ user on Stable branch that is unfamiliar with any of these things … then it is all the more reason for you to consider unsupported packages as exactly that.
If you intend to extend your package offerings by using the Arch User Repository then it is your responsibility to understand it and maintain the associated packages appropriately.
I don’t know enough to know whether I should delete them or not.
Based on what you said it sounds like I should just be able to delete all of them then.
OK … First I will point out all of the ones that are super-aliens. Ones that dont exist even in the AUR.
Those should definitely be gone.
(also note I didnt go through every ocaml and python package)
The rest are also not system critical components.
Only you know if you need them … but I kinda doubt you need multiple old versions of electron, for example.
EDIT.
Oh, I hadnt realized you were also running on 6.5.
It is long EOL (end of life, dead, gone).
In that case … please install and boot into a supported kernel before removing 6.5.
Also, your system is probably out-of-date as the Community repo was merged into the Extra repo almost a year ago. It looks like you have not been maintaining your pacnew/pacsave files, and failure to maintain pacnew files will eventually result in a broken system. This post from another topic should be heeded:
Please note that to run pacdiff you may need to install the pacman-contrib package, as it was split from the pacman package several months ago.