Use apenas o comando apt-get source
sem sudo
prefix; ele irá gravar no diretório atual.
O aviso foi reformulado após Relatório de erros: não é possível eliminar privilégios ao executar o apt-get source como root | Logs de relatórios de erros do Debian (e dezenas de outros relatórios do mesmo recurso)
% bl0ck_qu0te%O aviso foi reformulado:
Note: This is a warning about disabling a security feature. It is
supposed to be scary as we are disabling a security feature and we
can't just be silent about it! Downloads really shouldn't happen
any longer as root to decrease the attack surface – but if a warning
causes that much uproar, consider what an error would do…
The old WARNING message:
| W: Can't drop privileges for downloading as file 'foobar' couldn't be
| accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
is frequently (incorrectly) considered to be an error message indicating
that the download didn't happen which isn't the case, it was performed,
but without all the security features enabled we could have used if run
from some other place…