Giter VIP home page Giter VIP logo

launchpad-getkeys's People

Contributors

sa1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

launchpad-getkeys's Issues

launchpad-getkeys breaks apt keys db with new GPG tools

launchpad-getkeys breaks apt keys db with new GPG tools present in Ubuntu 18.04.
New GPG tools have different default format for keyring files called
keybox. keybox is not supported by apt-key and other apt tools.
So, when older script tries to add key to /etc/apt/trusted.gpg,
after that file can not be read by apt tools and apt tools start to fail hard
(not with warnings, but with real errors and non zero return codes).
So, fix in
#3
creates keyring on side and then exports key in old fashioned
format to /etc/apt/trusted.gpg.d/
where it is picked up by apt tools normally.

Without proxy, import of keys fails on Ubuntu 18.04

Without proxy, import of keys fails on Ubuntu 18.04 with:
gpg: keyserver receive failed: IPC syntax error

See actual log below.

$ sudo launchpad-getkeys

Please wait... launchpad-getkeys is running an update so
it can detect the missing GPG keys

Trying to import all the missing keys
Executing: /tmp/apt-key-gpghome.H3AosliOXC/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --keyserver-options http-proxy= --recv-keys 0E08A149DE57BFBE
gpg: keyserver receive failed: IPC syntax error
Executing: /tmp/apt-key-gpghome.z5nl9JVhCf/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --keyserver-options http-proxy= --recv-keys 0E08A149DE57BFBE
gpg: keyserver receive failed: IPC syntax error
Executing: /tmp/apt-key-gpghome.Eoy9h0GIvD/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --keyserver-options http-proxy= --recv-keys

launchpad-getkeys has finished importing all missing GPG keys.
Try running sudo apt-get update - you shouldn't see any key
errors any more.
.............................................................
Note that launchpad-getkeys imports missing GPG keys but does
not fix broken keys.

It is visible that gpg is not able to work correctly with empty value for proxy:
--keyserver-options http-proxy=

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.