[Bug 1754075] Re: apt-setup uses apt-key but probably should not anymore
** Changed in: apt-setup (Debian) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754075 Title: apt-setup uses apt-key but probably should not anymore To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-setup/+bug/1754075/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1754075] Re: apt-setup uses apt-key but probably should not anymore
This bug was fixed in the package apt-setup - 1:0.104ubuntu5.1 --- apt-setup (1:0.104ubuntu5.1) bionic; urgency=medium * Replace apt-key call by direct inclusion of trusted.gpg.d snippets. LP: #1754075 -- Julian Andres Klode Fri, 17 May 2019 13:36:02 +0200 ** Changed in: apt-setup (Ubuntu Bionic) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754075 Title: apt-setup uses apt-key but probably should not anymore To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-setup/+bug/1754075/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1754075] Re: apt-setup uses apt-key but probably should not anymore
I installed Ubuntu once with release apt-setup (ubuntu5) and once with proposed (ubuntu5.1). With release, the generator failed; with the proposed update the repository configured in preseed was correctly added. The preseed I used was: d-i apt-setup/local0/repository string deb http://ppa.launchpad.net/juliank/gnu-efi-arm64/ubuntu bionic main d-i apt-setup/local0/comment string ppa d-i apt-setup/local0/key string http://keyserver.ubuntu.com:11371/pks/lookup?op=get&search=0x58DA648C2EE026D694B000390BCE6604F83DC0AD ** Tags removed: verification-needed verification-needed-bionic ** Tags added: verification-done verification-done-bionic -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754075 Title: apt-setup uses apt-key but probably should not anymore To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-setup/+bug/1754075/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1754075] Re: apt-setup uses apt-key but probably should not anymore
Hello Manoj, or anyone else affected, Accepted apt-setup into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/apt- setup/1:0.104ubuntu5.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping! N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days. ** Changed in: apt-setup (Ubuntu Bionic) Status: Confirmed => Fix Committed ** Tags added: verification-needed verification-needed-bionic -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754075 Title: apt-setup uses apt-key but probably should not anymore To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-setup/+bug/1754075/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1754075] Re: apt-setup uses apt-key but probably should not anymore
** Description changed: + [Impact] + Adding key via apt-setup does not work + + [Test case] + Add key via apt-setup, make sure it's installed correctly + + [Regression potential] + If gnupg2 was installed before apt-setup is run, the code would work, and now behave differently installing keys into trusted.gpg.d instead of trusted.gpg. + + [Original bug report] In di if the kernel is in a private PPA we seed di using d-i apt-setup/local0/key string http://keyserver.ubuntu.com:11371/pks/lookup?op=get&search= this used to work in xenial, but in bionic this fails and therefore apt update fails in base-installer. May be because add-apt-key is not installed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754075 Title: apt-setup uses apt-key but probably should not anymore To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-setup/+bug/1754075/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1754075] Re: apt-setup uses apt-key but probably should not anymore
This bug was fixed in the package apt-setup - 1:0.141ubuntu3 --- apt-setup (1:0.141ubuntu3) eoan; urgency=medium * Replace apt-key call by direct inclusion of trusted.gpg.d snippets. LP: #1754075 -- Dimitri John Ledkov Wed, 08 May 2019 14:40:39 +0100 ** Changed in: apt-setup (Ubuntu) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754075 Title: apt-setup uses apt-key but probably should not anymore To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-setup/+bug/1754075/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1754075] Re: apt-setup uses apt-key but probably should not anymore
** Tags added: bionic -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754075 Title: apt-setup uses apt-key but probably should not anymore To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-setup/+bug/1754075/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1754075] Re: apt-setup uses apt-key but probably should not anymore
** Changed in: apt-setup (Ubuntu) Assignee: Balint Reczey (rbalint) => Dimitri John Ledkov (xnox) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754075 Title: apt-setup uses apt-key but probably should not anymore To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-setup/+bug/1754075/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1754075] Re: apt-setup uses apt-key but probably should not anymore
** Changed in: apt-setup (Ubuntu) Assignee: Dimitri John Ledkov (xnox) => Balint Reczey (rbalint) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754075 Title: apt-setup uses apt-key but probably should not anymore To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-setup/+bug/1754075/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1754075] Re: apt-setup uses apt-key but probably should not anymore
We are working to deploy Ubuntu18 using PXE to a bunch of computers and would love to see this problem solved. It seems that there is a viable patch for this bug. Is there an estimated timeframe to solve it? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754075 Title: apt-setup uses apt-key but probably should not anymore To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-setup/+bug/1754075/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1754075] Re: apt-setup uses apt-key but probably should not anymore
Same problem here. We are using a preseed with two local repos for or own packages and we cant use local0 and local1 due to the problem with keys. Using the late_command is an option, but makes our installation slower. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754075 Title: apt-setup uses apt-key but probably should not anymore To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-setup/+bug/1754075/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1754075] Re: apt-setup uses apt-key but probably should not anymore
** No longer affects: gnupg (Ubuntu) ** No longer affects: gnupg (Ubuntu Bionic) ** No longer affects: gnupg2 (Ubuntu Bionic) ** No longer affects: gnupg2 (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754075 Title: apt-setup uses apt-key but probably should not anymore To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-setup/+bug/1754075/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1754075] Re: apt-setup uses apt-key but probably should not anymore
** Changed in: apt-setup (Ubuntu Bionic) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754075 Title: apt-setup uses apt-key but probably should not anymore To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-setup/+bug/1754075/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1754075] Re: apt-setup uses apt-key but probably should not anymore
** Changed in: apt-setup (Debian) Status: Unknown => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754075 Title: apt-setup uses apt-key but probably should not anymore To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-setup/+bug/1754075/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1754075] Re: apt-setup uses apt-key but probably should not anymore
** Bug watch removed: Debian Bug tracker #886473 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=886473 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754075 Title: apt-setup uses apt-key but probably should not anymore To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-setup/+bug/1754075/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1754075] Re: apt-setup uses apt-key but probably should not anymore
** Also affects: apt-setup (Debian) via https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=851774 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754075 Title: apt-setup uses apt-key but probably should not anymore To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-setup/+bug/1754075/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1754075] Re: apt-setup uses apt-key but probably should not anymore
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: gnupg (Ubuntu Bionic) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754075 Title: apt-setup uses apt-key but probably should not anymore To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-setup/+bug/1754075/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1754075] Re: apt-setup uses apt-key but probably should not anymore
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: apt-setup (Ubuntu Bionic) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754075 Title: apt-setup uses apt-key but probably should not anymore To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-setup/+bug/1754075/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1754075] Re: apt-setup uses apt-key but probably should not anymore
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: gnupg2 (Ubuntu Bionic) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754075 Title: apt-setup uses apt-key but probably should not anymore To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-setup/+bug/1754075/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1754075] Re: apt-setup uses apt-key but probably should not anymore
>From the apt side: The patch in #12 looks correct - we want people to put the keys in trusted.gpg.d like this. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754075 Title: apt-setup uses apt-key but probably should not anymore To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-setup/+bug/1754075/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1754075] Re: apt-setup uses apt-key but probably should not anymore
** Also affects: gnupg (Ubuntu Bionic) Importance: Undecided Status: New ** Also affects: gnupg2 (Ubuntu Bionic) Importance: Undecided Status: New ** Also affects: apt-setup (Ubuntu Bionic) Importance: Undecided Status: New ** Tags removed: rls-bb-incoming -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754075 Title: apt-setup uses apt-key but probably should not anymore To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-setup/+bug/1754075/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1754075] Re: apt-setup uses apt-key but probably should not anymore
** Tags added: id-5c4b9a39fe71d33a8db94ec3 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754075 Title: apt-setup uses apt-key but probably should not anymore To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-setup/+bug/1754075/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1754075] Re: apt-setup uses apt-key but probably should not anymore
** Tags added: rls-bb-incoming -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754075 Title: apt-setup uses apt-key but probably should not anymore To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-setup/+bug/1754075/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1754075] Re: apt-setup uses apt-key but probably should not anymore
I too used the workaround: d-i preseed/late_command string \ in-target wget -q -O /etc/apt/trusted.gpg.d/repo_key.asc http://our.repo/repo_key.asc ; \ We mirror the repositories we offer to our clients, so they can keep doing their stuff in case the intarwebz is inaccessible. None of those repo keys can be added the normal preseed way: d-i apt-setup/local0/key string http://our.repo/repo_key.asc I can add the repo this way, just not the key. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754075 Title: apt-setup uses apt-key but probably should not anymore To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-setup/+bug/1754075/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1754075] Re: apt-setup uses apt-key but probably should not anymore
I've just been bitten by this bug while upgrading our business PXE/preseed installations from Xenial to Bionic. We use an internal private repository for company specific packages. I'm unable to get the apt key installed with the preseed, so nothing works. I'm going to attempt the workaround mentioned above. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754075 Title: apt-setup uses apt-key but probably should not anymore To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-setup/+bug/1754075/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1754075] Re: apt-setup uses apt-key but probably should not anymore
Easy workaround which does not require another apt-setup.udeb: d-i preseed/late_commandstring \ in-target wget -q -O /etc/apt/trusted.gpg.d/bla.asc http://bla.de/bla.asc ; \ in-target sed -i '/keyword to uncomment specific line in file/s/^# *//' /etc/apt/sources.list ; \ in-target apt-get update ; \ in-target apt-get -y install packages to install ; -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754075 Title: apt-setup uses apt-key but probably should not anymore To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-setup/+bug/1754075/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1754075] Re: apt-setup uses apt-key but probably should not anymore
I guess every sysadmin installing an agent-based configuration management system via di will experience this problem, too. Funny how there was no progress on this in half a year. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754075 Title: apt-setup uses apt-key but probably should not anymore To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-setup/+bug/1754075/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1754075] Re: apt-setup uses apt-key but probably should not anymore
Any progress on this? This is a serious regression for us which makes preseed substantially less functional in bionic... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754075 Title: apt-setup uses apt-key but probably should not anymore To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-setup/+bug/1754075/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1754075] Re: apt-setup uses apt-key but probably should not anymore
Of course only if they're inheriting special repositories this way. But the bugs referenced here IMHO are showing lot's of examples representing different reasons and ways to do this. ;-) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754075 Title: apt-setup uses apt-key but probably should not anymore To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-setup/+bug/1754075/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1754075] Re: apt-setup uses apt-key but probably should not anymore
Hello again, I don't really have an opinion if this should be solved by - changing the priority of gnupg or gnupg2 (if that wasn't only another unrelated side effect of the change described in Comment #7) - adding a dependency to gnupg2 | gnupg to apt-setup-udeb if that would be possible. - using the patch from Comment #12 As far as I can see there was no progress in the upstream bug ( https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=851774 ), yet. But they're not releasing on April 26th 2018. ;-) This might be a bug affecting only advanced admins using depoyment via preseed, but it will IMHO affect everyone of them. If they haven't deactivated key verification at all. ;-) Kind regards Lars -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754075 Title: apt-setup uses apt-key but probably should not anymore To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-setup/+bug/1754075/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1754075] Re: apt-setup uses apt-key but probably should not anymore
Hello, Bug #1761030 indeed describes the same issues. I've also a modified udeb in use, now. And it's working for me, but the setup is almost the same. d-i apt-setup/local0/source boolean false d-i apt-setup/local0/key string http://software.ubuntu.man-da.de/software/key.gpg d-i apt-setup/local0/repository string deb http://software.ubuntu.man-da.de/software bionic extras d-i apt-setup/local0/comment string local server After the installation completed the key was in /etc/apt/trusted.gpg.d/local_server.asc since our internal repository key was also ASCII-Armored. But I used the overlay_host configuration to get the udeb in: apt-mirror-setupapt-setup/overlay_host string software.ubuntu.man-da.de apt-mirror-setupapt-setup/overlay_directory string /software/ apt-mirror-setupapt-setup/overlay boolean true The repository key was also integrated into our modified initrd to get this working, but this alone didn't resolve the issues. With the patched udeb in http://software.ubuntu.man-da.de/software/dists/bionic/main /debian-installer/binary-amd64/Packages it works for me. Kind regards Lars -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754075 Title: apt-setup uses apt-key but probably should not anymore To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-setup/+bug/1754075/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1754075] Re: apt-setup uses apt-key but probably should not anymore
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: gnupg2 (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754075 Title: apt-setup uses apt-key but probably should not anymore To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-setup/+bug/1754075/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1754075] Re: apt-setup uses apt-key but probably should not anymore
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: gnupg (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754075 Title: apt-setup uses apt-key but probably should not anymore To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-setup/+bug/1754075/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1754075] Re: apt-setup uses apt-key but probably should not anymore
Hello, I have build locally an updated apt-setup.udeb with the patch from #12 and it works for me. Installation of the rebuild udeb is a bit hacky via early_command: d-i preseed/early_command string wget -q -O /tmp/apt-setup.udeb http:///apt-setup-udeb_0.104ubuntu5_amd64.udeb; udpkg -i /tmp/apt-setup.udeb I have used a preseed file, which contains 2 local repositories: # Ubuntu DESY Repository d-i apt-setup/local0/repository string \ deb http:///extra/desy/ bionic desy d-i apt-setup/local0/source boolean false d-i apt-setup/local0/comment string desy d-i apt-setup/local0/key string http:///extra/desy/DESY-Debian-key.asc # Puppet PC1 d-i apt-setup/local1/repository string \ deb http:///extra/puppet.apt.timeline/current/ bionic PC1 d-i apt-setup/local1/source boolean false d-i apt-setup/local1/comment string puppetlabs d-i apt-setup/local1/key string http:///extra/puppet.apt.timeline/current/pubkey.gpg The updated udeb downloads the keys and copies them to /target/etc/apt/trusted/gpg.d: ~ # ls -la /target/etc/apt/trusted.gpg.d/ drwxr-xr-x2 root root 4096 Apr 11 20:32 . drwxr-xr-x6 root root 4096 Apr 11 20:32 .. -rw-r--r--1 root root 971 Feb 25 2015 desy.asc -rw-r--r--1 root root 3139 Feb 22 23:34 puppetlabs.asc -rw-r--r--1 root root 2796 Feb 6 17:15 ubuntu-keyring-2012-archive.gpg -rw-r--r--1 root root 2794 Feb 6 17:15 ubuntu-keyring-2012-cdimage.gpg Additionally, detection of non-binary format for the puppetlabs key worked as well, as it now contains the .asc extension. Side remark, a similar bug entry exists for debian-installer on launchpad as well: https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1761030 Regards, Stefan -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754075 Title: apt-setup uses apt-key but probably should not anymore To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-setup/+bug/1754075/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1754075] Re: apt-setup uses apt-key but probably should not anymore
The attachment "replace_apt_key_add.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team. [This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.] ** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754075 Title: apt-setup uses apt-key but probably should not anymore To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-setup/+bug/1754075/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1754075] Re: apt-setup uses apt-key but probably should not anymore
On Monday, 9 April 2018 12:56:12 CEST Lars Kollstedt wrote: [...] > This patch should IMHO work, but I have no opportunity to test it without > your help, since we're in udeb and testing preseed issues. ;-) Hi again, 20 times looked at it and still overlooked one detail. This must of course be 'echo "$comment"'. Kind regards, Lars -- Lars Kollstedt Telefon: +49 6151 16-71027 E-Mail: l...@man-da.de man-da.de GmbH Dolivostraße 11 64293 Darmstadt Sitz der man-da.de GmbH: Darmstadt Amtsgericht Darmstadt, HRB 9484 Geschäftsführer: Andreas Ebert ** Patch added: "replace_apt_key_add.patch" https://bugs.launchpad.net/bugs/1754075/+attachment/5107746/+files/replace_apt_key_add.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754075 Title: apt-setup uses apt-key but probably should not anymore To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-setup/+bug/1754075/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1754075] Re: apt-setup uses apt-key but probably should not anymore
Hi, by the way apt-key belongs to the package apt: root@bionic-test:/home/kollstedt# apt-file search apt-key [...] apt: /usr/bin/apt-key [...] It is installed when the error occurs and is exitting with the error mentioned above. But there is indeed another way to add the public key without using "apt-key add". They can simply be copied to /etc/apt/trusted.gpg.d, with the ending *.gpg if it's binary format. With the ending *.asc for ASCII-amored format. Please find a patch attached that use this way to add instead of the old way with apt-key. The two following Debian Bugs for this lead me tho this: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=851774 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=886473 I also sent this message to the first one I considered to be the main one. For the ones reading the debian bug, this was mainly send to https://bugs.launchpad.net/ubuntu/+source/gnupg/+bug/1754075 Since this also found it's way to Ubunut 18.4 bionic (unreleased LTS). But there is some (more or less) usefull disscussion but as far as I can see no patch, yet. So I prepared one. Thanks to Marga Manterola and Philipp Kern for the idea. One of the most important errors in stuff discussed there is IMHO the lack of "-- " which is necessary to prevent grep from interpreding the leading --. I also decided not to filter for things that are not relevant. Since comments describing the Publickey or it's origin might be placed above the -BEGIN PGP PUBLIC KEY BLOCK- (without hitting gpgv), and we would not be able to prevent all possible syntax evil here, without having gpg to import and export the public key to and from a temporary keyring. I'm also trying to assign a useful name to the key added this way. This patch should IMHO work, but I have no opportunity to test it without your help, since we're in udeb and testing preseed issues. ;-) Kind regards, Lars -- Lars Kollstedt Telefon: +49 6151 16-71027 E-Mail: l...@man-da.de man-da.de GmbH Dolivostraße 11 64293 Darmstadt Sitz der man-da.de GmbH: Darmstadt Amtsgericht Darmstadt, HRB 9484 Geschäftsführer: Andreas Ebert ** Bug watch added: Debian Bug tracker #851774 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=851774 ** Bug watch added: Debian Bug tracker #886473 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=886473 ** Patch added: "replace_apt_key_add.patch" https://bugs.launchpad.net/bugs/1754075/+attachment/5107719/+files/replace_apt_key_add.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754075 Title: apt-setup uses apt-key but probably should not anymore To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-setup/+bug/1754075/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1754075] Re: apt-setup uses apt-key but probably should not anymore
In apt-setup-0.104ubuntu5/generators/60local there is an call $chroot $ROOT apt-key add "/tmp/key$i.pub" which would be the origin of this message. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754075 Title: apt-setup uses apt-key but probably should not anymore To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-setup/+bug/1754075/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1754075] Re: apt-setup uses apt-key but probably should not anymore
Hi again, switching to installation shell, and doing a chroot /target apt install gnupg2 exit exit allows me to complete the installation, when continuing with the installation step preparing installation sources after this. The /var/log/syslog from the installation system shows the following messages before doing this: Apr 5 19:09:46 main-menu[2796]: (process:23507): 2018-04-05 19:09:37 URL:http://software.ubuntu.man-da.de/software/key.gpg [3121/3121] -> "/target/tmp/_fetch-url_key0.pub.24311" [1] Apr 5 19:09:46 main-menu[2796]: (process:23507): E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation A few lines above there is also the message: Apr 5 19:09:38 apt-setup: warning: /usr/lib/apt-setup/generators/60local returned error code 255; discarding output Kind regards, Lars -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754075 Title: apt-setup uses apt-key but probably should not anymore To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-setup/+bug/1754075/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1754075] Re: apt-setup uses apt-key but probably should not anymore
Hi again, on March 2nd we were already on 2.2.4-1ubuntu1 so there obviously was something fixing this. Since the package already wasn't marked as important this time. On this time adding the keys still worked fine. The last days it didn't on bionic. Kind regards, Lars -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754075 Title: apt-setup uses apt-key but probably should not anymore To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-setup/+bug/1754075/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1754075] Re: apt-setup uses apt-key but probably should not anymore
Hi, looks like this has happened when changing the source of gnupg to gnupg2 with 2.2.4-1ubuntu1. The old source svn://anonscm.debian.org/pkg-gnupg/gnupg/trunk/ contains the Package as important. The new source https://anonscm.debian.org/git/pkg-gnupg/gnupg2.git contains the Package as optional. gnupg2 was present before, but the did not build a gnupg-Package. Kind regards, ** Also affects: gnupg2 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754075 Title: apt-setup uses apt-key but probably should not anymore To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-setup/+bug/1754075/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1754075] Re: apt-setup uses apt-key but probably should not anymore
Didn't want to throw out apt-setup. ** Package changed: gnupg (Ubuntu) => apt-setup (Ubuntu) ** Also affects: gnupg (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754075 Title: apt-setup uses apt-key but probably should not anymore To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-setup/+bug/1754075/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1754075] Re: apt-setup uses apt-key but probably should not anymore
apt-key complains about missing necessary gnupg or gnupg2 package. ** Package changed: apt-setup (Ubuntu) => gnupg (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754075 Title: apt-setup uses apt-key but probably should not anymore To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-setup/+bug/1754075/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1754075] Re: apt-setup uses apt-key but probably should not anymore
Hi again, https://ubuntuforums.org/showthread.php?t=2387570 may be about the same thing. But I can't see what #1553147 should have to do with this, this is referering to Xenial, we and also gregster is talking about bionic. On Xenial I stumbled in to #1553121 which had another reason, the SHA1-Deprecation. And also stumbled into #1512347 which was due to a unclean generated sources.list for the installation of the base system. Here we're talking about installing "normal" normal packages after the base system was successfully installed. But I haven't found out at which time gnupg was changed from important to optional, and if there was another mechanism letting it work afterwards. Manual packages selection will not have any effect because, the entries for local0 are commented out when preparing the regular install sources. Kind regards, Lars -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754075 Title: apt-setup uses apt-key but probably should not anymore To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-setup/+bug/1754075/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1754075] Re: apt-setup uses apt-key but probably should not anymore
Repeating Comment to make the Bugs clickable (can't edit): Hi again, https://ubuntuforums.org/showthread.php?t=2387570 may be about the same thing. But I can't see what Bug #1553147 should have to do with this, this is referering to Xenial, we and also gregster is talking about bionic. On Xenial I stumbled in to Bug #1553121 which had another reason, the SHA1-Deprecation. And also stumbled into Bug #1512347 which was due to a unclean generated sources.list for the installation of the base system. Here we're talking about installing "normal" normal packages after the base system was successfully installed. But I haven't found out at which time gnupg was changed from important to optional, and if there was another mechanism letting it work afterwards. Manual packages selection will not have any effect because, the entries for local0 are commented out when preparing the regular install sources. Kind regards, Lars -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754075 Title: apt-setup uses apt-key but probably should not anymore To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-setup/+bug/1754075/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1754075] Re: apt-setup uses apt-key but probably should not anymore
Hi, This also seems to affect me. But with a completely local repository within the preseed-File, and a local key download using http. d-i apt-setup/local0/key string http://software.ubuntu.man-da.de/software/key.gpg But I'm not sure add-apt-key has anything to do with this, since this package hasn't been touched for a long time. I experienced apt-key was complaining about missing gnupg. But the last change there (Thu, 11 Jan 2018 13:33:17 +) is still to long ago. If this didn't stay within proposed for almost a month. ;-) And there is nothing about changing priority from important to optional mentioned in the changelog. On Xenial this was Priority Important, on bionic it's only optional. But adding it manually within the preeseed file IMHO wont help, since this will cause problems to early. This was still working on March 2nd 2018 with bionic. Kind Regards Lars -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754075 Title: apt-setup uses apt-key but probably should not anymore To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-setup/+bug/1754075/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1754075] Re: apt-setup uses apt-key but probably should not anymore
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: apt-setup (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754075 Title: apt-setup uses apt-key but probably should not anymore To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-setup/+bug/1754075/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1754075] Re: apt-setup uses apt-key but probably should not anymore
** Summary changed: - uses apt-key but probably should not anymore + apt-setup uses apt-key but probably should not anymore ** Description changed: In di if the kernel is in a private PPA we seed di using d-i apt-setup/local0/key string http://keyserver.ubuntu.com:11371/pks/lookup?op=get&search= this used to work in xenial, but in bionic this fails and therefore apt - update fails in base-installer + update fails in base-installer. May be because add-apt-key is not + installed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754075 Title: apt-setup uses apt-key but probably should not anymore To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-setup/+bug/1754075/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs