Cinnamon Spices are updated before password confirmation, which somehow causes them to be corrupted under this circumstance.

Open
#936 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
linux, python
Domain
desktop

Research direction

Start by reproducing the update and password-cancellation flow in mintupdate with both Spices and program updates available. Trace how cancellation is handled for each update group; done means cancelling the password prompt prevents every update and leaves extensions and applets usable.

Written by the indexing model from the issue text.

Description

BUG

Describe the bug
When there are Cinnamon Spices updates available along with other programs updates available, doing as follows may corrupt them.
We all know Spices updates don't need password confirmation but other programs do.

To Reproduce
Steps to reproduce the behavior:

  1. Wait for both the extensions/applets and other programs to have an update
  2. Click on 'Install updates'
  3. When the password confirmation pops up, cancel
  4. Cinnamon extensions and applets are updated even though I have cancelled the updates. The updates don't come to term though, which causes them to be unusable by Cinnamon.

Expected behavior
No program should update if I click on Cancel in the password confirmation window.

Distribution:

  • Linux Mint
  • LMDE
  • Other (please specify)

Software version:

7.0.7

Additional context
Somehow, they are stuck in a limbo of not being in the mintUpdate list, and not being usable by Cinnamon. The work around I've figured is to reinstall them.
The corruption triggers a notification but I forgot to note it.
This is an observation mainly on applets and extensions. I don't know about other types of spices.

my neofetch --off if it is of any use

OS: Linux Mint 22.1 x86_64
Host: HP EliteBook 1050 G1 SBKPF
Kernel: 6.8.0-55-generic
Uptime: 1 hour, 3 mins
Packages: 2488 (dpkg)
Shell: bash 5.2.21
Resolution: 1920x1080
DE: Cinnamon 6.4.8
WM: Mutter (Muffin)
WM Theme: Mint-Y-Dark-Aqua (Mint-Y)
Theme: Mint-Y-Aqua [GTK2/3]
Icons: Mint-Y-Sand [GTK2/3]
Terminal: gnome-terminal
CPU: Intel i7-8850H (12) @ 4.300GHz
GPU: NVIDIA GeForce GTX 1050 Mobile
GPU: Intel CoffeeLake-H GT2 [UHD Graphics 630]
Memory: 2713MiB / 31902MiB

Dominant language
Python
Stars
425
Forks
190
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from linuxmint/mintupdate

All issues in linuxmint/mintupdate

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.