A Complete Idiot's Guide To Endeavour OS Maintenance / Update / Upgrade

I don’t even know when was the last time the desktop environment crashed or couldn’t be started.

1 Like

Yeah, to knock on wood, me neither.

1 Like

5 posts were split to a new topic: Battery Maintenance

@fbodymechanic This one of the most interesting posts I have seen.
As the title says, it is for me!

1 Like

Allow me to add what I found [in this post here]

EDIT: Before doing this please see the posts below
(System clean up & Maintenance - #20 by joekamprad): (by @joekamprad )

yay -Sc
rm -rf .cache/*

However, I would consider the following:

2 Likes

Oh… sorry… if @dalto says so, so better not use it. It sounds logical.
(but I gave a reference where I got it and I didn’t see such warning there…)
Anyway it is good we know it now.

Thanks
UPDATE: I edited my post above accordingly.

2 Likes

I count my self lucky. After I did this before I saw your post/warning, I just rebooted and it went fine…

Many thanks for the warning. And I hope people will consider my edit above and I would not be a cause of any trouble to anybody.
Thanks again.

1 Like

Just stick to the OP. That’s more than you need for regular system maintenance. All these “additions” do more harm than good.

The only possible criticism I could have towards the method in the OP is that it contains too much stuff, not too little. So any additions really just make it worse.

My advice: unless you desperately need storage space, don’t bother clearing your caches. You get no benefit from that, except some free space. When you are making a backup of your home directory, do not include the cache, of course. Removing junk on Linux does not make it run faster (uninstalling orphan packagess does make updating faster, of course).

4 Likes

Yes, while they surely have their uses, neither of these I would recommend under the umbrella of “normal maintenance.”

3 Likes

Reading again that reference (bold are mine):

Indeed these commands should not be used for regular maintenance:

Delete Pacman Cache

pacman/yay -Sc/c

Remove Orphan packages

sudo pacman -Rns $(pacman -Qtdq)

Clean the Cache

rm -rf .cache/*

Yes… I understood it as not day to day maintenance, that is what I understood from “regular”, so I thought it can be done once or when needed!

You can use then whenever you need, iff you are completely aware of what are good and bad of those commands, and how they can affect your system.

A famous person had wisely said that: your system, your rule ! Hence, it is all up to you, but the explanation provided by @fbodymechanic is entirely sufficient for taking care of system.


the famous person I told is @Shjim
2 Likes

I won’t ever run them again, I promise, after the warning from @dalto that @pebcak mentioned.

I will never do it especially I am just 3 months old with Arch based distros!

1 Like

Nope, you can run them, but the trouble with them is that they remove many things from system, by which restoring system after any trouble causes difficulty to fix them, like they can potentially remove journalctl logs and many others, hence use of those commands are not recommended.

You are more knowledgeable than me as I had joined EndeavourOS in February this year, and I had directly arrived here from Windows only !!

1 Like

Well, you are 6 months old! But I think it is a good step. You will never regret it and will never look back.
I am on Linux since 2000 (Suse), and I never looked back.
But though I have been that long on Linux, Arch is absolutely different in many things.
So, I am learning from scratch!

Honestly, I said many times I have been distro hopping for almost a year, tried almost every thing (RPM, DEB, BSD, Gentoo, Slackware…) but I found Arch based are the best and EndeavourOS is the best of the best. Above all, the community here is wonderful.

2 Likes

Only when it comes to package management and the rolling release model of updating.

In every other regard, Arch is just a normal soystemd-based GNU/Linux OS.

As far as I know, there is no AUR in other distros. IT is only repos for packages to be just installed. Nothing compiled/built on your machine.

On Gentoo, almost everything is compiled/built on your machine.

Also, building packages from the AUR with makepkg is very similar to building packages for Debian with dpkg-buildpackage. It’s hardly a unique concept, it’s just one that is executed the best.

Many packages in the AUR are distributed as binaries (though the packaging is still done locally, of course, there is no compiling).

1 Like