You are not logged in.

#1 2010-02-12 01:13:02

takedown
Member
From: Argentina
Registered: 2008-08-31
Posts: 219

[solved] polkit or policykit?

Hello, I go to the forum to ask something that caught my attention.
On my system the following packages are installed:

1)

policykit-gnome-0.9.2-5
policykit-0.9-9

and 2)

polkit-gnome 0.96-1
polkit 0.96-1

I assume this occurred in an update, can I delete "1)" quietly? Or are they simply two different packages with similar names?

more info:

root:/var/abs # cat /var/log/pacman.log | grep policykit
[2009-07-14 01:12] installed policykit (0.9-9)
[2009-09-09 10:59] installed policykit-gnome (0.9.2-4)
[2009-11-23 14:31] upgraded policykit-gnome (0.9.2-4 -> 0.9.2-5)
root:/var/abs # cat /var/log/pacman.log | grep polkit
[2009-08-06 10:37] installed polkit-qt (0.9.2-2)
[2009-10-12 20:34] installed polkit (0.94-1)
[2009-11-23 14:31] upgraded polkit (0.94-1 -> 0.95-1)
[2010-01-02 20:11] installed polkit-gnome (0.95-1)
[2010-02-03 20:13] upgraded polkit (0.95-1 -> 0.96-1)
[2010-02-04 22:03] upgraded polkit-gnome (0.95-1 -> 0.96-1)
[2010-02-09 13:31] upgraded polkit-qt (0.9.2-2 -> 0.95.1-1)
[2010-02-09 13:31] installed polkit-kde (0.95.1-1)
[2010-02-10 18:50] upgraded polkit-kde (0.95.1-1 -> 0.95.1-2)
root:/var/abs # pacman -Qi policykit                                                                                                                                                           
Nombre           : policykit                                                                                                                                                                                     
Versión        : 0.9-9                                                                                                                                                                                           
URL               : http://hal.freedesktop.org/docs/PolicyKit/                                                                                                                                                   
Licencias      : custom                                                                                                                                                                                          
Grupos            : Nada                                                                                                                                                                                         
Provee            : Nada                                                                                                                                                                                         
Depende De        : dbus-glib>=0.80  expat>=2.0.1  pam                                                                                                                                                           
Dependencias Opcionales  : Nada                                                                                                                                                                                  
Requerido por     : policykit-gnome                                                                                                                                                                              
Conflictos con    : Nada                                                                                                                                                                                         
Reemplaza     : Nada                                                                                                                                                                                             
Tamaño instalado  : 1996,00 K                                                                                                                                                                                    
Empaquetador      : Jan de Groot <jgc@archlinux.org>                                                                                                                                                             
Arquitectura   : x86_64                                                                                                                                                                                          
Fecha de compilación : dom 10 may 2009 13:05:52 ART                                                                                                                                                              
Fecha de instalación : mar 14 jul 2009 01:12:31 ART                                                                                                                                                              
Motivo de la instalación : Instalado como dependencia de otro paquete                                                                                                                                            
Script de instalación: Si                                                                                                                                                                                        
Descripción    : Application development toolkit for controlling system-wide privileges                                                                                                                          
                                                                                                                                                                                                                 
root:/var/abs # pacman -Qi policykit-gnome                                                                                                                                                     
Nombre           : policykit-gnome                                                                                                                                                                               
Versión        : 0.9.2-5
URL               : http://hal.freedesktop.org/docs/PolicyKit-gnome/
Licencias      : GPL
Grupos            : Nada
Provee            : Nada
Depende De        : gconf>=2.26.1  policykit>=0.9
Dependencias Opcionales  : Nada
Requerido por     : Nada
Conflictos con    : Nada
Reemplaza     : Nada
Tamaño instalado  : 1536,00 K
Empaquetador      : Biru Ionut <ionut@archlinux.ro>
Arquitectura   : x86_64
Fecha de compilación : dom 22 nov 2009 09:06:46 ART
Fecha de instalación : lun 23 nov 2009 14:31:42 ART
Motivo de la instalación : Instalado como dependencia de otro paquete
Script de instalación: Si
Descripción    : PolicyKit integration for the GNOME desktop

thank you

Last edited by takedown (2010-07-08 00:47:40)

Offline

#2 2010-02-12 01:21:38

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: [solved] polkit or policykit?

policykit is deprecated. You can safely remove it.

Offline

#3 2010-02-12 01:49:18

takedown
Member
From: Argentina
Registered: 2008-08-31
Posts: 219

Re: [solved] polkit or policykit?

thanks Pierre
Now I wonder if anyone knows, why if this package is deprecated, pacman never warned me of this situation, or not published on the news site, etc ...

This leads me to wonder if I have more deprecated packages installed on my system.

Offline

#4 2010-02-12 05:39:24

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: [solved] polkit or policykit?

pacman -Qm. Besides listing packages you installed from AUR, you can also use it to find such depreciated packages.

Offline

#5 2010-02-12 09:16:19

mizar
Member
Registered: 2007-12-29
Posts: 10

Re: [solved] polkit or policykit?

When trying to remove policykit, pacman gives this error:

sudo pacman -Rns policykit
checking dependencies...

Remove (1): policykit-0.9-9

Total Removed Size:   1.89 MB

Do you want to remove these packages? [Y/n] y
(1/1) removing policykit                            [#################################################################################################] 100%
error: command failed to execute correctly

Offline

#6 2010-02-12 09:36:03

ccc1
Member
Registered: 2009-04-16
Posts: 111

Re: [solved] polkit or policykit?

mizar wrote:

When trying to remove policykit, pacman gives this error:

same here ...

Last edited by ccc1 (2010-02-12 09:36:18)

Offline

#7 2010-02-12 16:52:08

Stunts
Member
From: Portugal
Registered: 2009-03-28
Posts: 339
Website

Re: [solved] polkit or policykit?

I can confirm this.
Should I file a bug for pacman, or polkit? (since policykit is deprecated and Flyspray states that deprecated packages should not get bug reports)

Offline

#8 2010-02-12 16:53:50

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: [solved] polkit or policykit?

I think you can file a bug report and ask that there should be a replaces line added to the new versions.

Offline

#9 2010-02-12 17:14:39

takedown
Member
From: Argentina
Registered: 2008-08-31
Posts: 219

Re: [solved] polkit or policykit?

same here...

Offline

#10 2010-02-12 17:37:40

Stunts
Member
From: Portugal
Registered: 2009-03-28
Posts: 339
Website

Re: [solved] polkit or policykit?

Bug reported:
http://bugs.archlinux.org/task/18307
Go vote for it =-)

Also:
policykit is removed from my system... despite the error message from pacman.

Last edited by Stunts (2010-02-12 17:38:26)

Offline

#11 2010-02-13 23:07:38

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: [solved] polkit or policykit?

The error is harmless, as it involves removing the policykit user and group. The userdel command removes the group also, so the groupdel command will fail. Someone filed a bug for this, but I closed it without a fix since policykit would die in a few days anyways.

Offline

#12 2010-02-14 13:05:54

Stunts
Member
From: Portugal
Registered: 2009-03-28
Posts: 339
Website

Re: [solved] polkit or policykit?

Thank you for the clarification!

Offline

#13 2010-02-21 00:55:24

venky80
Member
Registered: 2007-05-13
Posts: 1,002

Re: [solved] polkit or policykit?

what about polkit-1 is that replacing polkit?
http://drfav.wordpress.com/2009/12/22/p … situation/

Last edited by venky80 (2010-02-21 00:56:53)


Acer Aspire V5-573P Antergos KDE

Offline

#14 2010-03-17 19:19:14

Rodan
Member
Registered: 2010-02-12
Posts: 6

Re: [solved] polkit or policykit?

Sorry to bump this thread, but upgrading to polkit broke HAL.

Now I'm running both policykit and polkit, to fix HAL, but that can't really be the best solution.

Offline

#15 2010-03-18 08:53:56

Stunts
Member
From: Portugal
Registered: 2009-03-28
Posts: 339
Website

Re: [solved] polkit or policykit?

Rodan wrote:

Sorry to bump this thread, but upgrading to polkit broke HAL.

Now I'm running both policykit and polkit, to fix HAL, but that can't really be the best solution.

Care to elaborate?
How did HAL break? Does it fail to start?
When the upgrade from policikit to polkit happened on my system everything kept working just fine.
Maybe with a bit more info we can give you a hand.

Offline

#16 2010-03-18 10:16:16

Rodan
Member
Registered: 2010-02-12
Posts: 6

Re: [solved] polkit or policykit?

HAL failed to start at boot, and failed starting when using /etc/rc.d/hal or hald. The breakage was "fixed" by reinstalling policykit, and keeping polkit as well.

This morning I performed another pacman -Syu, and it wanted to replace policykit - again. I went with it, and now everything seems to be back to normal, without policykit. Note that this time I got the same error message as above, which I didn't get the first time.

Offline

Board footer

Powered by FluxBB