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?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to