In RedHat or SUSE there is the option to enable or disable gpgcheck per repository name in the repo file.

Is there such an option in Ubuntu / Debian

  • I want some repository to be checked and others not to.
  • I know there is a way to ignore all but this question is exactly on how to ignore specific repositories while allow others
  • The main goal is to run apt-get update and have only the one I've marked to check checked automatically
  • 3
    Possible duplicate of How do I bypass/ignore the gpg signature checks of apt? – muru Jun 16 '16 at 9:29
  • 2
    probably combined with askubuntu.com/questions/65245/… – muru Jun 16 '16 at 9:30
  • sorry but this is not a duplicated. i do not want to create a special script that workaround it. just add is in the /etc/dpkg/dpkg.cfg or something like that. and to be honest i don't understand why i don't have that option in the source.list where i defined my repository i the first plate. – Asaf Magen Jun 19 '16 at 9:05
  • 2
    file a feature request – muru Jun 19 '16 at 9:19
  • 2
    This is simply not how apt works, read for example wiki.debian.org/SecureApt . It is not hard to sign a repository, and if the repository is not trusted it throws a warning (not an error). But I really do not see any situation in which one would like to suppress these warnings... – dadexix86 Jun 19 '16 at 9:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.