Post Upgrade Issues

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
brievolz84
Level 1
Level 1
Posts: 20
Joined: Mon Nov 08, 2010 10:59 pm
Location: Sterling, Va

Post Upgrade Issues

Post by brievolz84 »

I recently upgraded from 19.1 to 19.3 and then did the upgrade to 20.0. I have Timeshift backups of each step just in case I need to restart the process over again.

The issue I am having though is that when I try to upgrade to 20.1 through the update manager, I go through the update process but when when I get to requirements part it says "the upgrade did not succeed. Make sure you are connected to the internet and try to upgrade again" which is perplexing because I'm able to ping multiple websites and can browse the web.

I tried to launch Software Sources but nothing appears. I then tried to launching from a terminal and this is the output I got:

Code: Select all

user@server:~$ sudo software-sources 
[sudo] password for user:                 
No protocol specified
Unable to init server: Could not connect: Connection refused
No protocol specified
Unable to init server: Could not connect: Connection refused

(mintSources.py:33533): Gtk-CRITICAL **: 14:22:59.951: _gtk_style_provider_private_get_settings: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

(mintSources.py:33533): Gtk-CRITICAL **: 14:22:59.951: _gtk_style_provider_private_get_settings: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

(mintSources.py:33533): Gtk-CRITICAL **: 14:22:59.951: _gtk_style_provider_private_get_settings: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed
user@server:~$ mintsources 
Error executing command as another user: Not authorized

This incident has been reported.
user@server:~$ sudo mintsources 
No protocol specified
Unable to init server: Could not connect: Connection refused
No protocol specified
Unable to init server: Could not connect: Connection refused

(mintSources.py:33739): Gtk-CRITICAL **: 14:27:52.476: _gtk_style_provider_private_get_settings: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

(mintSources.py:33739): Gtk-CRITICAL **: 14:27:52.476: _gtk_style_provider_private_get_settings: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

(mintSources.py:33739): Gtk-CRITICAL **: 14:27:52.476: _gtk_style_provider_private_get_settings: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed
And this was in dmesg:

Code: Select all

[Jun21 14:02] mintSources.py[26876]: segfault at 18 ip 00007ff2b7c48364 sp 00007ffd7f9f5418 error 4 in libgtk-3.so.0.2404.16[7ff2b79ec000+36f000]
[  +0.000014] Code: 44 24 08 64 48 33 04 25 28 00 00 00 75 0f 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e 41 5f c3 e8 f4 18 db ff 0f 1f 40 00 f3 0f 1e fa <48> 8b 47 18 48 8b 40 10 c3 0f 1f 00 f3 0f 1e fa 53 48 8b 5f 18 48
[Jun21 14:23] mintSources.py[33533]: segfault at 18 ip 00007f49bae49364 sp 00007fff34b2b078 error 4 in libgtk-3.so.0.2404.16[7f49babed000+36f000]
[  +0.000012] Code: 44 24 08 64 48 33 04 25 28 00 00 00 75 0f 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e 41 5f c3 e8 f4 18 db ff 0f 1f 40 00 f3 0f 1e fa <48> 8b 47 18 48 8b 40 10 c3 0f 1f 00 f3 0f 1e fa 53 48 8b 5f 18 48
[Jun21 14:27] mintSources.py[33739]: segfault at 18 ip 00007fd3ee0ec364 sp 00007ffec8004208 error 4 in libgtk-3.so.0.2404.16[7fd3ede90000+36f000]
[  +0.000007] Code: 44 24 08 64 48 33 04 25 28 00 00 00 75 0f 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e 41 5f c3 e8 f4 18 db ff 0f 1f 40 00 f3 0f 1e fa <48> 8b 47 18 48 8b 40 10 c3 0f 1f 00 f3 0f 1e fa 53 48 8b 5f 18 48
I then tried to cat /etc/apt/sources.list nothing was outputted.

