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


Groups > linux.debian.user > #171854

Re: System in broken state after dpkg upgrade

From Marko Randjelovic <markoran@eunet.rs>
Newsgroups linux.debian.user
Subject Re: System in broken state after dpkg upgrade
Date 2016-09-07 19:30 +0200
Message-ID <seOPE-2Ez-27@gated-at.bofh.it> (permalink)
References <seGp4-5Kk-19@gated-at.bofh.it> <seKVI-db-7@gated-at.bofh.it> <seMNQ-1pB-19@gated-at.bofh.it> <seNTB-25W-47@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, 07 Sep 2016 18:24:29 +0200
Sven Joachim <svenjoac@gmx.de> wrote:

> On 2016-09-07 17:13 +0200, Marko Randjelovic wrote:
> 
> > On Wed, 07 Sep 2016 15:17:23 +0200
> > Sven Joachim <svenjoac@gmx.de> wrote:
> >
> >> File a bug against dpkg.  In the meantime, rebooting with the
> >> "selinux=0" kernel parameter should give you a working dpkg.
> >
> > After rebooting with 'selinux=0' I reinstalled dpkg with success:
> >
> > dpkg -i /var/cache/apt/archives/dpkg_....deb
> >
> > However, then I wanted to install reportbug and during install received
> > the same error.
> 
> Which is not surprising if you had rebooted without that kernel
> parameter again.  Don Armstrong already gave the right hint: your
> selinux policy does not know about dpkg_script_t, and you should upgrade
> your selinux-policy-* package(s) to the jessie version.  See the
> changelogs of dpkg and refpolicy:

setenforce 0 works, there is no need to reboot the whole system. On the
other hand, I cannot upgrade selinux policy from jessie because there is
no selinux-policy-default in jessie, although there is in testing.

> 
> ,----
> | dpkg (1.17.0) unstable; urgency=low
> | [...]
> |   * Execute maintainer scripts in a new execution context, based on the
> |     current one and the specific maintainer script filename, and if it's
> |     not different to the current one, use "dpkg_script_t" as a fallback.
> `----
> 
> ,----
> | refpolicy (2:2.20140206-1) unstable; urgency=medium
> | [...]
> |     - Allow unconfined user to transition to dpkg_t and transitively to
> |       dpkg_script_t (Closes: #707214)
> `----
> 
> See https://bugs.debian.org/707214 for more information.
> 
> Cheers,
>        Sven
> 



-- 
http://markorandjelovic.hopto.org

"The only thing necessary for the triumph of evil is that good people
do nothing." -- Edmund Burke

Back to linux.debian.user | Previous | Next — Previous in thread | Next 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