Artix Linux Forum

Artix Linux => System => Topic started by: Alan on 20 October 2021, 23:10:26

Title: [SOLVED] Cinnamon Desktop Breaks With Recent Update
Post by: Alan on 20 October 2021, 23:10:26
Today I updated my system. There weren't that many updates, maybe 14. Anyway, after the update, the system became unresponsive. So I rebooted. When the system came back up the desktop showed its wallpaper but didn't show the panel. After a few seconds the desktop went black. The mouse was still available but the was nothing to click. I went ahead and did a re-install. I updated the system (This time 290 updates). I rebooted. Again--the desktop with no panel--then after a few seconds, the black desktop with mouse available. So I reinstalled again, but this time I removed the extension I was using for the panel. I updated again but had the exact same results. Please help.

I'm using the "runit" version of the Cinnamon install.

Edit to add: I updated with the Artix only repositories.
Title: Re: Cinnamon Desktop Breaks With Recent Update
Post by: D-man on 21 October 2021, 01:09:32
The same happened to my Artix Cinnamon, too.

I tried cinnamon --replace, but it failed, and, as far as I remember, console showed complaints about  some shared object being inaccessible.
Later I visited the forum being already not next to computer. I noticed the thread about libffi.so.8. This one: https://forum.artixlinux.org/index.php/topic,3182.0.html
I haven't tried what is suggested there yet. I'll be able to do much later. Perhaps this may help.
Title: Re: Cinnamon Desktop Breaks With Recent Update
Post by: Alan on 21 October 2021, 02:04:16
I'm going to install the new mirrorlist as described by your link and see if that makes a difference. Funny thing, I was installing thunderbird when I saw your post and it broke the system. But in a different way -- it wouldn't even load into lightdm. It just gave me a prompt to log in to the terminal. First thing I'll install this time around is Timeshift. heh
Title: Re: Cinnamon Desktop Breaks With Recent Update
Post by: D-man on 21 October 2021, 02:16:41
That's such an unlucky thing!
Please let me know if it helps.
By the way, even with broken DE and WM I managed to get a virtual machine running just fine. Just needed to launch it. So I could finish some stuff there after the breakage.
Timeshift is a way... I have snapshots. But it's the last thing to try. Hopefully it will be fixed without it.
I even thought of switching to Void Linux. It's the first serious issue with Artix in about a year though.
Title: Re: Cinnamon Desktop Breaks With Recent Update
Post by: Alan on 21 October 2021, 04:03:10
I tried an update after I updated the mirrorlist but I still get the same error. Hopefully the Devs will see the issue and help get it resolved.
Title: Re: Cinnamon Desktop Breaks With Recent Update
Post by: ndowens on 21 October 2021, 05:11:18
What version of libffi do you have? Should be 3.4.2-4
Title: Re: Cinnamon Desktop Breaks With Recent Update
Post by: Alan on 21 October 2021, 05:52:27
The version I'm showing is 3.3-4. Can I upgrade it alone without breaking other components?
Title: Re: Cinnamon Desktop Breaks With Recent Update
Post by: D-man on 21 October 2021, 09:02:32
Mine is 3.4.2-4.

And Cinnamon is broken.

I have applied one package's update in console just now (not obviously related to the affected packages).

By the way, Artix mirrorlist had been updated right before the problem appeared. I haven't copied the file manually and haven't commented anything in it. I think the mirrorlist must be consistent.

I don't know what goes wrong. But it's still not working.

Maybe it's time for changing.
Title: Re: Cinnamon Desktop Breaks With Recent Update
Post by: nous on 21 October 2021, 11:02:01
The version I'm showing is 3.3-4. Can I upgrade it alone without breaking other components?
You can. Worst case, you revert to current by using the cached package in /var/cache/pacman/pkg.
Title: Re: Cinnamon Desktop Breaks With Recent Update
Post by: picokan on 21 October 2021, 11:53:49
My libffi version is 3.4.2-4, but no matter what I do cinnamon will always not work and ask for a non-existent libffi.so.7. Tried on two separate computers with nearly identical artix installations, and tried the solution suggested here (https://forum.artixlinux.org/index.php/topic,3182.msg20749/topicseen.html#msg20749). Thankfully I had a timeshift backup, but I can't update my computers while this problem still exists.
Title: Re: Cinnamon Desktop Breaks With Recent Update
Post by: ndowens on 21 October 2021, 13:04:48
Does it say which pkg is looking for libffi.so.7 ?  All needs to be so.8
Title: Re: Cinnamon Desktop Breaks With Recent Update
Post by: picokan on 21 October 2021, 13:22:59
When I tried to run cinnamon it errored out with
Code: [Select]
cinnamon: error while loading shared libraries: libffi.so.7: cannot open shared object file: No such file or directory
I was going to re-break my other computer to give you more information, but the 3rd pacman -Syu was the charm. I noticed that out of the ~50 packages that were due, only cjs and artix-mirrorlist were re-downloaded, making me think only they were updated after my first post here. I'm going to update this computer too and report back if it worked.
Title: Re: Cinnamon Desktop Breaks With Recent Update
Post by: picokan on 21 October 2021, 13:26:30
It worked here too. I think my mirrors just hadn't synced the cjs package for whatever reason.
Thank you for your time.
Title: Re: Cinnamon Desktop Breaks With Recent Update
Post by: Alan on 21 October 2021, 13:28:02
I upgraded to  3.4.2-4 and it broke the system. But this time the boot doesn’t make it to light dm. I can’t downgrade the package since it’s not in the cache since it’s a new Artix install. Can you point me to where I can download 3.3–4?
Title: Re: Cinnamon Desktop Breaks With Recent Update
Post by: strajder on 21 October 2021, 13:31:25
I upgraded to  3.4.2-4 and it broke the system. But this time the boot doesn’t make it to light dm. I can’t downgrade the package since it’s not in the cache since it’s a new Artix install. Can you point me to where I can download 3.3–4?
You should be able to boot the system from a Live ISO (https://artixlinux.org/download.php), chroot to your hard disk root partition and download all the upgraded packages. They should work now.

If you still have problems booting your system after that, please provide your /var/log/dmesg and /var/log/everything.log (use https://paste.artixlinux.org).
Title: Re: Cinnamon Desktop Breaks With Recent Update
Post by: Dudemanguy on 21 October 2021, 15:00:42
I upgraded to  3.4.2-4 and it broke the system. But this time the boot doesn’t make it to light dm. I can’t downgrade the package since it’s not in the cache since it’s a new Artix install. Can you point me to where I can download 3.3–4?

Can't you also simply switch to a different tty (ctrl+alt+f[2-6])? I can't remember if lightdm constantly tries to switch the VT by itself or not.
Title: Re: Cinnamon Desktop Breaks With Recent Update
Post by: Alan on 21 October 2021, 15:07:45
Okay, I updated and everything seems to work. I guess it was only a mirror issue. Such a simple fix...I only had to wait. :)

Thanks for all the attention.
Title: Re: Cinnamon Desktop Breaks With Recent Update
Post by: D-man on 21 October 2021, 15:41:45
Confirmed. After one more upgrade consisting of cjs, Artix mirrors and some more packages Cinnamon is back.
Thanks, devs!
Title: Re: Cinnamon Desktop Breaks With Recent Update
Post by: strajder on 21 October 2021, 16:59:11
@Alan I'm glad that solved the issue. I have added a section related to this and similar issues to the wiki page Troubleshooting (https://wiki.artixlinux.org/Main/Troubleshooting#Help.21_There_was_an_update_and_my_system_doesn.27t_boot.21).