中国Linux公社论坛's Archiver

zy_sunshine 发表于 2010-2-2 22:36

MagicLinux的PolicyKit polkit问题

[code][sunshine@MagicLinux ~]$ apt-cache search policykit
PolicyKit - Authorization Toolkit                  
PolicyKit-devel - Headers and libraries for PolicyKit
PolicyKit-docs - Documentation for PolicyKit         
liblazy - Liblazy - D-Bus methods provided for convenience
polkit - PolicyKit Authorization Framework               
polkit-devel - Development files for PolicyKit            
polkit-docs - Development documentation for PolicyKit     
polkit-qt - Qt bindings for PolicyKit                     
polkit-qt-1 - Qt bindings for PolicyKit[/code][code][sunshine@MagicLinux ~]$ sudo apt-get install PolicyKit
Reading Package Lists... Done                          
Building Dependency Tree... Done                       
Some packages could not be installed. This may mean that you have
requested an impossible situation or that some of the repositories
in use are in an inconsistent state at the moment.               

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against         
that package should be filed.                                          
The following information may help to resolve the situation:           

The following packages have unmet dependencies:
  polkit: Obsoletes: PolicyKit (<= 0.10)      
E: Broken packages
[/code][code][sunshine@MagicLinux ~]$ sudo yum install PolicyKit
Setting up Install Process                        
Package PolicyKit is obsoleted by polkit, trying to install polkit-0.95-0.git20090913.2mgc25.i686 instead
Package polkit-0.95-0.git20090913.2mgc25.i686 already installed and latest version                       
Nothing to do[/code][code][sunshine@MagicLinux ~]$ sudo yum install polkit
[sudo] password for sunshine:                  
Setting up Install Process                     
Package polkit-0.95-0.git20090913.2mgc25.i686 already installed and latest version
Nothing to do[/code]安装PolicyKit说这个包obsoleted了,由polkit代替,但是polkit包是安装的。

但是系统中没有polkit的相关程序。如:
polkit-action - List and modify registered PolicyKit actions
polkit-auth - Manage authorizations, If invoked without any options, the authorizations of
       the calling process will be printed.

haulm 发表于 2010-9-26 23:23

这方面还是空白,显然以后普通用户的权限问题必需从这里得到解决。

fox_eagle2003 发表于 2010-9-27 13:38

大伙努力,顶!

页: [1]

Powered by Discuz! Archiver 6.1.0F  © 2001-2007 Comsenz Inc.