#14 error while apt-get install: "... -y was used without --allow-unauthenticated"

1.0
closed
nobody
None
2019-04-08
2019-04-03
No

Error from apt-get
E: There were unauthenticated packages and -y was used without --allow-unauthenticated

missing "--allow-unauthenticated" in case of "-y" at all
"apt-get install --allow-unauthenticated -y ..."

Discussion

  • erichspitzweg - 2019-04-03

    Wharfile is pretty simple:

    FROM debian_i386_stretch

    ENV ADDITIONAL_TOOLCHAIN_PACKAGES libstdc++-6-dev g++

    TOOLCHAIN toolchain_debian_i386_stretch.tar
    LICENSE licenses_debian_i386_stretch.tar
    SOURCE sources_debian_i386_stretch.tar

     
  • Ingo

    Ingo - 2019-04-05

    Sounds strange. Those are all native Debian packages. So IMHO there should be no PGP error. I think we need to find out which package it was, and why it failed.

    The parameter would be just a dirty hack.

     
  • Ingo

    Ingo - 2019-04-08

    Seems, like the package list was outdated. Now I issue an apt-get update before fetching the source packages. This makes fully sense, as source packages are not available in all versions. So if the system is not up-to-date, we have no chance to get the correct version of the source packages for our system.

     
  • Ingo

    Ingo - 2019-04-08
    • status: open --> closed
     

Log in to post a comment.