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

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
rsal
Posts: 198
Joined: 12. Mar 2012, 17:00

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

Post 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.
Last edited by rsal on 16. Nov 2015, 14:24, edited 1 time in total.
User avatar
laprjns
Salix Warrior
Posts: 1113
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: polkit repeatedly coming in "to update" list

Post 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
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
rsal
Posts: 198
Joined: 12. Mar 2012, 17:00

Re: polkit repeatedly coming in "to update" list

Post 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.
User avatar
laprjns
Salix Warrior
Posts: 1113
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: polkit repeatedly coming in "to update" list

Post 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
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
rsal
Posts: 198
Joined: 12. Mar 2012, 17:00

Re: polkit repeatedly coming in "to update" list

Post 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?
Post Reply