I’m faceing behavior when after update my system literally freaks out.
Yes I’m able to update it without a problem , but after a couple times of doing it I just gave up because I’m affraid do it. Seriouslly.
So let’s start from begining maybe.
At pass in one of older post SGS adviced me to use pacman -Syu at first to update system and garuda-update in case when first one failed.
I’ve fallowed that path until I noticed change in update process:
╰─λ sudo pacman -Syu
Garuda Linux is updated via the "garuda-update" command instead of pacman -Syu. https://wiki.garudalinux.org/e
n/garuda-update
Would you like to run "garuda-update" instead? (i = never ask again/ignore) [y/N/i]
Which option of upgrading should I use currently? And what’s the difference between them?
As far as I tested all of them just works fine, at the end system is upgraded. At least I don’t feel a difference beside that extra comment from terminal.
So far so good. Let’s update & upgrade the system. As mentioned above it will succeed. And system will be working just fine. But after restart it won’t be usable any more!
By that I mean :
I will receive a tones of commands like
Above error doen’t come from my computer. It’s only an example found in internet. But what is common that part where /home/$USER/.config/any config file which program I try to use suddenly are not writtable. Noticed for bash, plasma, web browser- everything is not available.
After a some time a screen going to be just freezed. Tried to make a copy of error messages, screens etc. But guess what? Yeap ! Can’t save it
That’s why I can only describe a such situation. That happend to me 3 times in last 3 months.
After a such upgrade when it finally crashed one by one app ,the only sollution is reinstalling a system.
By restoring I mean that option:
In big shortcut:
I use still timeshift with rsync option, and backup entire partition to another one
I know that current supported backup app is snapper, but after spectacular failure with it decided to go back with Timeshift, which personally in my opinion is everything I need
In case like described upgrade problem while nothing seams to work , using a bootable pendrive with old Garuda iso version - that one which still has got timeshift, I’m able to REINSTALL system.
Yes, I have to reinstall (with formatting) because without it snapshot restoring will definitelly failed!
Lastly I’m able to restore specific backup.
Finally I’m up and running , untill a new upgrade attempt
How to fix that?
Bellow I’m pasting garuda-ixin (but keep in mind it won’t be fresh since I’m not able to upgrade my system safely and that’s why data is related to restored backup.
I can’t speak for using timeshift anymore, it is probably no longer officially supported. You should consider BTRFS Assistant Btrfs Assistant 1.0 is nearly here. If there’s some missing functionality in timeshift, you should communicate what specifically that is.
If you are able to restore an old backup still, why not restore that, and upload or save your important data somewhere else, so you can avoid restoring to an old medium.
garuda-update did a job perfectly ! Last full system update: 2022-06-23
Full success, even after restart no issues so far! Thank you!!!
Do I understand it correctly that sudo pacman -Syu
shouldn’t be used any more?
I think so, but I just really like it and get use to backup on Garuda and Ubuntu as well. I don’t care about backuping and restoring time. It’s really easy , even from command line to restore. A couple of times it realy seved me and my data!
I really give a shot to snapper, but it failed in my case. Why many people choose it on top of timeshift? I was reading about that but either I’m too lame (more probably ) or didn’t get correctly snapper’s adventage. Also watched on YT videos regarding snapper, but they seams outdated. In case of garuda we have lovely app and believe it’s more advanced than versions which were presented…
Marked down, thank you filo
Guessing that command (if similar situation occurs ) has to be put from root terminal (mean CTRL+ALT+F3). Otherwise I’ll receive “permission error”
Go to TTY and login as root, not with your user account name.
Then you don’t need sudo with commands. Just be careful with root, when using paths in command line, since by default starts in /root/ folder. Always check/confirm for correct path existence.
Good reminder petsman! Thank you. That’s true it’s very easy to forget that step ! So I’m guessing in TTY it’s better to login like above as my main @USER.
Your home directory is not included in snapshots by default. If there is a permissions problem in your home directory trying to fix it by restoring from a snapshot will have no effect.
Generally, the most common reason for user permissions being screwed up is running terminal commands or GUI programs as root. Don’t do that.
Yes you are right. However as a root I do usual things, nothing fancy or dangerous.
I have to say it again : problems started after system upgrade. Yes, I used then sudo pacman -Syu, because I’ve always done it that way. As a Arch based distro for me it’s obviouse.
With root privillages I also set up docker (which was working just fine from months). Yes, I preffer docker more than podman, which for me seams to be limited.
Another case when I used higher level rights: set up remote connection.
Probably the biggest change on my side was uninstalling snapper and installing timeshift as replacement.
And I think that’s it. Don’t remember other needs.
In my case from last 2-3 months I had 3 times that particular situation when stable system once upgraded just littearly crashed (from my point of view). Scenarrio was always the same. That’s why thought it’s worth to mention about the case which I experienced.
TBF the last time I faced this was when I tried adding my user to a group using usermod but apparently I forgot the -a flag, which completely broke my user since I was removed from all groups apart from the one I tried to add, resulting in exactly this behaviour.
This requires some attention, IMHO. It shouldn’t happen as a pattern, so you should find the real pattern. If it happens in all system upgrades, or only in those where some specific packages are upgraded, so you need to find which one(s).
An unusual behavior I can spot is from PEBCAC.
This is not a standard Garuda partitioning scheme, where there are several btrfs subvolumes, as you probably know.
If login as $USER is not possible in TTY and this su - $USER method works, then something is wrong or needs investigation.
check user folder and contents ownership and permissions
check $USER groups
check sudoers settings
check journal for relevant messages
more, but we hope the above will be enough
Use the above to see what’s wrong, or post here to get some advice.
Bying honest - I don’t have an idea. Just trying to keep up with updates and rather don’t check packages one by one if you mean that.
Yeap you are right it isn’t. And a reason of thet is simple: over 1 year ago when when decided to give a try to Garuda distro and my main system was Windows. Then I didn’t want to remove it (just in case). So I’ve shrinked Win partition to half and other half gave to Linux.
I’ve needed a boot partition for grub & other option ( I have got also Macrionium Reflect installed , which could be run up while computer turning on).
Over a year ago also I’ve noticed problem to set up Garuda side by side using included installer. The problem was with partitions. But I have figured it out that when I do it manually it just works.
After some time bought another ssd drive, copied a garuda’s data and from that time I have 2 ssds with 2 systems. Previously selecting system was handled by bootloader (but that was real pain in case when one of the system was reinstalled of something happened with grub…).
On my PC case have got turn on/off swittcher for 6 devices (hard drives / dvd rom etc…). And that sollution is the best choice I’ve made.
I’d love to check it as well! Let’s go for it. Do you have any specific commands which you are interesed in particular?
╰─λ groups zawier
sys games scanner wheel input kvm lp video libvirt realtime autologin docker cups plugdev sambashare zawier
╰─λ sudo -l
[sudo] password for zawier:
Matching Defaults entries for zawier on zawier-garuda:
editor=/usr/bin/micro, insults, pwfeedback, env_keep+=QT_GRAPHICSSYSTEM
Runas and Command-specific defaults for zawier:
Defaults!/etc/ctdb/statd-callout !requiretty
User zawier may run the following commands on zawier-garuda:
(ALL) ALL