Bug#762275: Solution

2014-09-27 Thread Michal Sojka
Hi,

I also have the same (or similar) problem. This is what I found. The
solution that worked for me is at the end of the mail.

# dpkg -i /var/cache/apt/archives/systemd_215-4_amd64.deb
(Reading database ... 729731 files and directories currently installed.)
Preparing to unpack .../systemd_215-4_amd64.deb ...
Unpacking systemd (215-4) over (215-4) ...
Setting up systemd (215-4) ...
dpkg: error processing package systemd (--install):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for dbus (1.8.6-2) ...
Processing triggers for man-db (2.6.7.1-1) ...
Errors were encountered while processing:
 systemd

# dpkg -i -D2 /var/cache/apt/archives/systemd_215-4_amd64.deb
(Reading database ... 729731 files and directories currently installed.)
Preparing to unpack .../systemd_215-4_amd64.deb ...
D02: fork/exec /var/lib/dpkg/info/systemd.prerm ( upgrade 215-4 )
D02: fork/exec /var/lib/dpkg/tmp.ci/preinst ( upgrade 215-4 )
Unpacking systemd (215-4) over (215-4) ...
D02: fork/exec /var/lib/dpkg/info/systemd.postrm ( upgrade 215-4 )
D02: process_archive info installed /var/lib/dpkg/tmp.ci/postinst as 
/var/lib/dpkg/info/systemd.postinst
D02: process_archive info installed /var/lib/dpkg/tmp.ci/md5sums as 
/var/lib/dpkg/info/systemd.md5sums
D02: process_archive info installed /var/lib/dpkg/tmp.ci/conffiles as 
/var/lib/dpkg/info/systemd.conffiles
D02: process_archive info installed /var/lib/dpkg/tmp.ci/triggers as 
/var/lib/dpkg/info/systemd.triggers
D02: process_archive info installed /var/lib/dpkg/tmp.ci/preinst as 
/var/lib/dpkg/info/systemd.preinst
D02: process_archive info installed /var/lib/dpkg/tmp.ci/prerm as 
/var/lib/dpkg/info/systemd.prerm
D02: process_archive info installed /var/lib/dpkg/tmp.ci/postrm as 
/var/lib/dpkg/info/systemd.postrm
D02: process_archive tmp.ci script/file '..' contains dot
D02: process_archive tmp.ci script/file '/var/lib/dpkg/tmp.ci/control' is 
control
D02: process_archive tmp.ci script/file '.' contains dot
Setting up systemd (215-4) ...
D02: fork/exec /var/lib/dpkg/info/systemd.postinst ( configure 208-8 )
dpkg: error processing package systemd (--install):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for dbus (1.8.6-2) ...
D02: fork/exec /var/lib/dpkg/info/dbus.postinst ( triggered 
/usr/share/dbus-1/system-services /etc/dbus-1/system.d )
Processing triggers for man-db (2.6.7.1-1) ...
D02: fork/exec /var/lib/dpkg/info/man-db.postinst ( triggered 
/usr/share/man )
Errors were encountered while processing:
 systemd

# sh -x /var/lib/dpkg/info/systemd.postinst configure 208-8
+ set -e
+ [ configure = triggered ]
+ dpkg --compare-versions 208-8 lt 214-1
+ systemctl enable getty@tty1.service
+ systemctl enable remote-fs.target
+ dpkg --compare-versions 208-8 lt 204-1
+ dpkg --compare-versions 208-8 lt 33-1
+ dpkg --compare-versions 208-8 lt 204-9
+ dpkg --compare-versions 208-8 lt 204-8
+ dpkg --compare-versions 208-8 lt 40-1
+ systemd-machine-id-setup
+ addgroup --quiet --system systemd-journal

After running 'delgroup systemd-journal', it was possible install the
package.

-Michal


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#762275: Solution

2014-09-27 Thread Michael Biebl
Am 27.09.2014 um 13:08 schrieb Michal Sojka:

 + addgroup --quiet --system systemd-journal
 
 After running 'delgroup systemd-journal', it was possible install the
 package.

With the amount of information from the original bug submitter, it's
hard to tell if this is the same issue as yours.

In your case, you apparently had an existing systemd-journal group,
which was not a system group, so addgroup errors out.

This is not a bug in the Debian package. Most likely you had created
that group yourself in the past.

Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Bug#762275: Solution

2014-09-27 Thread Michal Sojka
On Sat, Sep 27 2014, Michael Biebl wrote:
 Am 27.09.2014 um 13:08 schrieb Michal Sojka:

 + addgroup --quiet --system systemd-journal
 
 After running 'delgroup systemd-journal', it was possible install the
 package.

 With the amount of information from the original bug submitter, it's
 hard to tell if this is the same issue as yours.

 In your case, you apparently had an existing systemd-journal group,
 which was not a system group, so addgroup errors out.

 This is not a bug in the Debian package. Most likely you had created
 that group yourself in the past.

Yes, that's right. It's a annoying that --quiet suppress the error
message in this case.

-Michal


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#762275: Solution

2014-09-27 Thread Michael Biebl
Am 27.09.2014 um 15:09 schrieb Michal Sojka:
 Yes, that's right. It's a annoying that --quiet suppress the error
 message in this case.

Agreed. I think quiet should suppress non-fatal warnings/errors only,
but not messages which will cause it to exit with non-zero return code.

We added --quiet only because users were concerned / confused when they
saw messages as reported in #759175, which are non-fatal.

Michal, do you mind filing a bug report against adduser?
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Bug#762275: Solution

2014-09-27 Thread Michael Biebl
Am 27.09.2014 um 15:58 schrieb Michael Biebl:
 Am 27.09.2014 um 15:09 schrieb Michal Sojka:
 Yes, that's right. It's a annoying that --quiet suppress the error
 message in this case.
 
 Agreed. I think quiet should suppress non-fatal warnings/errors only,
 but not messages which will cause it to exit with non-zero return code.
 
 We added --quiet only because users were concerned / confused when they
 saw messages as reported in #759175, which are non-fatal.
 
 Michal, do you mind filing a bug report against adduser?

Especially since man adduser(8) has:

--quiet
   Suppress informational messages, only show warnings and errors.

So that clearly sounds like a bug.

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Bug#762275: Solution

2014-09-27 Thread Michal Sojka
On Sat, Sep 27 2014, Michael Biebl wrote:
 Am 27.09.2014 um 15:09 schrieb Michal Sojka:
 Yes, that's right. It's a annoying that --quiet suppress the error
 message in this case.

 Agreed. I think quiet should suppress non-fatal warnings/errors only,
 but not messages which will cause it to exit with non-zero return code.

 We added --quiet only because users were concerned / confused when they
 saw messages as reported in #759175, which are non-fatal.

 Michal, do you mind filing a bug report against adduser?

No problem, it's at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=763055

-Michal


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org