Issue with Nautilus (graphical corruption) after upgrading software

THANKS for coming back!!! You’re a true jewel…

OK, so going to try to run sudo apt upgrade in terminal mode to install the Security Only Updates(then do it using softwre updater selecting ‘continue’ not ‘partial upgrade’ if that command fails to run in terminal), and even if nautilus does or does not get corrupted, I do want to use exec=nautilus --new-window %U in usr/share/applications to get GSK_RENDERER=cairo nautilus put in the nautilus icon - how is this done? just run it in a terminal or do I need to edit something somewhere in the usr/share/applications directory?

btw - great new title…

finally, I have Lubuntu installed on an old DELL laptop and do not care for it :frowning:
I’ve been on Ubuntu since 18.04lts

Stop it, I’m welling up now… :wink:

Open a terminal and enter

sudo nano /usr/share/applications/org.gnome.Nautilus.desktop

Find the Exec line (should be line 6)and put a comment symbol # (i.e.ignore) at the beginning (so that it can easily be re-instated by removing the #)
Then , add the line in my example

#Exec=nautilus --new-window %U
Exec=env GSK_RENDERER=cairo nautilus  --new-window %U

Ctrl o to save
Ctrl x to exit

Fair enough, consider Xubuntu 26.04 LTS which is GTK based as is Ubuntu with gnome

1 Like

OK - held my breath and ran in terminal the upgrade command (w/software updater settings set to ‘Security Updates Only’), and it ran (took awhile - went out and did early voting for TN primary) - rebooted to 6.8.0-136 kernel, my hibernate button is still there, and most importantly nautilus is not corrupted… THEN, followed your instructions to edit that desktop file - nautilus still not corrupted and came up via terminal command w/o the usual errors:

~/Desktop$ nautilus
** Message: 16:07:45.524: Connecting to org.freedesktop.Tracker3.Miner.Files

VERY happy camper - I am going to immediately image (G4L lzop) this current partition (sda5) before I do anything else so I can return to it if needed… but I suspect there will be no more corrupted nautilus now that that Gsk-Message: 16:19:22.335: Failed to realize renderer of type ‘GskNglRenderer’ for surface ‘GdkWaylandToplevel’: OpenGL ES 3.0 is not supported by this renderer. no longer haunts nautilus or is there to potentially corrupt it!

I seem to finally be back at a ‘normalubuntu 24.04.3lts - will stick to security updates only for update/upgrade and let it be done by software updater that I pray is no longer going to suddenly corrupt nautilus :smiley:

Once again you have been indispensable, and your diligence is to be commended.

Well, was able to run sudo apt upgrade in terminal (under software updater’s updates setting ‘security updates only’) and it installed a lot w/o corrupting nautilus or removing my hibernate button…

BUT, when I go to run software updater itself, even after upgrading via terminal, I still get:

…and being told NOT to run ‘partial upgrade’, and just click ‘continue’, it just pops up with “The software on this computer is up to date” - why does it still try to get me to run partial upgrade when I run software updater? Should I try changing the setting to ‘security and recommended updates’ and run the terminal upgrade again? It may or may not be what corrupts nautilus…

I ran sudo apt update under the ‘security and recommended updates’ setting and got:

~/Desktop$ sudo apt update
[sudo] password for batgirl: 
Hit:1 http://archive.ubuntu.com/ubuntu noble InRelease
Hit:2 http://security.ubuntu.com/ubuntu noble-security InRelease
Hit:3 https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu noble InRelease
Hit:4 http://archive.ubuntu.com/ubuntu noble-updates InRelease
Hit:5 https://ppa.launchpadcontent.net/unit193/inxi/ubuntu noble InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
144 packages can be upgraded. Run 'apt list --upgradable' to see them.

I ran sudo apt update under the ‘security updates only’ setting, and then sudo apt upgrade and got:

~/Desktop$ sudo apt update
[sudo] password for batgirl: 
Hit:1 http://security.ubuntu.com/ubuntu noble-security InRelease
Hit:2 http://archive.ubuntu.com/ubuntu noble InRelease                         
Hit:3 https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu noble InRelease  
Hit:4 https://ppa.launchpadcontent.net/unit193/inxi/ubuntu noble InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
15 packages can be upgraded. Run 'apt list --upgradable' to see them.

