> I am trying to make Debian comply to GNU/Linux by removing some programs
> like "apt purge $(dpkg -l | grep contrib | awk '{print$2}').
>
> It removes LibreOffice, Is libreoffice non GNU/Linux compliant ?
Did you look at
dpkg -l | grep contrib
to check that your command did what you intended?
> I just have main on my repo. any other advice for making Debian
> GNU/compliant.
If you have only `main` in your repo, then you're about as close to "GNU
compliant" as can be attained with reasonable effort (the vast majority
of packages that aren't "GNU compliant" are in the `contrib` repo, but
if you don't have it enabled, then there's no reason to think you'd have
any of its packages installed, AFAIK).
To get closer, as others said, you'll need something like Trisquel.
=== Stefan