Page 1 of 1

polkit repeatedly coming in "to update" list[SOLVED]

Posted: 15. Nov 2015, 12:42
by rsal
I have upgraded my SalixOS to 14.1 and have following packages related to polkit installed:

Code: Select all

# slapt-get --installed | grep polkit
mate-polkit-1.4.0-i486-2gv [inst=yes]: mate-polkit (PolicyKit integration for the MATE desktop)
polkit-0.105-i486-4 [inst=yes]: polkit (authentication framework)
polkit-0.105-i486-4_slack14.0 [inst=yes]: polkit (authentication framework)
polkit-qt-1-0.103.0-i486-1 [inst=yes]: polkit-qt-1 (Qt polkit API wrapper)
However, slapt-get --upgrade continues to show polkit needs to be updated. If I try to remove polkit-0.105-i486-4_slack14.0, I find there are many packages that depend on it and will also be removed. How can I get rid of this problem? Thanks for your help.

Re: polkit repeatedly coming in "to update" list

Posted: 15. Nov 2015, 13:18
by laprjns
I believe that mate-polkit is an artifact from your 14.0 installation. It is not available in the 14.1 repos. So remove mate-polkit and install polkit. To remove a package without removing packages that depend on it use the --no-dep option in slapt-get.

Code: Select all

$ sudo slapt-get --remove mate-polkit --no-dep

Re: polkit repeatedly coming in "to update" list

Posted: 15. Nov 2015, 14:59
by rsal
I removed mate-polkit. Nothing depended on it. But problem is persisting. I think some packages that I had installed on my own (out of SalixOS) depend on older polkit. I will let this harmless warning come.

Re: polkit repeatedly coming in "to update" list

Posted: 15. Nov 2015, 15:19
by laprjns
I took a closure look at your first post and realized that I missed the fact that you have polkit-0.105-i486-4_slack14.0 install. Try removing it by using the spkg like this.

Code: Select all

# spkg --remove polkit-0.105-i486-4_slack14.0 
Also you need to check your /etc/slapt-get/slapt-getrc file to ensure that you have the 14.1 repos selected. After that make sure you then update the package cache using slapt- get --update

Re: polkit repeatedly coming in "to update" list

Posted: 15. Nov 2015, 15:50
by rsal
I used this command to remove older polkit. I think it has worked. Gslapt is showing No updates available and all applications also seem to be working all right. Thanks for your help. Why do you prefer spkg over slapt-get?