Package: sudo Version: 1.8.10p3-1 Severity: serious Hi,
actually I only wanted to check whether sudo-ldap/wheezy leaving the obsolete conffile /etc/init.d/sudo after upgrades to jessie could cause problems. (Does not look like this, but you could consider using dpkg-maintscript-helper rm_conffile /etc/init.d/sudo 1.8.10p3-2~ anyway - with appropriate versioning, of course.) The upgrade to jessie with sudo-ldap/jessie went smooth, and thereafter I wanted to switch to sudo/jessie, which failed due to missing /etc/sudoers, the problem is reproducible in plain jessie, too: # apt-get install sudo Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: sudo-ldap The following NEW packages will be installed: sudo 0 upgraded, 1 newly installed, 1 to remove and 5 not upgraded. Need to get 0 B/848 kB of archives. After this operation, 52.2 kB disk space will be freed. Do you want to continue? [Y/n] debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76, <> line 1.) debconf: falling back to frontend: Readline (Reading database ... 13871 files and directories currently installed.) Removing sudo-ldap (1.8.10p3-1) ... invoke-rc.d: policy-rc.d denied execution of stop. Selecting previously unselected package sudo. (Reading database ... 13780 files and directories currently installed.) Preparing to unpack .../sudo_1.8.10p3-1_amd64.deb ... Unpacking sudo (1.8.10p3-1) ... Setting up sudo (1.8.10p3-1) ... WARNING: /etc/sudoers not present! chown: cannot access '/etc/sudoers': No such file or directory dpkg: error processing package sudo (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: sudo E: Sub-process /usr/bin/dpkg returned an error code (1) or the other way around: # apt-get install sudo-ldap Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libffi6 libgnutls-deb0-28 libhogweed2 libldap-2.4-2 libnettle4 libp11-kit0 libsasl2-2 libsasl2-modules-db libtasn1-6 Suggested packages: gnutls-bin Recommended packages: libsasl2-modules The following packages will be REMOVED: sudo The following NEW packages will be installed: libffi6 libgnutls-deb0-28 libhogweed2 libldap-2.4-2 libnettle4 libp11-kit0 libsasl2-2 libsasl2-modules-db libtasn1-6 sudo-ldap 0 upgraded, 10 newly installed, 1 to remove and 5 not upgraded. Need to get 0 B/2409 kB of archives. After this operation, 3814 kB of additional disk space will be used. Do you want to continue? [Y/n] debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76, <> line 10.) debconf: falling back to frontend: Readline (Reading database ... 13772 files and directories currently installed.) Removing sudo (1.8.10p3-1) ... invoke-rc.d: policy-rc.d denied execution of stop. Selecting previously unselected package libnettle4:amd64. (Reading database ... 13687 files and directories currently installed.) Preparing to unpack .../libnettle4_2.7.1-5_amd64.deb ... Unpacking libnettle4:amd64 (2.7.1-5) ... Selecting previously unselected package libhogweed2:amd64. Preparing to unpack .../libhogweed2_2.7.1-5_amd64.deb ... Unpacking libhogweed2:amd64 (2.7.1-5) ... Selecting previously unselected package libffi6:amd64. Preparing to unpack .../libffi6_3.1-2+b2_amd64.deb ... Unpacking libffi6:amd64 (3.1-2+b2) ... Selecting previously unselected package libp11-kit0:amd64. Preparing to unpack .../libp11-kit0_0.20.7-1_amd64.deb ... Unpacking libp11-kit0:amd64 (0.20.7-1) ... Selecting previously unselected package libtasn1-6:amd64. Preparing to unpack .../libtasn1-6_4.2-2_amd64.deb ... Unpacking libtasn1-6:amd64 (4.2-2) ... Selecting previously unselected package libgnutls-deb0-28:amd64. Preparing to unpack .../libgnutls-deb0-28_3.3.8-5_amd64.deb ... Unpacking libgnutls-deb0-28:amd64 (3.3.8-5) ... Selecting previously unselected package libsasl2-modules-db:amd64. Preparing to unpack .../libsasl2-modules-db_2.1.26.dfsg1-12_amd64.deb ... Unpacking libsasl2-modules-db:amd64 (2.1.26.dfsg1-12) ... Selecting previously unselected package libsasl2-2:amd64. Preparing to unpack .../libsasl2-2_2.1.26.dfsg1-12_amd64.deb ... Unpacking libsasl2-2:amd64 (2.1.26.dfsg1-12) ... Selecting previously unselected package libldap-2.4-2:amd64. Preparing to unpack .../libldap-2.4-2_2.4.40-3_amd64.deb ... Unpacking libldap-2.4-2:amd64 (2.4.40-3) ... Selecting previously unselected package sudo-ldap. Preparing to unpack .../sudo-ldap_1.8.10p3-1_amd64.deb ... Unpacking sudo-ldap (1.8.10p3-1) ... Setting up libnettle4:amd64 (2.7.1-5) ... Setting up libhogweed2:amd64 (2.7.1-5) ... Setting up libffi6:amd64 (3.1-2+b2) ... Setting up libp11-kit0:amd64 (0.20.7-1) ... Setting up libtasn1-6:amd64 (4.2-2) ... Setting up libgnutls-deb0-28:amd64 (3.3.8-5) ... Setting up libsasl2-modules-db:amd64 (2.1.26.dfsg1-12) ... Setting up libsasl2-2:amd64 (2.1.26.dfsg1-12) ... Setting up libldap-2.4-2:amd64 (2.4.40-3) ... Setting up sudo-ldap (1.8.10p3-1) ... WARNING: /etc/sudoers not present! chown: cannot access '/etc/sudoers': No such file or directory dpkg: error processing package sudo-ldap (--configure): subprocess installed post-installation script returned error exit status 1 Processing triggers for libc-bin (2.19-13) ... Errors were encountered while processing: sudo-ldap E: Sub-process /usr/bin/dpkg returned an error code (1) Andreas -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org