[Pkg-utopia-maintainers] Bug#788178: policykit-1: removes libpolkit-backend-1-0, get some warnings and authority issues

shirish शिरीष shirishag75 at gmail.com
Tue Jun 9 03:27:40 UTC 2015


Package: policykit-1
Version: 0.112-5
Severity: important

Dear Maintainer,
Was trying to install the new version from experimental. Hit these
problems while installing, have attached the file as well :-

D000001: checking dependencies for remove 'libpolkit-backend-1-0:amd64'
dpkg: libpolkit-backend-1-0:amd64: dependency problems, but removing
anyway as you requested:
 policykit-1 depends on libpolkit-backend-1-0 (>= 0.99).

adduser: Warning: The home directory `/var/lib/polkit-1' does not
belong to the user you are currently creating.

Error getting authority: Error initializing authority: Error calling
StartServiceByName for org.freedesktop.PolicyKit1: Timeout was reached
(g-io-error-quark, 24)
Failed to execute operation: Connection timed out

and at the very end :-

Restarting services using systemd...

it sort of hangs there.

This is the output of the configuration files which for some reason
reportbug is unable to access :-

root at debian:/etc/polkit-1/rules.d# cat 40-debian-sudo.rules
polkit.addAdminRule(function(action, subject) {
    return ["unix-group:sudo"];
});

root at debian:/etc/polkit-1/rules.d# cat 50-default.rules
/* -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- */

// Default rules for polkit
//
// See the polkit(8) man page for more information
// about configuring polkit.

polkit.addAdminRule(function(action, subject) {
    return ["unix-user:0"];
});


-- System Information:
Debian Release: stretch/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (1,
'experimental'), (1, 'unstable'), (1, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.0.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages policykit-1 depends on:
ii  adduser                3.113+nmu3
ii  dbus                   1.9.16-2
ii  libc6                  2.19-18
ii  libexpat1              2.1.0-6+b3
ii  libglib2.0-0           2.45.1-2
ii  libmozjs185-1.0        1.8.5-1.0.0+dfsg-4.3
ii  libnspr4               2:4.10.8-2
ii  libnspr4-0d            2:4.10.8-2
ii  libpam-systemd         220-5
ii  libpam0g               1.1.8-3.1
ii  libpolkit-agent-1-0    0.105-8
ii  libpolkit-gobject-1-0  0.105-8
ii  libsystemd0            220-5

policykit-1 recommends no packages.

policykit-1 suggests no packages.

-- Configuration Files:
/etc/polkit-1/rules.d/40-debian-sudo.rules [Errno 13] Permission
denied: u'/etc/polkit-1/rules.d/40-debian-sudo.rules'
/etc/polkit-1/rules.d/50-default.rules [Errno 13] Permission denied:
u'/etc/polkit-1/rules.d/50-default.rules'

-- no debconf information


-- 
          Regards,
          Shirish Agarwal  शिरीष अग्रवाल
  My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
EB80 462B 08E1 A0DE A73A  2C2F 9F3D C7A4 E1C4 D2D8
-------------- next part --------------
[$] sudo aptitude install policykit-1=0.112-5 -y                                                                                    [8:40:19]
The following packages will be REMOVED:  
  libpolkit-backend-1-0{u} 
The following packages will be upgraded:
  policykit-1 
1 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 95.4 kB of archives. After unpacking 13.3 kB will be freed.
Get: 1 http://httpredir.debian.org//debian/ experimental/main policykit-1 amd64 0.112-5 [95.4 kB]
Fetched 95.4 kB in 8s (11.6 kB/s)      
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
apt-listchanges: Mailing root: apt-listchanges: changelogs for debian
D000001: ensure_diversions: new, (re)loading
D000001: process queue pkg libpolkit-backend-1-0:amd64 queue.len 0 progress 1, try 1
D000001: deferred_remove package libpolkit-backend-1-0:amd64
D000001: checking dependencies for remove 'libpolkit-backend-1-0:amd64'
D000001: process queue pkg libpolkit-backend-1-0:amd64 queue.len 0 progress 2, try 1
D000001: deferred_remove package libpolkit-backend-1-0:amd64
D000001: checking dependencies for remove 'libpolkit-backend-1-0:amd64'
D000001: process queue pkg libpolkit-backend-1-0:amd64 queue.len 0 progress 0, try 2
D000001: deferred_remove package libpolkit-backend-1-0:amd64
D000001: checking dependencies for remove 'libpolkit-backend-1-0:amd64'
D000001: process queue pkg libpolkit-backend-1-0:amd64 queue.len 0 progress 1, try 2
D000001: deferred_remove package libpolkit-backend-1-0:amd64
D000001: checking dependencies for remove 'libpolkit-backend-1-0:amd64'
D000001: process queue pkg libpolkit-backend-1-0:amd64 queue.len 0 progress 2, try 2
D000001: deferred_remove package libpolkit-backend-1-0:amd64
D000001: checking dependencies for remove 'libpolkit-backend-1-0:amd64'
D000001: process queue pkg libpolkit-backend-1-0:amd64 queue.len 0 progress 0, try 3
D000001: deferred_remove package libpolkit-backend-1-0:amd64
D000001: checking dependencies for remove 'libpolkit-backend-1-0:amd64'
D000001: process queue pkg libpolkit-backend-1-0:amd64 queue.len 0 progress 1, try 3
D000001: deferred_remove package libpolkit-backend-1-0:amd64
D000001: checking dependencies for remove 'libpolkit-backend-1-0:amd64'
D000001: process queue pkg libpolkit-backend-1-0:amd64 queue.len 0 progress 2, try 3
D000001: deferred_remove package libpolkit-backend-1-0:amd64
D000001: checking dependencies for remove 'libpolkit-backend-1-0:amd64'
D000001: process queue pkg libpolkit-backend-1-0:amd64 queue.len 0 progress 0, try 4
D000001: deferred_remove package libpolkit-backend-1-0:amd64
D000001: checking dependencies for remove 'libpolkit-backend-1-0:amd64'
dpkg: libpolkit-backend-1-0:amd64: dependency problems, but removing anyway as you requested:
 policykit-1 depends on libpolkit-backend-1-0 (>= 0.99).

(Reading database ... 905358 files and directories currently installed.)
Removing libpolkit-backend-1-0:amd64 (0.105-8) ...
D000001: removal_bulk package libpolkit-backend-1-0:amd64
D000001: ensure_diversions: same, skipping
D000001: removal_bulk cleaning info directory
D000001: removal_bulk purging? foundpostrm=1
D000001: removal done
Processing triggers for libc-bin (2.19-18) ...
D000001: ensure_diversions: same, skipping
D000001: cmpversions a='0:1.17.25' b='0:1.16' r=1
D000001: cmpversions a='0:1.17.25' b='0:1.16' r=1
D000001: ensure_diversions: new, (re)loading
D000001: ensure_statoverrides: new, (re)loading
(Reading database ... 905353 files and directories currently installed.)
Preparing to unpack .../policykit-1_0.112-5_amd64.deb ...
D000001: process_archive oldversionstatus=installed
D000001: ensure_diversions: same, skipping
D000001: cmpversions a='0:0.105-8' b='0:0.109-1~' r=-4
D000001: cmpversions a='0:0.105-8' b='0:0.109-1~' r=-4
D000001: cmpversions a='0:0.105-8' b='0:0.109-1~' r=-4
D000001: cmpversions a='0:0.105-8' b='0:0.109-1~' r=-4
D000001: ensure_diversions: same, skipping
Unpacking policykit-1 (0.112-5) over (0.105-8) ...
dpkg: warning: unable to delete old directory '/etc/polkit-1/localauthority.conf.d': Directory not empty
dpkg: warning: unable to delete old directory '/etc/polkit-1/nullbackend.conf.d': Directory not empty
D000001: process_archive updating info directory
D000001: generating infodb hashfile
Processing triggers for dbus (1.9.16-2) ...
D000001: ensure_diversions: same, skipping
Processing triggers for man-db (2.7.0.2-5) ...
D000001: ensure_diversions: same, skipping
D000001: cmpversions a='0:1.17.25' b='0:1.16' r=1
D000001: cmpversions a='0:1.17.25' b='0:1.16' r=1
D000001: ensure_diversions: new, (re)loading
D000001: process queue pkg policykit-1:amd64 queue.len 0 progress 1, try 1
Setting up policykit-1 (0.112-5) ...
D000001: deferred_configure updating conffiles
Installing new version of config file /etc/dbus-1/system.d/org.freedesktop.PolicyKit1.conf ...
adduser: Warning: The home directory `/var/lib/polkit-1' does not belong to the user you are currently creating.
D000001: cmpversions a='0:0.105-8' b='0:0.112-3~' r=-1
D000001: cmpversions a='0:0.105-8' b='0:0.109-1' r=-4
Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: Timeout was reached (g-io-error-quark, 24)
Failed to execute operation: Connection timed out
D000001: cmpversions a='0:0.105-8' b='0:0.109-1~' r=-4
Removing obsolete conffile /etc/polkit-1/nullbackend.conf.d/50-nullbackend.conf ...
D000001: cmpversions a='0:0.105-8' b='0:0.109-1~' r=-4
Removing obsolete conffile /etc/polkit-1/localauthority.conf.d/50-localauthority.conf ...
D000001: cmpversions a='0:0.105-8' b='0:0.109-1~' r=-4
Removing obsolete conffile /etc/polkit-1/localauthority.conf.d/51-debian-sudo.conf ...
D000001: cmpversions a='0:0.105-8' b='0:0.109-1~' r=-4
D000001: cmpversions a='0:0.105-8' b='0:0.109-1' r=-4
D000001: ensure_diversions: same, skipping
Processing triggers for dbus (1.9.16-2) ...
D000001: ensure_diversions: same, skipping
D000001: cmpversions a='0:1.17.25' b='0:1.16' r=1
D000001: cmpversions a='0:1.17.25' b='0:1.16' r=1
D000001: ensure_diversions: new, (re)loading
D000001: cmpversions a='0:1.17.25' b='0:1.16' r=1
D000001: cmpversions a='0:1.17.25' b='0:1.16' r=1
Scanning processes...                                                                                                                           
Scanning candidates...                                                                                                                          
Scanning linux images...                                                                                                                        
Running kernel seems to be up-to-date.
Restarting services using systemd...


More information about the Pkg-utopia-maintainers mailing list