[Bug 1680261] Re: apt-secure ignoring allow-unauthenticated during apt-update

David Kalnischkies 1680261 at bugs.launchpad.net
Thu Apr 6 06:36:42 UTC 2017


Have you read apt-secure(8) manpage as the explanatory notice (N:)
attached to the *warning* message says?

It explains why you see the *warnings*, that it is the propose of the
switch to downgrade the *errors* to a *warning* (so that worked as
intended) and it mentions how to configure that in sources.list – also
hinting at "trusted".

** Changed in: apt (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1680261

Title:
  apt-secure ignoring allow-unauthenticated during apt-update

Status in apt package in Ubuntu:
  Invalid

Bug description:
  It appears apt-get update is completely ignoring the allow-
  unauthenticated switch. This initially provided a significant
  roadblock to getting the system to recognize a trusted local
  repository as most literature and posts refer to use of this switch. I
  was able to discover a workaround though the time invested was steep.
  The [trusted=yes] option in sources.list(5) functions correctly and
  will bypass this authentication check. It would be helpful at a
  minimum if the apt --allow-unauthenticated description in the apt-get
  documentation referred to sources.list(5) option trusted=yes with an
  example if this switch is being deprecated.

  Steps for Reproduction.

  Bootup 16.10 LiveCD

  Add to APT Sources
  deb file:/tmp/local/ ./

  Run the command, "apt-get --allow-unauthenticated update"

  Output as follows with no internet connection:

  https://pastebin.com/6h8tiHbN

  *Initial apt-get --allow-unauthenticated update failed due to missing release file.
  Generated generic release file to obtain the above output.

  
  "apt install" for packages included cannot find desired package.

  Local repo was set up via these instructions:
  http://askubuntu.com/questions/170348/how-to-create-a-local-apt-repository

  
  Packages.gz was generated using the below command.
  dpkg-scanpackages ./ | gzip -9c > Packages.gz

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1680261/+subscriptions



More information about the foundations-bugs mailing list