turning off trust for apt

May 24, 2011   #sysadmin 

I had the need to install packages from a repo on debian that were unsigned.  To get around this I created the file /etc/apt/apt.conf.d/00trustall add added the following:

`I had the need to install packages from a repo on debian that were unsigned.  To get around this I created the file /etc/apt/apt.conf.d/00trustall add added the following:

`

This is quite dangerous. In production environments you should be using signed repositories.

It would be nice if you could disable trust on a specific repository. This would be a false sense of security though.