Warning: filesystem: /bin already exists in filesystem
It has been backed up to /bin.old
Warning: filesystem: /etc/mtab already exists in filesystem
It has been backed up to /etc/mtab.old1
Warning: filesystem: /etc/profile.d/locale.sh already exists in filesystem
It has been backed up to /etc/profile.d/locale.sh.old1
Warning: filesystem: /lib already exists in filesystem
It has been backed up to /lib.old
Warning: filesystem: /lib64 already exists in filesystem
It has been backed up to /lib64.old
And then my system stops functioning. It’s easy enough to fix in a live boot, but I want to stop this from happening anymore.
I believe this is related to when I accidentally enabled unstable repos. I have since attempted to fix this by running: sudo pacman-mirrors --api --set-branch stable
I suspect there are remaining configuration problems related to this error on my part. Does anyone have any suggestions on how I can completely revert back to stable and/or otherwise fix this recurring issue? I haven’t tried a non-AUR install to see how that would turn out, but I can if it would help debug (I only hesitate to do it in advance because of the trouble of booting into a live USB and fixing it manually.)
From everything I know so far, this can’t be caused by changing branches.
These are obviously malicious commands. What software would come up with the idea of ​​replacing /bin or /lib or /lib64 or even /usr/bin?
Whoever wrote this has an exotic form of humor
If this is all that has happened, you can manually revert that.
It should be quite easy.
But I suspect this is just part of a very long list - which makes reverting it … not so easy.
You could try to:
boot from usb
mount your / file system
assess the damage - is there still /bin or only /bin.old instead?
Likewise for the other directories.
But even files are affected according to your output - doesn’t look good.
Yeah, fixing it is no problem from a live boot USB. The machine boots and works fine afterwards. The problem I’m having is when I try to do it again even after switching branches (I have other documentation posted in this thread to review now regarding this), it continues to do these changes which seem inappropriate given the actual task (installing ungoogled-chromium from AUR.)
I don’t have a snapshot, unfortunately. I’ll keep reinstalling as a last resort, but let’s see if I can learn from the documentation provided by some others in this thread.
pacman-staticAUR is a statically compiled version of pacman, so it will be able to run even when the libraries on the system are not working. This can also come in handy when a partial upgrade was performed and pacman can not run anymore.
The pinned comment and the PKGBUILD provides a way to directly download the binary, which can be used to reinstall pacman or to upgrade the entire system in case of partial upgrades.
…if you insist on repairing it and not just reinstalling.If so, use this as a learning experience.
Thanks for the documentation. I had actually been referencing that, though I hadn’t run all the steps. Instead of syncing with pacman, I updated with pamac I believe.
I was able to do a very minor installation without causing the problem again. --dry-run unfortunately doesn’t reveal what it’s going to do once it tries to install (such as this renaming operation) so I can’t see if trying ungoogled-chromium again will cause the issue again without just trying it.
It’s definitely not the PKGBUILD that commands any such renaming of core system directories.
… you are sure you want to build the browser yourself?
There is a .bin version too in the AUR
you should probably rather use pamac build over pamac install
but maybe it doesn’t make a difference - if I build stuff myself, I use either yay or makepkg directly
In the end, I wasn’t able to prevent it from happening every time I tried a build. I’ll have to reformat. Looks like manjaro with mate isn’t supported anymore anyway.
Thank you everyone for your help looking at this, though.
There is just no “official” Mate flavor edition - but running Mate as such is of course possible.
There is a person who made a spin off with his own preferences: