[Pkg-utopia-maintainers] Bug#727057: Bug#727057: network-manager: Fails to install if netdev group already exists

Michael Biebl biebl at debian.org
Mon Oct 21 22:05:15 UTC 2013


Am 21.10.2013 23:51, schrieb Andrew Ruthven:
> Package: network-manager
> Version: 0.9.8.0-5
> Severity: normal
> 
> Dear Maintainer,
> 
> While upgrade my Sid box, network-manager failed to install cause the postinst
> exited as the netdev group already exists, causing the addgroup command
> to fail.
> 
> The addgroup should probably use a construct similar to this:
> 
>         if ! getent group netdev >/dev/null
>         then
>             addgroup --quiet --system netdev        
>         fi

This getent check is not necessary:
# addgroup --system netdev
addgroup: The group `netdev' already exists as a system group. Exiting.
# echo $?
0

If addgroup fails for you, please file a bug against adduser.



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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20131022/97a31135/attachment.sig>


More information about the Pkg-utopia-maintainers mailing list