It’s good that you’re eager to learn.
That’s part of the reason the Stable Update Announcements exist - for you to address important maintenance tasks as they arise, and learn from the experience.
Each time a Manjaro update becomes ready a new thread is created to address issues specific to that update; for example, the last was [Stable Update] 2024-05-29.
In each Update Announcement is a section clearly marked as Known issues and solutions - you are expected to monitor these announcements and be aware of any issues affecting the update; preferably before performing the update.
Manjaro is a so-called rolling release distribution that requires hands-on attention by its users, so this expectation is justified.
In the case of:
which I drew attention to earlier:
The removal of that repo was documented in the respective Update Announcement at the time - so long ago, in fact, that it is no longer listed under recent announcements;
The community repository has been merged into extra and is now empty
The Arch git migration is now complete .
The [community]
repository has been merged into [extra]
and is now empty.
It may take a bit of time for mirrors to catch up (more details here).
Update your system and handle the pacman
sudo pacman -Syu "pacman>=6.0.2-11"
In order to remove the defunct [community] repo changes must be made to /etc/pacman.conf
.
Changes will be provided in a file with the extension .pacnew.
Pacman provides the utility pacdiff
to manage these files and will use vim -d
for comparison if the environment variable DIFFPROG is not set.
pacdiff -s
If you would like to use a different comparison tool you may prepend the env var:
DIFFPROG=meld pacdiff -s
Then sync with the repositories again:
sudo pacman -Syu
And you can also remove the now unused repository.
sudo pacman -Sc
NOTE: Be aware that this last command will also remove all packages in the pacman cache that are not currently installed: in other words, backup copies of packages that you have uninstalled at some point will no longer be stored on your hard drive.
In most cases, this probably will not cause headaches. To prevent even minor aches and pains, see the Arch Wiki for information on cleaning the cache
As it happens this issue had a comparatively easy fix, which was provided via a pacnew file for you to carefully merge with the existing file.
- See System Maintenance for more information.
Failure to correct that issue could simply be an oversight, however, it can also be indicative of a complete disregard for system maintenance.
This is common among (particularly newer) users who make an assumption that performing an update equates to system maintenance, and nothing else needs to be done; or, if they take an entitled stance that they should not have to do that !@#$%, which happens more often than one might reasonably expect.
In short, always check the Update Announcements, and search for related information any time you have an issue. When asking for support, always remember that quality responses are directly proportional to the accuracy and clarity of your questions.
Cheers.
:end teaching moment