Mint Update initially fails, but works after rebooting

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
sadhu
Level 5
Level 5
Posts: 862
Joined: Fri Nov 22, 2013 9:48 am
Location: Sri Lanka
Contact:

Mint Update initially fails, but works after rebooting

Post by sadhu »

Clicking on the update icon in the system tray, I would get as far as the password prompt, then ... nothing.

I started mintupdate from the command line (sudo /usr/bin/mintupdate) and got this response:

Code: Select all

Invalid MIT-MAGIC-COOKIE-1 keyFailed to connect to Mir: Failed to connect to server socket: No such file or directory
Unable to init server: Could not connect: Connection refused
Invalid MIT-MAGIC-COOKIE-1 keyFailed to connect to Mir: Failed to connect to server socket: No such file or directory
Unable to init server: Could not connect: Connection refused

(mintUpdate.py:5734): Gtk-CRITICAL **: gtk_settings_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
/usr/lib/linuxmint/mintUpdate/mintUpdate.py:978: Warning: g_object_get_qdata: assertion 'G_IS_OBJECT (object)' failed
  self.builder.add_from_file(gladefile)
This is an intermittent problem. I rebooted and the update went OK.

Are there some hidden configuration files in the .cache folder that may have been corrupted?


Thanks
-Sadhu
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
sabbe sattā bhavantu sukhitattā. LM 21.2-64 Cinn 5.8.4
User avatar
catweazel
Level 19
Level 19
Posts: 9763
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Mint Update initially fails, but works after rebooting

Post by catweazel »

sadhu wrote: Tue Feb 20, 2018 2:38 am

Code: Select all

... Mir ...
Weird. It's an X-server problem. Try this solution.
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
Cosmo.
Level 24
Level 24
Posts: 22968
Joined: Sat Dec 06, 2014 7:34 am

Re: Mint Update initially fails, but works after rebooting

Post by Cosmo. »

sadhu wrote: Tue Feb 20, 2018 2:38 am I started mintupdate from the command line (sudo /usr/bin/mintupdate)
The general mistake Never start any graphical program via sudo. It does create problems.

Check the ownership in your account:
Mark the following command and press ctrl-c

Code: Select all

find $HOME ! -user $USER -type f
open a terminal and press ctrl-shift-V
Mark the complete result inclusive the command with the mouse and press ctrl-shift-C
In the forum click the Code-button above the text box, than press ctrl-v.

Report in case, that there is no output.
Locked

Return to “Software & Applications”