batgirl@batgirl-E-475M:~/Desktop$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  libreoffice-style-breeze lp-solve
Use 'sudo apt autoremove' to remove them.
Get more security updates through Ubuntu Pro with 'esm-apps' enabled:
  openjdk-11-jre openjdk-11-jre-headless qt5-qmake-bin
  libmagickcore-6.q16-7t64 qtbase5-dev-tools ofono libqt5xml5t64
  qt5-gtk-platformtheme imagemagick libqt5sql5t64 libmagickcore-6.q16-7-extra
  libqt5qml5 libqt5test5t64 libwinpr2-2t64 libcjson1 libavdevice60 ffmpeg
  libqt5quick5 libopenexr-3-1-30 libpostproc57 python3-wheel libqt5gui5t64
  libmbedcrypto7t64 libavcodec60 libavcodec60 libqt5printsupport5t64
  qtbase5-dev libqt5concurrent5t64 libavutil58 libavutil58 libqt5widgets5t64
  imagemagick-6.q16 libswscale7 libfreerdp-server2-2t64 python3-pip
  libfreerdp-client2-2t64 libqt5dbus5t64 libqt5network5t64 libqt5opengl5-dev
  libqt5opengl5t64 libswresample4 libswresample4 imagemagick-6-common
  libqt5sql5-sqlite libqt5qmlmodels5 qt5-qmake libavformat60 libfreerdp2-2t64
  libqt5core5t64 libavfilter9 libmagickwand-6.q16-7t64
Learn more about Ubuntu Pro at https://ubuntu.com/pro
The following packages have been kept back:
  gir1.2-polkit-1.0 libegl-mesa0 libgbm1 libgbm1:i386 libgl1-mesa-dri
  libgl1-mesa-dri:i386 libglx-mesa0 libglx-mesa0:i386 libpolkit-agent-1-0
  libpolkit-gobject-1-0 mesa-libgallium mesa-libgallium:i386 pkexec
  policykit-1 polkitd
0 upgraded, 0 newly installed, 0 to remove and 15 not upgraded.

I assumed there’s still 15 security updates only packages available, but is not installing them for some reason - what am I doing wrong?

here’s the list of the 15 not getting installed:

~/Desktop$ apt list --upgradable
Listing... Done
gir1.2-polkit-1.0/noble-security 124-2ubuntu1.24.04.3 amd64 [upgradable from: 124-2ubuntu1.24.04.2]
libegl-mesa0/noble-security 25.2.8-0ubuntu0.24.04.2 amd64 [upgradable from: 25.0.7-0ubuntu0.24.04.2]
libgbm1/noble-security 25.2.8-0ubuntu0.24.04.2 amd64 [upgradable from: 25.0.7-0ubuntu0.24.04.2]
libgbm1/noble-security 25.2.8-0ubuntu0.24.04.2 i386 [upgradable from: 25.0.7-0ubuntu0.24.04.2]
libgl1-mesa-dri/noble-security 25.2.8-0ubuntu0.24.04.2 amd64 [upgradable from: 25.0.7-0ubuntu0.24.04.2]
libgl1-mesa-dri/noble-security 25.2.8-0ubuntu0.24.04.2 i386 [upgradable from: 25.0.7-0ubuntu0.24.04.2]
libglx-mesa0/noble-security 25.2.8-0ubuntu0.24.04.2 amd64 [upgradable from: 25.0.7-0ubuntu0.24.04.2]
libglx-mesa0/noble-security 25.2.8-0ubuntu0.24.04.2 i386 [upgradable from: 25.0.7-0ubuntu0.24.04.2]
libpolkit-agent-1-0/noble-security 124-2ubuntu1.24.04.3 amd64 [upgradable from: 124-2ubuntu1.24.04.2]
libpolkit-gobject-1-0/noble-security 124-2ubuntu1.24.04.3 amd64 [upgradable from: 124-2ubuntu1.24.04.2]
mesa-libgallium/noble-security 25.2.8-0ubuntu0.24.04.2 amd64 [upgradable from: 25.0.7-0ubuntu0.24.04.2]
mesa-libgallium/noble-security 25.2.8-0ubuntu0.24.04.2 i386 [upgradable from: 25.0.7-0ubuntu0.24.04.2]
pkexec/noble-security 124-2ubuntu1.24.04.3 amd64 [upgradable from: 124-2ubuntu1.24.04.2]
policykit-1/noble-security 124-2ubuntu1.24.04.3 amd64 [upgradable from: 124-2ubuntu1.24.04.2]
polkitd/noble-security 124-2ubuntu1.24.04.3 amd64 [upgradable from: 124-2ubuntu1.24.04.2]

