[Touch-packages] [Bug 1634464] Re: cloudimg apt missing dirmngr

2016-10-19 Thread Alan Franzoni
I would add: the current Ubuntu help page (yes, it's a community one,
but nothing official exists AFAIK) for SecureApt, as well as the Debian
one, advertise a gpg feature which doesn't work anymore in Yakkety:

https://help.ubuntu.com/community/SecureApt
https://wiki.debian.org/SecureApt

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1634464

Title:
  cloudimg apt missing dirmngr

Status in apt package in Ubuntu:
  Invalid

Bug description:
  apt-key adv --keyserver keyserver.ubuntu.com --recv 
9FD3B784BC1C6FC31A8A0A1C1655A0AB68576280
  Warning: apt-key output should not be parsed (stdout is not a terminal)
  Executing: /tmp/tmp.Qv81Vl3Idi/gpg.1.sh --keyserver keyserver.ubuntu.com 
--recv 9FD3B784BC1C6FC31A8A0A1C1655A0AB68576280
  gpg: failed to start the dirmngr '/usr/bin/dirmngr': No such file or directory
  gpg: connecting dirmngr at '/tmp/tmp.Qv81Vl3Idi/S.dirmngr' failed: No such 
file or directory
  gpg: keyserver receive failed: No dirmngr

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1634464] Re: cloudimg apt missing dirmngr

2016-10-19 Thread Alan Franzoni
Hello Julian,
some notes on your answer.

"If you want to use optional (deprecated) features of apt-key like adv"
->

How could I tell that "apt-key adv" is deprecated? Neither the man page
nor the command says that adv is deprecated, and I couldn't find
anything related in the first Google search result.

"like almost everything else" -> what are you referring to? apt-key
itself is deprecated? Why this is not written in the man page or in the
output?

Also, apt-key manpage only tells the user about the need of installing
gnupg manually if the advanced options are required - dirmngr is not
mentioned ANYWHERE.

So:
- I'm using a pattern that I've been using, successfully, for years on Ubuntu 
and Debian distros;
- apt-key is installed;
- gnupg is installed;
- there's no other documentation about that anywhere (release notes? 
https://wiki.ubuntu.com/YakketyYak/ReleaseNotes )


OF COURSE as a user I think there's a yakkety bug. And, I might say, this is an 
example of a bad migration path; if I perform this command on Xenial


$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 
A1D267C030C00DCB877900ED939C61C5D1270819
[sudo] password for alan: 
Executing: /tmp/tmp.FAWWu2wvKx/gpg.1.sh --keyserver
keyserver.ubuntu.com
--recv
A1D267C030C00DCB877900ED939C61C5D1270819
gpg: requesting key D1270819 from hkp server keyserver.ubuntu.com
gpg: key D1270819: "Alan Franzoni (automated signing key) 
" not changed
gpg: Total number processed: 1
gpg:  unchanged: 1


I should AT LEAST receive a "pending deprecation" warning. On the
contrary, it works 100% and gives me absolutely no clue on the fact I'm
doing something wrong.

That's not the way to go.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1634464

Title:
  cloudimg apt missing dirmngr

Status in apt package in Ubuntu:
  Invalid

Bug description:
  apt-key adv --keyserver keyserver.ubuntu.com --recv 
9FD3B784BC1C6FC31A8A0A1C1655A0AB68576280
  Warning: apt-key output should not be parsed (stdout is not a terminal)
  Executing: /tmp/tmp.Qv81Vl3Idi/gpg.1.sh --keyserver keyserver.ubuntu.com 
--recv 9FD3B784BC1C6FC31A8A0A1C1655A0AB68576280
  gpg: failed to start the dirmngr '/usr/bin/dirmngr': No such file or directory
  gpg: connecting dirmngr at '/tmp/tmp.Qv81Vl3Idi/S.dirmngr' failed: No such 
file or directory
  gpg: keyserver receive failed: No dirmngr

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1634464] Re: cloudimg apt missing dirmngr

2016-10-18 Thread graingert
@juliank apt-key adv is not deprecated. Maybe it should be marked as
deprecated.

> Drop files in trusted.gpg.d instead.

can the man page for apt-key include how to do this?

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1634464

Title:
  cloudimg apt missing dirmngr

Status in apt package in Ubuntu:
  Invalid

Bug description:
  apt-key adv --keyserver keyserver.ubuntu.com --recv 
9FD3B784BC1C6FC31A8A0A1C1655A0AB68576280
  Warning: apt-key output should not be parsed (stdout is not a terminal)
  Executing: /tmp/tmp.Qv81Vl3Idi/gpg.1.sh --keyserver keyserver.ubuntu.com 
--recv 9FD3B784BC1C6FC31A8A0A1C1655A0AB68576280
  gpg: failed to start the dirmngr '/usr/bin/dirmngr': No such file or directory
  gpg: connecting dirmngr at '/tmp/tmp.Qv81Vl3Idi/S.dirmngr' failed: No such 
file or directory
  gpg: keyserver receive failed: No dirmngr

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1634464] Re: cloudimg apt missing dirmngr

2016-10-18 Thread Julian Andres Klode
APT recommends gnupg, and gnupg recommends dirmngr, so all is working as
intended. If you want to use optional (deprecated) features of apt-key
like adv, you have to manually install gnupg. If you want to use
optional features depending on key servers, you have to install dirmngr
manually.

The adv option is deprecated, like almost everything else. Drop files in
trusted.gpg.d instead. The recommends on gnupg will be downgraded to a
suggests at a later point.

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

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1634464

Title:
  cloudimg apt missing dirmngr

Status in apt package in Ubuntu:
  Invalid

Bug description:
  apt-key adv --keyserver keyserver.ubuntu.com --recv 
9FD3B784BC1C6FC31A8A0A1C1655A0AB68576280
  Warning: apt-key output should not be parsed (stdout is not a terminal)
  Executing: /tmp/tmp.Qv81Vl3Idi/gpg.1.sh --keyserver keyserver.ubuntu.com 
--recv 9FD3B784BC1C6FC31A8A0A1C1655A0AB68576280
  gpg: failed to start the dirmngr '/usr/bin/dirmngr': No such file or directory
  gpg: connecting dirmngr at '/tmp/tmp.Qv81Vl3Idi/S.dirmngr' failed: No such 
file or directory
  gpg: keyserver receive failed: No dirmngr

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp