[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: determining package creating group



Joe Pfeiffer wrote:
> Due to some NIS misconfiguration (now fixed), I'm missing some groups
> (notably netdev and bluetooth) on one of my machines.  Is there a way to
> determine which packages create those groups, so I can reinstall the
> packages?

I would grep through the postinst scripts for packages that create
those groups.  On my machine:

  $ cd /var/lib/dpkg/info

  $ find . -name '*.postinst' -exec grep -l -e netdev -e bluetooth {} +
  ./avahi-daemon.postinst
  ./gnome-bluetooth.postinst
  ./bluez.postinst
  ./wpasupplicant.postinst

Bob

Attachment: signature.asc
Description: Digital signature


Reply to: