mintupdate software sources doesnt work after update 18.2 -> 18.3

Questions about applications and software
Forum rules
Before you post please read how to get help
Locked
User avatar
eiver
Level 5
Level 5
Posts: 566
Joined: Fri Jan 23, 2009 5:51 am

mintupdate software sources doesnt work after update 18.2 -> 18.3

Post by eiver » Thu Jun 21, 2018 12:33 pm

Hi all,

I have the following issue. After upgrading from Mint Mate 18.2 to 18.3, if I click mintupdate->Edit->Software Sources, the window doesn't show up. Instead I see the following in auth.log:

Code: Select all

Jun 21 18:21:03 eiverserver pkexec[1607]: superadmin: Error executing command as another user: Not authorized [USER=root] [TTY=unknown] [CWD=/home/superadmin] [COMMAND=/usr/lib/linuxmint/mintSources/mintSources.py]
Everything else works ok. I can click "Install Updates" and I do get the root password prompt. What is weird, I have another machine, where I installed Mint 18.3 from scratch and it doesn't have that issue.

I did check the /etc/apt/sources.list.d/official-package-repositories.list and it looks the same on both machines.
I did find a number of other threads (some of them are 3+ years old), but none of them helped me.

I don't know, if it is relevant, but I also noticed that all my Favorites in mintmenu are gone.

User avatar
Flemur
Level 17
Level 17
Posts: 7079
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: mintupdate software sources doesnt work after update 18.2 -> 18.3

Post by Flemur » Thu Jun 21, 2018 12:46 pm

eiver wrote:
Thu Jun 21, 2018 12:33 pm

Code: Select all

Jun 21 18:21:03 eiverserver pkexec[1607]: superadmin: Error executing command as another user: Not authorized [USER=root] [TTY=unknown] [CWD=/home/superadmin] [COMMAND=/usr/lib/linuxmint/mintSources/mintSources.py]
pkexec is an example of the convoluted stuff from freedesktop.org that'll come with Mint 19 to replace the things that already work perfectly well, namely:

Code: Select all

gksudo /usr/lib/linuxmint/mintSources/mintSources.py
Is your username "superadmin"?
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Mint 19.1 Xfce/fluxbox
Manjaro openbox/fluxbox

User avatar
eiver
Level 5
Level 5
Posts: 566
Joined: Fri Jan 23, 2009 5:51 am

Re: mintupdate software sources doesnt work after update 18.2 -> 18.3

Post by eiver » Thu Jun 21, 2018 1:03 pm

Yes it is :D.

I reduced the problem to a single command:

Code: Select all

~ $ software-sources
(Notice no sudo here). On the machine with LM 18.3 installed from scratch, this command creates a popup window asking for credentials.

However on the machine LM 18.3, which was upgraded from 18.2, I get this:

Code: Select all

 ~ $ software-sources 
Error executing command as another user: Not authorized

This incident has been reported.
How can I fix that?

MmUser
Level 1
Level 1
Posts: 1
Joined: Wed Sep 04, 2019 11:03 am

Re: mintupdate software sources doesnt work after update 18.2 -> 18.3

Post by MmUser » Thu Sep 12, 2019 2:12 am

Problem was fixed with the update yesterday.

Locked

Return to “Software & Applications”