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


Groups > linux.debian.bugs.dist > #1134386 > unrolled thread

Bug#1029441: usbauth-notifier: Missing Pre-Depends: adduser

Started byAdrian Bunk <bunk@debian.org>
First post2023-01-22 17:50 +0100
Last post2023-02-19 04:20 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.debian.bugs.dist


Contents

  Bug#1029441: usbauth-notifier: Missing Pre-Depends: adduser Adrian Bunk <bunk@debian.org> - 2023-01-22 17:50 +0100
    Bug#1029441: usbauth-notifier: diff for NMU version 1.0.4-2.1 Kun-Hung Tsai(蔡昆宏) <moonape1226@gmail.com> - 2023-02-19 04:20 +0100

#1134386 — Bug#1029441: usbauth-notifier: Missing Pre-Depends: adduser

FromAdrian Bunk <bunk@debian.org>
Date2023-01-22 17:50 +0100
SubjectBug#1029441: usbauth-notifier: Missing Pre-Depends: adduser
Message-ID<FQLHz-nCo-29@gated-at.bofh.it>
Package: usbauth-notifier
Version: 1.0.4-1
Severity: serious
Tags: bookworm sid

https://piuparts.debian.org/sid/fail/usbauth-notifier_1.0.4-2.log

...
  Preparing to unpack .../17-usbauth-notifier_1.0.4-2_amd64.deb ...
  /var/lib/dpkg/tmp.ci/preinst: 9: addgroup: not found
  /var/lib/dpkg/tmp.ci/preinst: 13: addgroup: not found
  Unpacking usbauth-notifier (1.0.4-2) ...
...
  Setting up usbauth-notifier (1.0.4-2) ...
  chown: invalid group: 'root:usbauth'
  dpkg: error processing package usbauth-notifier (--configure):
   installed usbauth-notifier package post-installation script subprocess returned error exit status 1
  Processing triggers for libc-bin (2.36-8) ...
  Errors were encountered while processing:
   usbauth-notifier
  E: Sub-process /usr/bin/dpkg returned an error code (1)



Some remarks regarding this package:

1. Why is there a Pre-Depends: debconf and debconf handling in maintainer
   scripts even though it does not seem to actually use debconf?
   After a quick look it looks to me as if all this can be removed.

2. Why is the addgroup in the preinst and not in the postinst?
   Moving it to the postinst would require only a normal Depends
   (not a Pre-Depends) on adduser.

3. When the addgroup fails there should not be a || true to proceed
   anyway since it will fail later like in this case.

[toc] | [next] | [standalone]


#1138382 — Bug#1029441: usbauth-notifier: diff for NMU version 1.0.4-2.1

FromKun-Hung Tsai(蔡昆宏) <moonape1226@gmail.com>
Date2023-02-19 04:20 +0100
SubjectBug#1029441: usbauth-notifier: diff for NMU version 1.0.4-2.1
Message-ID<G0Ip3-6V0y-3@gated-at.bofh.it>
In reply to#1134386

[Multipart message — attachments visible in raw view] — view raw

Hi Adrian,

Sorry I have been busy lately and thank you so much for taking care of this
bug.
The diff looks good to me!

Kun-Hung

Adrian Bunk <bunk@debian.org> 於 2023年2月19日 週日 上午6:51寫道:

> Control: tags 1029441 + patch
> Control: tags 1029441 + pending
>
> Dear maintainer,
>
> I've prepared an NMU for usbauth-notifier (versioned as 1.0.4-2.1) and
> uploaded it to DELAYED/7. Please feel free to tell me if I should cancel
> it.
>
> cu
> Adrian
>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web