I don't know what else I need to do to fix this issue. I tried to google the errors from the terminal but could not find anything definitive....please help!
sleeper12
Level 16
Level 16
Posts: 6927
Joined: Thu May 25, 2017 3:22 pm

Re: Post Upgrade Issues

Post by sleeper12 »

You may have messed up your permissions by running sudo mintsources. Check:

Code: Select all

 find $HOME ! -user $USER 
It should come back empty, just the terminal prompt. If not, do:

Code: Select all

 sudo chown -R $USER:$USER $HOME 

Now the first command should return empty.

To reinstall mintsources, it's:

Code: Select all

apt reinstall mintsources
mintsources 

Note: It's mintsources, not sudo mintsources.
brievolz84
Level 1
Level 1
Posts: 20
Joined: Mon Nov 08, 2010 10:59 pm
Location: Sterling, Va

Re: Post Upgrade Issues

Post by brievolz84 »

So I tried what you said and this is the output:

Code: Select all

user@server:~$ find $HOME ! -user $USER
/home/user/Documents/smb.conf
/home/user/.dbus
find: ‘/home/user/.dbus’: Permission denied
/home/user/.gvfs
find: ‘/home/user/.gvfs’: Permission denied
/home/user/.cache/dconf
find: ‘/home/user/.cache/dconf’: Permission denied
/home/user/.cache/doc
find: ‘/home/user/.cache/doc’: Permission denied
user@server:~$ sudo chown -R $USER:$USER $HOME
[sudo] password for user:                 
chown: cannot access '/home/user/thinclient_drives': Permission denied
user@server:~$ find $HOME ! -user $USER
user@server:~$ sudo apt reinstall mintsources 
The following packages will be REINSTALLED:
  mintsources 
0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/122 kB of archives. After unpacking 0 B will be used.
(Reading database ... 387461 files and directories currently installed.)
Preparing to unpack .../mintsources_2.0.5_all.deb ...
Unpacking mintsources (2.0.5) over (2.0.5) ...
Setting up mintsources (2.0.5) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for desktop-file-utils (0.24+linuxmint1) ...
                                         
user@server:~$ mintsources 
Error executing command as another user: Not authorized

This incident has been reported.
sleeper12
Level 16
Level 16
Posts: 6927
Joined: Thu May 25, 2017 3:22 pm

Re: Post Upgrade Issues

Post by sleeper12 »

Ok, this is beyond my ability then, so wait for someone else to help.
User avatar
zcot
Level 7
Level 7
Posts: 1605
Joined: Wed Oct 19, 2016 6:08 pm

Re: Post Upgrade Issues

Post by zcot »

pkexec mintsources is how you should be doing that, but I don't know why you're doing it. Alternately you click the main menu and type software sources.

In that app, there are maintenance options, although I'm not sure that anything is relevant there, but you can reset the sources to default, like it is suggested to do with upgrade instructions.

For terminal brain surgery /etc/apt/sources.list.d/ is where the sources list files are.

Are you following the Official guide here, that's probably a critical point.
brievolz84
Level 1
Level 1
Posts: 20
Joined: Mon Nov 08, 2010 10:59 pm
Location: Sterling, Va

Re: Post Upgrade Issues

Post by brievolz84 »

@sleeper12. thank you for your help!

