Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #171847

Re: System in broken state after dpkg upgrade

From Don Armstrong <don@debian.org>
Newsgroups linux.debian.user
Subject Re: System in broken state after dpkg upgrade
Date 2016-09-07 17:30 +0200
Message-ID <seMXv-1t1-13@gated-at.bofh.it> (permalink)
References <seGp4-5Kk-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, 07 Sep 2016, Marko Randjelovic wrote:
> I have mixed wheezy/jessie system. When tried to upgrade cmake from
> jessie, apt pulled other packages including dpkg which gave error
> during configure:
[...]
> 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

You have selinux enabled, and for whatever reason, setting the
appropriate security context for the maintainer script, likely because
you haven't upgraded refpolicy to properly support dpkg_script_t or
other set up the selinux policy correctly.

Fix that, and you should be able to complete the install.

-- 
Don Armstrong                      https://www.donarmstrong.com

The whole modern world has divided itself into Conservatives and
Progressives. The business of Progressives is to go on making
mistakes. The business of the Conservatives is to prevent the mistakes
from being corrected.
 -- G. K. Chesterton "Illustrated London News (1924-04-19)"

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

System in broken state after dpkg upgrade Marko Randjelovic <markoran@eunet.rs> - 2016-09-07 10:30 +0200
  Re: System in broken state after dpkg upgrade Sven Joachim <svenjoac@gmx.de> - 2016-09-07 15:20 +0200
    Re: System in broken state after dpkg upgrade Marko Randjelovic <markoran@eunet.rs> - 2016-09-07 17:10 +0200
    Re: System in broken state after dpkg upgrade Marko Randjelovic <markoran@eunet.rs> - 2016-09-07 17:20 +0200
      Re: System in broken state after dpkg upgrade Sven Joachim <svenjoac@gmx.de> - 2016-09-07 18:30 +0200
        Re: System in broken state after dpkg upgrade Marko Randjelovic <markoran@eunet.rs> - 2016-09-07 19:30 +0200
          Re: System in broken state after dpkg upgrade Don Armstrong <don@debian.org> - 2016-09-07 19:50 +0200
            Re: Re: System in broken state after dpkg upgrade Laurent Bigonville <bigon@debian.org> - 2016-09-09 12:10 +0200
  Re: System in broken state after dpkg upgrade Don Armstrong <don@debian.org> - 2016-09-07 17:30 +0200

csiph-web