PureOS not installing updates listed in Gnome Software

I’ve been getting notifications for a while that there are updates available on my Librem. In the Software app’s updates tab, it lists an “OS Updates” item with a heap of packages in it, plus several apps (Desktop Search, VLC, Vim, etc) and the “AppStream CLI” addon.

The button in the upper-right corner of the window says “Restart & Install”. When I click this, it restarts my laptop (asking for the disk-encryption password), and the progress bar that appears sticks around for a while… but when PureOS comes back up and I’ve logged back in, the Software app still tells me the same thing: the same packages are available to be installed.

How do I go about debugging this failure to install? I’m not terribly familiar with where the logs for this would be…

1 Like

Hi danj. This is a known issue and unfortunately I haven’t fond a way to debug it yet. You can workaround it by either using sudo apt update && sudo apt upgrade command in your terminal, or by installing and configuring a GNOME plugin for system upgrade: in case you didn’t know this, GNOME Software center has many plugins you can install. Go to Software center, click on Add-ons, just pick one and click install. Most of them should fire up automatically. Simply issue CTRL+f to search for them.

The one for checking updates is named Apt Update Indicator. Find and install it, it will notify you about updates daily. You need to set it up in case you want to upgrade it by clicking on “apply updates”:

Click on its icon -> Settings -> Advanced Settings -> Update method: custom -> click the gears icon: Show output on terminal: ON; close everything and give it a go.

It works great. In case you are interested in other plugins, I suggest:

  • Battery Percentage
  • Clipboard Indicator
  • Emoji Selector (why not? :D)
  • Freon
  • NetSpeed
  • Public IP Address
  • Weather
  • redshift
3 Likes

Nice! I’ll try installing via the update indicator as you suggest. Thanks for the additional plugin suggestions, too. I’ve come across redshift before; I assume I have to install the actual redshift application for the plugin to work? I installed the plugin alone, but turning it on doesn’t do anything. :slight_smile:

1 Like
  1. You should already have all that is required (open terminal and run redshift -V to check if you have redshift installed).

  2. Open GNOME TweakTool and go to Extensions, check if the plugin is enabled.

  3. Set to plugin to manual location, or geoClue, in which case you need to go to GNOME Settings->Privacy and enable location.

  4. Redshift does not currently work on wayland session. You need to log out and login back in with “GNOME on Xserver” option (click the gear icon next to the password input field).

1 Like

Regarding 4: I have just found a workaround. Download redshift sourcecode from here: https://github.com/prahal/redshift/tree/add-gnomerr-method

Compile it, put redshift binary in /usr/bin/ (replace the existing one), make it executable and create file /home/yourusername/.config/redshift.conf with this content:

[redshift]
adjustment-method=gnomerr

Voila! If you want I can provide you the binary I have compiled.

2 Likes