Why are these being kept back from the manual upgrade? does it mean it requires this software updater ‘partial upgrade’ to get them installed?

Those are more than likely phased updates:

Nothing needs to be done, just be patient and wait. When ready, your machine will receive them as normal.

1 Like

Thanks! I will be patient with this in terminal manually updating with ‘apt upgrade’…

BTW - will this ‘Partial Upgrade’ from running the Software Updater also go away and return to the normal list of updates to install? (which is why I’m currently having to do the terminal version for update/upgrade)

If I select ‘Continue’ in lieu of ‘Partial Upgrade’, it just pops up saying system is up to date. I was advised not to run the partial upgrade ~ I have in the past and sometimes it runs w/o corrupting nautilus, but last time I did it corrupted it (nautilus and any ‘files’ type window for ‘save as’/’download to’/’open’/etc. will just blink on/off/on/off, freeze, not responding popup, lockup requiring cold boot, etc.).

Well, today clicking ‘Continue’ got this (so installed and no nautilus corruption…):

*noticed a lot of stuff w/o check-marks… afraid to check anything, so installed ‘as-is’!

Please run apt policy <packagename> for each of those “kept back” packages.

Packages that are undergoing Phased Updates are so noted…

$ apt policy libclutter-gst-3.0-0

libclutter-gst-3.0-0:
  Installed: 3.0.27-2build2
  Candidate: 3.0.27-2build2
  Version table:
     3.0.27-2ubuntu1 1 (phased 50%)   <-------------PHASING
        500 http://fi.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
 *** 3.0.27-2build2 500
        500 http://fi.archive.ubuntu.com/ubuntu jammy/main amd64 Packages
        100 /var/lib/dpkg/status

Packages that ARE phasing are normal. Not a problem. Nothing to fix. Please do not show us output of normal phasing packages.

Please show us the apt policy output for us any “kept back” packages that are NOT phasing. Those warrant further investigation.

2 Likes
~/Desktop$ apt policy libclutter-gst-3.0-0
libclutter-gst-3.0-0:
  Installed: 3.0.27-4build1
  Candidate: 3.0.27-4build1
  Version table:
 *** 3.0.27-4build1 100
        100 /var/lib/dpkg/status

not sure what you’re instructing - did the one you did above and got above output
did apt policy on one of the 15 not getting installed, and the first one came up with this:

