Page 1 of 1

mintupdate stopped working after updated [SOLVED]

Posted: Fri Sep 06, 2019 8:15 pm
by viktor_87
Hello,

a few days ago I updated mintupdate 5.4.7 to 5.5.4 and then it stopped opening.
When I run it in Terminal, I get:

Code: Select all

~$ mintupdate
~$ 
(mintUpdate.py:8786): GLib-GIO-ERROR **: Settings schema 'com.linuxmint.updates' does not contain a key named 'selected-kernel-type'
~$ 
Output of inxi -Fxz:

Code: Select all

~$ inxi -Fxz
System:    Host: vds Kernel: 4.15.18-041518-generic x86_64 bits: 64 compiler: gcc v: 7.2.0 Desktop: Cinnamon 4.2.4 
           Distro: LMDE 3 Cindy base: Debian 9.3 stretch 
Machine:   Type: Desktop System: Hewlett-Packard product: HP Compaq dc5850 Small Form Factor v: N/A serial: <filter> 
           Mobo: Hewlett-Packard model: 3029h serial: <filter> BIOS: Hewlett-Packard v: 786F6 v03.14 date: 11/15/2011 
CPU:       Topology: Dual Core model: AMD Athlon 4450B bits: 64 type: MCP arch: K8 rev.F+ rev: 2 L2 cache: 1024 KiB 
           flags: lm nx pae sse sse2 sse3 svm bogomips: 9177 
           Speed: 2300 MHz min/max: 1000/2300 MHz Core speeds (MHz): 1: 2300 2: 2300 
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] RS780C [Radeon 3100] vendor: Hewlett-Packard driver: radeon v: kernel 
           bus ID: 01:05.0 
           Display: x11 server: X.Org 1.19.2 driver: ati,radeon unloaded: fbdev,modesetting,vesa resolution: 1280x1024~60Hz 
           OpenGL: renderer: Gallium 0.4 on AMD RS780 (DRM 2.50.0 / 4.15.18-041518-generic LLVM 3.9.1) v: 3.3 Mesa 13.0.6 
           direct render: Yes 
Audio:     Device-1: Advanced Micro Devices [AMD/ATI] SBx00 Azalia vendor: Hewlett-Packard driver: snd_hda_intel v: kernel 
           bus ID: 00:14.2 
           Sound Server: ALSA v: k4.15.18-041518-generic 
Network:   Device-1: Broadcom Limited NetXtreme BCM5754 Gigabit Ethernet PCI Express vendor: Hewlett-Packard driver: tg3 
           v: 3.137 port: 1100 bus ID: 3f:00.0 
           IF: eth0 state: down mac: <filter> 
           IF-ID-1: usb0 state: unknown speed: N/A duplex: N/A mac: <filter> 
Drives:    Local Storage: total: 465.76 GiB used: 63.15 GiB (13.6%) 
           ID-1: /dev/sda vendor: Toshiba model: MK5061GSYN size: 465.76 GiB 
Partition: ID-1: / size: 50.00 GiB used: 17.92 GiB (35.8%) fs: btrfs dev: /dev/sda1 
           ID-2: /home size: 415.76 GiB used: 45.23 GiB (10.9%) fs: btrfs dev: /dev/sda2 
Sensors:   System Temperatures: cpu: 51.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Info:      Processes: 268 Uptime: 4h 08m Memory: 3.59 GiB used: 1.98 GiB (55.2%) Init: systemd runlevel: 5 Compilers: 
           gcc: 6.3.0 Shell: bash v: 4.4.12 inxi: 3.0.32 
~$

Re: mintupdate stopped working after updated

Posted: Sat Sep 07, 2019 3:14 am
by gm10
Try:

Code: Select all

apt install --reinstall mintupdate

Re: mintupdate stopped working after updated

Posted: Sat Sep 07, 2019 6:49 am
by darknetmatrix
Had the same update without any problems.
Try this:

Code: Select all

sudo apt purge mintupdate
sudo apt install mintupdate

Re: mintupdate stopped working after updated

Posted: Sat Sep 07, 2019 3:10 pm
by viktor_87
gm10 wrote:
Sat Sep 07, 2019 3:14 am
Try:

Code: Select all

apt install --reinstall mintupdate
darknetmatrix wrote:
Sat Sep 07, 2019 6:49 am
Had the same update without any problems.
Try this:

Code: Select all

sudo apt purge mintupdate
sudo apt install mintupdate
Unfortunately, neither of these helped.

Re: mintupdate stopped working after updated

Posted: Sat Sep 07, 2019 3:14 pm
by gm10
Hard to imagine actually, but try this:

Code: Select all

sudo glib-compile-schemas /usr/share/glib-2.0/schemas
It's also quite possible that you broke something about the package management system, seeing how you are apparently running a year and a half old Ubuntu mainline kernel on your LMDE3 I don't dare to imagine what else you did. :P

Re: mintupdate stopped working after updated

Posted: Sun Sep 08, 2019 6:44 pm
by viktor_87
I think I managed to solve the problem.
After I tried, without success, the suggestion of gm10:

Code: Select all

sudo glib-compile-schemas /usr/share/glib-2.0/schemas
I remembered that 1-2 months ago i compiled and installed Evolution On https://github.com/acidrain42/evolution-on/.
The compilation process needed all the schemas of Evolution copied to /usr/local/share/glib-2.0/schemas/ and also installed some files to /usr/local/share/ for some reason.
So I ran:

Code: Select all

sudo glib-compile-schemas /usr/local/share/glib-2.0/schemas
and mintupdate started working right away.
Also, I have to notice that mintupdate 5.4.7 did not have a problem with the files in /usr/local/share/.

So thanks for the suggestion gm10 but instead of laughing at my old Linux Kernel you could have suggested a way to install a recent one.
I use the Ubuntu Generic Kernel 4.15 because it has better support for BTRFS than the stock Kernel 4.9 of LMDE.
I can't install the newer versions of Ubuntu Generic Kernel because they are unsigned.
Earlier, I also posted a topic about Liquorix Kernel but it didn't attract much attention.

Re: mintupdate stopped working after updated

Posted: Sun Sep 08, 2019 7:20 pm
by gm10
viktor_87 wrote:
Sun Sep 08, 2019 6:44 pm
So thanks for the suggestion gm10 but instead of laughing at my old Linux Kernel you could have suggested a way to install a recent one.
Why, the kernel in stretch-backports is currently at version 4.19+105~bpo9+1, if you can go out of your way to install an old and unsupported Ubuntu kernel into Debian surely you could install a newer supported Debian kernel instead...
viktor_87 wrote:
Sun Sep 08, 2019 6:44 pm
Earlier, I also posted a topic about Liquorix Kernel but it didn't attract much attention.
Liquorix even has a Debian repo, so ...

Re: mintupdate stopped working after updated

Posted: Mon Sep 09, 2019 3:27 am
by viktor_87
Why, the kernel in stretch-backports is currently at version 4.19+105~bpo9+1
Some posts on this forum suggest that Kernel 4.19 is slower than Kernel 4.15 when installed in Linux Mint.
Also other posts suggest that one should install as few backports as possible.
Liquorix even has a Debian repo, so ...
So...?

Re: mintupdate stopped working after updated

Posted: Mon Sep 09, 2019 4:03 am
by gm10
Of course it's slower, it has the Spectre/Meltdown mitigations, whereas yours doesn't.

So: Simply add the repo and use Liquorix if you want to. They're always at the latest release though, and in my experience they lead to instabilities but YMMV.