On Wed, 07 Sep 2016 15:17:23 +0200 Sven Joachim <svenj...@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. root@debian:~# apt-get install reportbug Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: python-debian python-debianbts python-fpconst python-reportbug python-soappy Suggested packages: postfix exim4 mail-transport-agent debconf-utils debsums dlocate python-urwid python-vte python-gtkspell emacs22-bin-common emacs23-bin-common claws-mail Recommended packages: python-apt The following NEW packages will be installed: python-debian python-debianbts python-fpconst python-reportbug python-soappy reportbug 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/468 kB of archives. After this operation, 1,819 kB of additional disk space will be used. Do you want to continue? [Y/n] Selecting previously unselected package python-debian. (Reading database ... 115166 files and directories currently installed.) Preparing to unpack .../python-debian_0.1.21_all.deb ... Unpacking python-debian (0.1.21) ... Selecting previously unselected package python-fpconst. Preparing to unpack .../python-fpconst_0.7.2-5_all.deb ... Unpacking python-fpconst (0.7.2-5) ... Selecting previously unselected package python-soappy. Preparing to unpack .../python-soappy_0.12.0-4_all.deb ... Unpacking python-soappy (0.12.0-4) ... Selecting previously unselected package python-debianbts. Preparing to unpack .../python-debianbts_1.11_all.deb ... Unpacking python-debianbts (1.11) ... Selecting previously unselected package python-reportbug. Preparing to unpack .../python-reportbug_6.4.4+deb7u1_all.deb ... Unpacking python-reportbug (6.4.4+deb7u1) ... Selecting previously unselected package reportbug. Preparing to unpack .../reportbug_6.4.4+deb7u1_all.deb ... Unpacking reportbug (6.4.4+deb7u1) ... Processing triggers for desktop-file-utils (0.20-0.1) ... dpkg (subprocess): cannot set security execution context for maintainer script: Invalid argument dpkg: error processing package desktop-file-utils (--unpack): subprocess installed post-installation script returned error exit status 2 Processing triggers for man-db (2.7.0.2-5) ... dpkg (subprocess): cannot set security execution context for maintainer script: Invalid argument dpkg: error processing package man-db (--unpack): subprocess installed post-installation script returned error exit status 2 Errors were encountered while processing: desktop-file-utils man-db E: Sub-process /usr/bin/dpkg returned an error code (1) root@debian:~# setenforce 0 root@debian:~# apt-get install reportbug Reading package lists... Done Building dependency tree Reading state information... Done reportbug is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 8 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] Setting up man-db (2.7.0.2-5) ... Updating database of manual pages ... Setting up python-debian (0.1.21) ... Setting up python-fpconst (0.7.2-5) ... Setting up python-soappy (0.12.0-4) ... Setting up python-debianbts (1.11) ... Setting up python-reportbug (6.4.4+deb7u1) ... Setting up reportbug (6.4.4+deb7u1) ... Setting up desktop-file-utils (0.20-0.1) ... Processing triggers for python-support (1.0.15) ... root@debian:~# apt-cache policy libselinux1 libselinux1: Installed: 2.3-2 Candidate: 2.3-2 Version table: 2.5-3 0 350 http://ftp.de.debian.org/debian/ testing/main amd64 Packages *** 2.3-2 0 450 http://ftp.de.debian.org/debian/ jessie/main amd64 Packages 100 /var/lib/dpkg/status 2.1.9-5 0 500 cdrom://[Debian GNU/Linux 7.8.0 _Wheezy_ - Official amd64 DVD Binary-1 20150110-14:43]/ wheezy/main amd64 Packages 500 http://ftp.de.debian.org/debian/ wheezy/main amd64 Packages root@debian:~# apt-cache policy libpcre3 libpcre3: Installed: 2:8.35-3.3+deb8u4 Candidate: 2:8.35-3.3+deb8u4 Version table: 2:8.39-2 0 350 http://ftp.de.debian.org/debian/ testing/main amd64 Packages *** 2:8.35-3.3+deb8u4 0 450 http://ftp.de.debian.org/debian/ jessie/main amd64 Packages 100 /var/lib/dpkg/status 1:8.30-5 0 500 cdrom://[Debian GNU/Linux 7.8.0 _Wheezy_ - Official amd64 DVD Binary-1 20150110-14:43]/ wheezy/main amd64 Packages 500 http://ftp.de.debian.org/debian/ wheezy/main amd64 Packages -- http://markorandjelovic.hopto.org "The only thing necessary for the triumph of evil is that good people do nothing." -- Edmund Burke