Debian 10 Buster Cinnamon Desktop Update

New to Debian (Or Linux in general)? Ask your questions here!

Re: Debian 10 Buster Cinnamon Desktop Update

Postby trinidad » 2020-03-27 13:36

You might want to lower your system cache pressure setting. Default is 100. Try 50 and see if you get less crashes.

Code: Select all
sudo nano /etc/sysctl.conf


Add the line below at the end of the file and save.

Code: Select all
vm.vfs_cache_pressure=50


TC
You can't believe your eyes if your imagination is out of focus.
trinidad
 
Posts: 136
Joined: 2016-08-04 14:58

Re: Debian 10 Buster Cinnamon Desktop Update

Postby Head_on_a_Stick » 2020-03-27 13:41

xlepws wrote:see what happens

Both of your suggested commands do exactly the same thing. Lots of packages would be upgraded to the sid versions, including libc6.

Installing stuff from sid in a Debian stable system is a really stupid idea unless the user actually knows what they're doing, please don't post "advice" like that.

There's a very good reason why stevepusser has gone to the trouble of backporting the packages to the stable release.
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12612
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Debian 10 Buster Cinnamon Desktop Update

Postby xlepws » 2020-03-27 14:03

Head_on_a_Stick wrote:
xlepws wrote:see what happens

Both of your suggested commands do exactly the same thing.
So what would be the command to install a single package, leaving all dependencies "unsolved" (or say, from the current release? I have found a (very old) discussion which mentions something like that: https://linuxaria.com/howto/how-to-inst ... n-testing; has anything changed since?
Installing stuff from sid in a Debian stable system is a really stupid idea unless the user actually knows what they're doing, please don't post "advice" like that.

There's a very good reason why stevepusser has gone to the trouble of backporting the packages to the stable release.
I will learn from this post, thanks man (In my mind I'd create a snapshot with timeshift or similar, then revert if anything went wrong). Btw Steve himself replied in the thread I linked above, saying best would be to backport..still true :)
Last edited by xlepws on 2020-03-27 14:37, edited 1 time in total.
xlepws
 
Posts: 21
Joined: 2020-03-16 14:09

Re: Debian 10 Buster Cinnamon Desktop Update

Postby Head_on_a_Stick » 2020-03-27 14:19

xlepws wrote:So what would be the command to install a single package, leaving all dependencies "unsolved" (or say, from the current release? I have found a (very old) discussion which mentions something like that: https://linuxaria.com/howto/how-to-inst ... an-testing

That would only work if the dependencies were unversioned or if they had dependency versions that were satisfied by the packages in stable and that is not the case for many of the Cinnamon desktop packages.

I simulated your suggested commands on my buster box and in both cases a whole mass of dependencies from sid were pulled in, including libc6. B0rkage would be almost guaranteed. Feel free to try it on your system and prove me wrong though, I could do with a good laugh.
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12612
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Debian 10 Buster Cinnamon Desktop Update

Postby xlepws » 2020-03-27 14:40

Head_on_a_Stick wrote:
xlepws wrote:So what would be the command to install a single package, leaving all dependencies "unsolved" (or say, from the current release? I have found a (very old) discussion which mentions something like that: https://linuxaria.com/howto/how-to-inst ... an-testing

That would only work if the dependencies were unversioned or if they had dependency versions that were satisfied by the packages in stable and that is not the case for many of the Cinnamon desktop packages.

I simulated your suggested commands on my buster box and in both cases a whole mass of dependencies from sid were pulled in, including libc6. B0rkage would be almost guaranteed. Feel free to try it on your system and prove me wrong though, I could do with a good laugh.
I believe you :) I will install a Deb10 stable and try myself though..maybe :D This said, I was just wondering if the 2 commands I suggested (after reading them on the page I linked) are meant to do the same thing..or 2 different things (1st with dependencies, 2nd without) but eventually result in the same output.
xlepws
 
Posts: 21
Joined: 2020-03-16 14:09

Re: Debian 10 Buster Cinnamon Desktop Update

Postby Head_on_a_Stick » 2020-03-27 15:09

xlepws wrote:2 different things (1st with dependencies, 2nd without) but eventually result in the same output

^ This.
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12612
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Debian 10 Buster Cinnamon Desktop Update

Postby newb2debian » 2020-03-29 15:45

trinidad...the sysctl.conf file was empty so I added the line you suggested, and after some research, another line to the file:

vm.swappiness=10
vm.vfs_cache_pressure=50

Although I still get Cinnamon crashes, they don't seem to be as frequent.
newb2debian
 
Posts: 17
Joined: 2018-02-11 14:25

Re: Debian 10 Buster Cinnamon Desktop Update

Postby stevepusser » 2020-03-30 01:08

xlepws wrote:
stevepusser wrote:You could try upgrading to the 4.2 version in my OBS repo to see if that makes any difference.
or you could install the latest cinnamon package available, i.e. v4.4.8-2 either by running
Code: Select all
apt -t sid install cinnamon
(with sid's dependencies) or
Code: Select all
apt install cinnamon/sid
(your release's dependencies), and see what happens :)


You can crash your car into a cement wall at 200 kph to "see what happens", but it wouldn't be my advice to anyone!
MX Linux packager and developer
User avatar
stevepusser
 
Posts: 12058
Joined: 2009-10-06 05:53

Re: Debian 10 Buster Cinnamon Desktop Update

Postby trinidad » 2020-03-30 12:14

vm.swappiness=10


Adjust swappiness the other way. Default is 60 so set it to 80. Things like this are relative to each other. Cache pressure down swappiness up can help with sporadic system RAM shortage. Performance difference on such a machine should be negligible for most things but crashes should be less frequent.

TC
You can't believe your eyes if your imagination is out of focus.
trinidad
 
Posts: 136
Joined: 2016-08-04 14:58

Re: Debian 10 Buster Cinnamon Desktop Update

Postby newb2debian » 2020-04-03 14:07

trinidad...changed swappiness to 80. Thanks.

I think I may have found what is causing the Cinnamon crashes - BleachBit (the repo version and the upgraded 3.2.0 version). When I finish using my computer I run BleachBit and then mouse down to the Menu button and click and that's where most of the issues occur. The system locks up and then logs me out of the desktop. Odd.
newb2debian
 
Posts: 17
Joined: 2018-02-11 14:25

Re: Debian 10 Buster Cinnamon Desktop Update

Postby stevepusser » 2020-04-04 04:21

There's an old thread here called the Repo Mix and Match parade by the late and sorely missed daesin: viewtopic.php?f=20&t=114130

It dates back to the time where I came up with the method to downgrade libc6 safely on Wheezy, so maybe I mentioned it in that thread. I don't have time to go through it today, but it's amusing reading anyway. We haven't had any users really mess up their systems enough to get added to the thread, but we could always start again with you. :D
MX Linux packager and developer
User avatar
stevepusser
 
Posts: 12058
Joined: 2009-10-06 05:53

Previous

Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 9 guests

fashionable