@zcot, I followed the official Linux Mint process that was in their blog (https://linuxmint-user-guide.readthedoc ... nt-20.html). I followed it to the tee but for some reason software sources within the main menu does not run and I get those errors in the terminal when I try to run the program there
User avatar
all41
Level 17
Level 17
Posts: 7032
Joined: Tue Dec 31, 2013 9:12 am
Location: Computer, Car, Cage

Re: Post Upgrade Issues

Post by all41 »

regarding software sources 'one bad apple spoils the barrel'
as mentioned try temporarily reverting to Mint defaults.
This is easily done using the Update Manager. In the toolbar choose Edit/Software Sources.
In the window that opens choose to 'Restore the default settings'. That will also prompt to update the cache--click ok.
Then close out UM.
In a terminal enter:

Code: Select all

apt update
Post those results here if errors are reported.
brievolz84
Level 1
Level 1
Posts: 20
Joined: Mon Nov 08, 2010 10:59 pm
Location: Sterling, Va

Re: Post Upgrade Issues

Post by brievolz84 »

@all41, so when I tried through the update manager, as you susggested, no software sources gui appears; I cannot find the any process for in htop. It is like it doesn't launch at all and I get the same errors when I try to run mintsources from terminal.
RIH
Level 6
Level 6
Posts: 1207
Joined: Sat Aug 22, 2015 3:47 am

Re: Post Upgrade Issues

Post by RIH »

Menu - Software Sources
Enter sudo password
Click button
soft.png
User avatar
all41
Level 17
Level 17
Posts: 7032
Joined: Tue Dec 31, 2013 9:12 am
Location: Computer, Car, Cage

Re: Post Upgrade Issues

Post by all41 »

brievolz84 wrote:
Mon Jun 21, 2021 10:01 pm
@all41, so when I tried through the update manager, as you susggested, no software sources gui appears; I cannot find the any process for in htop. It is like it doesn't launch at all and I get the same errors when I try to run mintsources from terminal.
Have you installed, replaced, or updated any python packages?
mintinstall requires specific python packages as dependencies
In a terminal run:

Code: Select all

apt policy mintsources
Please post those results here
User avatar
zcot
Level 7
Level 7
Posts: 1605
Joined: Wed Oct 19, 2016 6:08 pm

Re: Post Upgrade Issues

Post by zcot »

Just so we're all on the same page, not sure if you caught that, -do this in terminal, and post the results please:

Code: Select all

pkexec mintsources
You mentioned you're getting the same error, but you posted 3 different ways you attempted to run that, and each with different results, so I'm unclear. Don't run it any other way than mentioned there, that's it, that's the only way to do terminal with that, that's a complete system related tool and needs elevation.

The command above is the one we should see the exact error message of.
brievolz84
Level 1
Level 1
Posts: 20
Joined: Mon Nov 08, 2010 10:59 pm
Location: Sterling, Va

Re: Post Upgrade Issues

Post by brievolz84 »

Thank you all for your help but to all of those saying to try to open the Software Sources from the Menu or from the Update Manager....It Does Not Work....the GUI does not load or launch...essentially the GUI appears to be broken hence why I tried to launch it through terminal.

@zcot, I tried to run that command and this is the output:

Code: Select all

user@server:~$ pkexec mintsources
Error executing command as another user: Not authorized

This incident has been reported.
user@server:~$ sudo pkexec mintsources
[sudo] password for user:                 
No protocol specified
Unable to init server: Could not connect: Connection refused
No protocol specified
Unable to init server: Could not connect: Connection refused

(mintSources.py:42985): Gtk-CRITICAL **: 00:15:29.816: _gtk_style_provider_private_get_settings: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

(mintSources.py:42985): Gtk-CRITICAL **: 00:15:29.816: _gtk_style_provider_private_get_settings: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

(mintSources.py:42985): Gtk-CRITICAL **: 00:15:29.816: _gtk_style_provider_private_get_settings: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed.
@all41, not that I'm aware of. after the upgrade from 19.3 to 20.0, I first ran apt update && apt upgrade to make sure I had all the new packages and software installed then I ran apt auto-remove to remove any packages that were not in use. I did not see any python packages listed.
User avatar
all41
Level 17
Level 17
Posts: 7032
Joined: Tue Dec 31, 2013 9:12 am
Location: Computer, Car, Cage

Re: Post Upgrade Issues

Post by all41 »

all41 wrote:
Mon Jun 21, 2021 11:34 pm
brievolz84 wrote:
Mon Jun 21, 2021 10:01 pm
@all41, so when I tried through the update manager, as you susggested, no software sources gui appears; I cannot find the any process for in htop. It is like it doesn't launch at all and I get the same errors when I try to run mintsources from terminal.
Have you installed, replaced, or updated any python packages?
mintsources requires specific python packages as dependencies
In a terminal run:

Code: Select all

apt policy mintsources
Please post those results here
brievolz84
Level 1
Level 1
Posts: 20
Joined: Mon Nov 08, 2010 10:59 pm
Location: Sterling, Va

Re: Post Upgrade Issues

Post by brievolz84 »

@all41 here is the output:

Code: Select all

user@server:~$ sudo apt policy mintsources 
[sudo] password for user:                 
mintsources:
  Installed: 2.0.5
  Candidate: 2.0.5
  Version table:
 *** 2.0.5 700
        700 http://packages.linuxmint.com ulyana/upstream amd64 Packages
        700 http://packages.linuxmint.com ulyana/upstream i386 Packages
        100 /var/lib/dpkg/status
User avatar
zcot
Level 7
Level 7
Posts: 1605
Joined: Wed Oct 19, 2016 6:08 pm

Re: Post Upgrade Issues

Post by zcot »

zcot wrote:
Tue Jun 22, 2021 12:06 am

Code: Select all

pkexec mintsources
Don't run it any other way than mentioned there, that's it, that's the only way to do terminal with that.
brievolz84 wrote:
Tue Jun 22, 2021 12:29 am

Code: Select all

user@server:~$ sudo pkexec mintsources
[sudo] password for user:                 
:shock:

That pushes sudo against pkexec and nothing even talking about mintsources. I'm not even sure of the outcome from that. pkexec is a user call and should not have sudo on it. Anybody understand the consequence of that? I don't know, but I'm aware it should not be done as a user.

I definitely think there's a problem with a user permission and ownership issue, because the correct error(when the command was run correctly) was:

Code: Select all

user@server:~$ pkexec mintsources
Error executing command as another user: Not authorized

This incident has been reported.
user@server:~$
User avatar
all41
Level 17
Level 17
Posts: 7032
Joined: Tue Dec 31, 2013 9:12 am
Location: Computer, Car, Cage

Re: Post Upgrade Issues

Post by all41 »

yes
even the Menu/Software Sources reference is pkexec mintsources
User avatar
all41
Level 17
Level 17
Posts: 7032
Joined: Tue Dec 31, 2013 9:12 am
Location: Computer, Car, Cage

Re: Post Upgrade Issues

Post by all41 »

brievolz84 wrote:
Tue Jun 22, 2021 12:40 am
@all41 here is the output:

Code: Select all

user@server:~$ sudo apt policy mintsources 
[sudo] password for user:                 
mintsources:
  Installed: 2.0.5
  Candidate: 2.0.5
  Version table:
 *** 2.0.5 700
        700 http://packages.linuxmint.com ulyana/upstream amd64 Packages
        700 http://packages.linuxmint.com ulyana/upstream i386 Packages
        100 /var/lib/dpkg/status
This all looks good--while your version is 2.05 this system reports 2.0.7--imho no issue here at all.

Note that the arguments above have no bearing on the terminal inquiries you have provided.
brievolz84
Level 1
Level 1
Posts: 20
Joined: Mon Nov 08, 2010 10:59 pm
Location: Sterling, Va

Re: Post Upgrade Issues

Post by brievolz84 »

So should I just revert back to a previous timeshift backup and try again?
User avatar
zcot
Level 7
Level 7
Posts: 1605
Joined: Wed Oct 19, 2016 6:08 pm

Re: Post Upgrade Issues

Post by zcot »

Post your system info, as mentioned above in red.
brievolz84
Level 1
Level 1
Posts: 20
Joined: Mon Nov 08, 2010 10:59 pm
Location: Sterling, Va

Re: Post Upgrade Issues

Post by brievolz84 »

Image

Let me know if you need any further information
Post Reply