Mint Update initially fails, but works after rebooting

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
sadhu
Level 5
Level 5
Posts: 509
Joined: Fri Nov 22, 2013 9:48 am
Contact:

Mint Update initially fails, but works after rebooting

Post by sadhu » Tue Feb 20, 2018 2:38 am

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
sabbe sattā bhavantu sukhitattā. LN 18.3-64 Cinn 3.4.6, Mobo: ASUSTeK STRIX B250G GAMING v, Dual core Pntm G4560, Intel Gfx. Laptop:Dell Inspiron 15-3000, Core i3, 4G RAM Intel Gfx

User avatar
catweazel
Level 17
Level 17
Posts: 7776
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Mint Update initially fails, but works after rebooting

Post by catweazel » Tue Feb 20, 2018 2:55 am

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

Code: Select all

... Mir ...
Weird. It's an X-server problem. Try this solution.
¡uʍop ǝpısdn sı buıɥʇʎɹǝʌǝ os ɐıןɐɹʇsnɐ ɯoɹɟ ɯ,ı

Cosmo.
Level 23
Level 23
Posts: 17823
Joined: Sat Dec 06, 2014 7:34 am

Re: Mint Update initially fails, but works after rebooting

Post by Cosmo. » Tue Feb 20, 2018 6:36 am

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.

Post Reply

Return to “Software & Applications”