[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: System in broken state after dpkg upgrade



On 2016-09-07 10:16 +0200, Marko Randjelovic wrote:

> I have mixed wheezy/jessie system.

This is not really recommended, since your particular combination of
packages might not have been tested by anyone.  Having all packages
from the same distribution avoids this source of problems.

> When tried to upgrade cmake from
> jessie, apt pulled other packages including dpkg which gave error
> during configure:

> Setting up dpkg (1.17.27) ...
> Installing new version of config file /etc/cron.daily/dpkg ...
> dpkg (subprocess): cannot set security execution context for maintainer script: Invalid argument
> dpkg: error processing package dpkg (--configure):
>  subprocess installed post-installation script returned error exit status 2
> Errors were encountered while processing:
>  dpkg

This might be a bug in dpkg or in one of the libraries it depends on
(libselinux1 comes to mind).  What are the versions of libselinux1 and
libpcre3 on your system?

> Please help.

File a bug against dpkg.  In the meantime, rebooting with the
"selinux=0" kernel parameter should give you a working dpkg.

Cheers,
       Sven


Reply to: