apt policy
$ LANG=C apt policy libpolkit-agent-1-0 libpolkit-gobject-1-0
libpolkit-agent-1-0:
Installed: 0.112-5.3.1~really-0.105-8
Candidate: 0.112-5.3.1~really-0.105-8
Version table:
*** 0.112-5.3.1~really-0.105-8 100
100 /var/lib/dpkg/status
0.105-33 500
500 https://deb.debian.org/debian unstable/main amd64 Packages
libpolkit-gobject-1-0:
Installed: 0.112-5.3.1~really-0.105-8
Candidate: 0.112-5.3.1~really-0.105-8
Version table:
*** 0.112-5.3.1~really-0.105-8 100
100 /var/lib/dpkg/status
0.105-33 500
500 https://deb.debian.org/debian unstable/main amd64 Packages
apt install --reinstall
$ LANG=C sudo apt -V install libpolkit-agent-1-0=0.105-33 libpolkit-gobject-1-0=0.105-33 --reinstall
[sudo] password for frank:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be DOWNGRADED:
libpolkit-agent-1-0 (0.112-5.3.1~really-0.105-8 => 0.105-33)
libpolkit-gobject-1-0 (0.112-5.3.1~really-0.105-8 => 0.105-33)
0 upgraded, 0 newly installed, 2 downgraded, 0 to remove and 3 not upgraded.
Need to get 78.8 kB of archives.
After this operation, 24.6 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 https://deb.debian.org/debian unstable/main amd64 libpolkit-gobject-1-0 amd64 0.105-33 [49.7 kB]
Get:2 https://deb.debian.org/debian unstable/main amd64 libpolkit-agent-1-0 amd64 0.105-33 [29.1 kB]
Fetched 78.8 kB in 0s (192 kB/s)
dpkg: warning: downgrading libpolkit-gobject-1-0:amd64 from 0.112-5.3.1~really-0.105-8 to 0.105-33
(Reading database ... 436924 files and directories currently installed.)
Preparing to unpack .../libpolkit-gobject-1-0_0.105-33_amd64.deb ...
Unpacking libpolkit-gobject-1-0:amd64 (0.105-33) over (0.112-5.3.1~really-0.105-8) ...
dpkg: warning: downgrading libpolkit-agent-1-0:amd64 from 0.112-5.3.1~really-0.105-8 to 0.105-33
Preparing to unpack .../libpolkit-agent-1-0_0.105-33_amd64.deb ...
Unpacking libpolkit-agent-1-0:amd64 (0.105-33) over (0.112-5.3.1~really-0.105-8) ...
Setting up libpolkit-gobject-1-0:amd64 (0.105-33) ...
Setting up libpolkit-agent-1-0:amd64 (0.105-33) ...
Processing triggers for libc-bin (2.33-7) ...
Scanning processes...
Scanning candidates...
Scanning processor microcode...
Scanning linux images...
Running kernel seems to be up-to-date.
Failed to check for processor microcode upgrades.
Restarting services...
systemctl restart accounts-daemon.service polkitd.service udisks2.service
Service restarts being deferred:
systemctl restart ModemManager.service
No containers need to be restarted.
User sessions running outdated binaries:
orinoco @ session #3: plasma_session[17802]
No VM guests are running outdated hypervisor (qemu) binaries on this host.
apt full-upgradeLANG=C sudo apt -V full-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
polkitd (0.105-33)
The following packages will be upgraded:
kde-full (5:121 => 5:123)
kde-standard (5:121 => 5:123)
polkit-kde-agent-1 (4:5.24.4-1 => 4:5.24.5-1)
3 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 182 kB of archives.
After this operation, 308 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 https://deb.debian.org/debian unstable/main amd64 polkitd amd64 0.105-33 [88.9 kB]
Get:2 https://deb.debian.org/debian unstable/main amd64 polkit-kde-agent-1 amd64 4:5.24.5-1 [60.2 kB]
Get:3 https://deb.debian.org/debian unstable/main amd64 kde-standard amd64 5:123 [16.5 kB]
Get:4 https://deb.debian.org/debian unstable/main amd64 kde-full amd64 5:123 [16.5 kB]
Fetched 182 kB in 0s (480 kB/s)
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
Changelogs werden gelesen... Fertig
Selecting previously unselected package polkitd.
(Reading database ... 436924 files and directories currently installed.)
Preparing to unpack .../polkitd_0.105-33_amd64.deb ...
Unpacking polkitd (0.105-33) ...
dpkg: error processing archive /var/cache/apt/archives/polkitd_0.105-33_amd64.deb (--unpack):
trying to overwrite '/etc/pam.d/polkit-1', which is also in package policykit-1 0.112-5.3.1~really-0.105-8
Preparing to unpack .../polkit-kde-agent-1_4%3a5.24.5-1_amd64.deb ...
Unpacking polkit-kde-agent-1 (4:5.24.5-1) over (4:5.24.4-1) ...
Preparing to unpack .../kde-standard_5%3a123_amd64.deb ...
Unpacking kde-standard (5:123) over (5:121) ...
Preparing to unpack .../kde-full_5%3a123_amd64.deb ...
Unpacking kde-full (5:123) over (5:121) ...
Errors were encountered while processing:
/var/cache/apt/archives/polkitd_0.105-33_amd64.deb
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)
apt install --fixbroken
$ LANG=C sudo apt --fix-broken install Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
polkitd
The following NEW packages will be installed:
polkitd
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
Need to get 0 B/88.9 kB of archives.
After this operation, 308 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
(Reading database ... 436924 files and directories currently installed.)
Preparing to unpack .../polkitd_0.105-33_amd64.deb ...
Unpacking polkitd (0.105-33) ...
dpkg: error processing archive /var/cache/apt/archives/polkitd_0.105-33_amd64.deb (--unpack):
trying to overwrite '/etc/pam.d/polkit-1', which is also in package policykit-1 0.112-5.3.1~really-0.105-8
Errors were encountered while processing:
/var/cache/apt/archives/polkitd_0.105-33_amd64.deb
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)