~/Desktop$ apt policy gir1.2-polkit-1.0/noble-security 124-2ubuntu1.24.04.3 amd64 [upgradable from: 124-2ubuntu1.24.04.2]
N: Unable to locate package gir1.2-polkit-1.0/noble-security
N: Unable to locate package 124-2ubuntu1.24.04.3
N: Couldn't find any package by glob '124-2ubuntu1.24.04.3'
N: Unable to locate package amd64
N: Unable to locate package [upgradable
N: Unable to locate package from:
N: Unable to locate package 124-2ubuntu1.24.04.2

so, re-did it like this and got this:

~/Desktop$ apt policy gir1.2-polkit-1.0
gir1.2-polkit-1.0:
  Installed: 124-2ubuntu1.24.04.2
  Candidate: 124-2ubuntu1.24.04.3
  Version table:
     124-2ubuntu1.24.04.3 500
        500 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages
 *** 124-2ubuntu1.24.04.2 100
        100 /var/lib/dpkg/status
     124-2ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu noble/main amd64 Packages

but nothing about this phasing you’re going on about… so, just do the rest of the 15 but just the first parts before the ‘/’? Like this:

~/Desktop$ apt policy libegl-mesa0
libegl-mesa0:
  Installed: 25.0.7-0ubuntu0.24.04.2
  Candidate: 25.2.8-0ubuntu0.24.04.2
  Version table:
     25.2.8-0ubuntu0.24.04.2 500
        500 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages
 *** 25.0.7-0ubuntu0.24.04.2 100
        100 /var/lib/dpkg/status
     24.0.5-1ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu noble/main amd64 Packages

…still no phasing thingy. I don’t see any of the 15 that are phasing - still want the output of all of them?

Anyway, here’s the rest (some were ‘doubles’ with amc64 and i386 versions, so not really 15 total):

~/Desktop$ apt policy libgbm1
libgbm1:
  Installed: 25.0.7-0ubuntu0.24.04.2
  Candidate: 25.2.8-0ubuntu0.24.04.2
  Version table:
     25.2.8-0ubuntu0.24.04.2 500
        500 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages
 *** 25.0.7-0ubuntu0.24.04.2 100
        100 /var/lib/dpkg/status
     24.0.5-1ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu noble/main amd64 Packages
batgirl@batgirl-E-475M:~/Desktop$ apt policy libgl1-mesa-dri
libgl1-mesa-dri:
  Installed: 25.0.7-0ubuntu0.24.04.2
  Candidate: 25.2.8-0ubuntu0.24.04.2
  Version table:
     25.2.8-0ubuntu0.24.04.2 500
        500 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages
 *** 25.0.7-0ubuntu0.24.04.2 100
        100 /var/lib/dpkg/status
     24.0.5-1ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu noble/main amd64 Packages
batgirl@batgirl-E-475M:~/Desktop$ apt policy libglx-mesa0
libglx-mesa0:
  Installed: 25.0.7-0ubuntu0.24.04.2
  Candidate: 25.2.8-0ubuntu0.24.04.2
  Version table:
     25.2.8-0ubuntu0.24.04.2 500
        500 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages
 *** 25.0.7-0ubuntu0.24.04.2 100
        100 /var/lib/dpkg/status
     24.0.5-1ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu noble/main amd64 Packages
batgirl@batgirl-E-475M:~/Desktop$ apt policy libpolkit-agent-1-0
libpolkit-agent-1-0:
  Installed: 124-2ubuntu1.24.04.2
  Candidate: 124-2ubuntu1.24.04.3
  Version table:
     124-2ubuntu1.24.04.3 500
        500 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages
 *** 124-2ubuntu1.24.04.2 100
        100 /var/lib/dpkg/status
     124-2ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu noble/main amd64 Packages
batgirl@batgirl-E-475M:~/Desktop$ apt policy libpolkit-gobject-1-0
libpolkit-gobject-1-0:
  Installed: 124-2ubuntu1.24.04.2
  Candidate: 124-2ubuntu1.24.04.3
  Version table:
     124-2ubuntu1.24.04.3 500
        500 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages
 *** 124-2ubuntu1.24.04.2 100
        100 /var/lib/dpkg/status
     124-2ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu noble/main amd64 Packages
batgirl@batgirl-E-475M:~/Desktop$ mesa-libgallium
mesa-libgallium: command not found
batgirl@batgirl-E-475M:~/Desktop$ apt policy mesa-libgallium
mesa-libgallium:
  Installed: 25.0.7-0ubuntu0.24.04.2
  Candidate: 25.2.8-0ubuntu0.24.04.2
  Version table:
     25.2.8-0ubuntu0.24.04.2 500
        500 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages
 *** 25.0.7-0ubuntu0.24.04.2 100
        100 /var/lib/dpkg/status
batgirl@batgirl-E-475M:~/Desktop$ apt policy pkexec
pkexec:
  Installed: 124-2ubuntu1.24.04.2
  Candidate: 124-2ubuntu1.24.04.3
  Version table:
     124-2ubuntu1.24.04.3 500
        500 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages
 *** 124-2ubuntu1.24.04.2 100
        100 /var/lib/dpkg/status
     124-2ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu noble/main amd64 Packages
batgirl@batgirl-E-475M:~/Desktop$ apt policy policykit-1
policykit-1:
  Installed: 124-2ubuntu1.24.04.2
  Candidate: 124-2ubuntu1.24.04.3
  Version table:
     124-2ubuntu1.24.04.3 500
        500 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages
 *** 124-2ubuntu1.24.04.2 100
        100 /var/lib/dpkg/status
     124-2ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu noble/main amd64 Packages
batgirl@batgirl-E-475M:~/Desktop$ apt policy polkitd
polkitd:
  Installed: 124-2ubuntu1.24.04.2
  Candidate: 124-2ubuntu1.24.04.3
  Version table:
     124-2ubuntu1.24.04.3 500
        500 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages
 *** 124-2ubuntu1.24.04.2 100
        100 /var/lib/dpkg/status
     124-2ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu noble/main amd64 Packages
batgirl@batgirl-E-475M:~/Desktop$ 


Okay, so now you have demonstrated that the “kept back” packages are NOT due to Phased Upgrades, but are a real problem.

  • You have eliminated a whole class of possible problems. Their solutions won’t work for your problem.

You have proved that your package system is broken.

Next, we look for the cause.

Maybe it’s a held package, or maybe it’s a version collision. Let’s eliminate the easy one first:

Please show us the complete output of apt-mark showhold. The output may be empty, or it may contain a list.

1 Like

Ian - you’re so sweet to jump in here to help with the end of a very long problem that starts with nautilus corruption from updates, to this hopefully end run - btw: handle here is Jaimie…

~/Desktop$ apt-mark showhold
linux-image-6.8.0-79-generic
linux-image-6.8.0-84-generic
linux-image-6.8.0-85-generic

I use 6.8.0-85 in between new kernel “try-outs” (most current kernel on mine is 6.8.0-135) and 6.8.0-79 is another very stable fall back I locked… 6.8.0-84 I’ll delete soon like I finally did 6.8.0-53 ~ all very stable (compared to all kernels in-between, at least on my system setup…) but time to let it go, too :wink:

Looks like two groups of kept-backs: A group of Mesa packages, and a group of Policykit packages.

All the clues and diagnostic data in this topic are pointing to choices you made in the past to manage your packages manually…and then making mistakes doing so. The Nautilus problem, and other unexpected behaviors, are consequences of those human choices. You, the human, have introduced a logical inconsistency into your package system (a.k.a “created a Frankensystem”). Since the inconsistency cannot be solved by logic, apt cannot fix it for you.

At this point, there are a couple approaches for you to resolve the logical inconsistency that has broken your updates. You get to decide the next step.

  1. If the user remembers what changes they made (“Oh, I tried XYZ last year when I had a Mesa issue”), it’s usually not too difficult to remove those packages and replace them with packages from the Ubuntu repositories. The removal clears the version number collision(s) that prevent upgrades.

    It fixes the actual underlying problem…but it’s risky. Removing polkit risks breaking your system quite awfully. A full data backup is essential, because there’s a very good chance you will wind up reinstalling Ubuntu. This option is most popular with learners and tinkerers who want to avoid the problem next time.

  2. The other option is to skip the attempt to fix, and simply back up your data, reinstall Ubuntu, and the restore your data on the new system. This option is most popular with folks who just want a reliable, working system rapidly again.

1 Like

OR - do this Partial Upgrade, and if it corrupts nautilus (and/or trashes my hibernate button), then restore my G4L lzop image done a few days ago, re-fix the OpenGL ES 3.0 bug per tea-for-one, and ignore these terminal run apt upgrade ‘holdup updates’ (ie stop using update/upgrade via terminal) and settling for the few minimal updates that come thru using ‘Continue’ on the Software Updater ‘partial upgrade’ attempts ~

… gotta remember, I’m fine with just shutting down Software Updater completely again - just hoped the discourse crowd might have a better solution :smiley:

Reinstalling ubuntu w/overwrite, when the canonical could’ve worked a bit harder to keep reinstall w/o overwrite like in earlier versions that might’ve prevented so much anguish and fixed this (https://forum.linuxconfig.org/t/re-install-of-the-operating-system-but-do-not-format-and-just-overwrite/8774/3), is not desired at all as there’d be so much lost that’s now installed but also now unavailable to install…

There’s still Fedora 43 and Win10 (and WinXP) that I use more than Ubuntu - Ubuntu is used for a few workhorse things from time to time… but mostly play games on it :wink:

Locked?

OK - so, having to resort to doing the ‘Partial Upgrade’, and it did indeed corrupt Nautilus AND took away my hibernate button - seems the fix for the OpenGL ES 3.0 bug per tea-for-one didn’t make any difference. Re-installing my G4L lzop image I did a few weeks ago before all this discourse experiments ran its course, and will no update/upgrade anymore…:roll_eyes:

After staff review:

It seems that @911thsquadron has a full grasp of the available options.

No need for further discussion.

Topic will remain closed.

Thanks to all those who participated and tried to help a fellow user.

2 Likes