apt-key update is failing if 39 keys in trusted.gpg.d
Bug #1476787 reported by
H.-Dirk Schmitt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
'apt-key update' is failing with return code 2 if 39 keys in /etc/apt/
If I remove any of the keys so that 38 or less keys are in /etc/apt/
I'm using the apt package 1.0.1ubuntu2.8 from trusty-updates
tags: | added: trusty |
To post a comment you must log in.
Debugging the script apt-key I found that the problem is triggered by gpg.
The following command is failing:
cat /tmp/step_data | gpg --yes --ignore- time-conflict --no-options --no-default- keyring --homedir /tmp/tmp.jtTZwIQ6EI --no-auto- check-trustdb --trust-model always --keyring /etc/apt/ trusted. gpg --primary-keyring /etc/apt/ trusted. gpg --keyring /etc/apt/ trusted. gpg.d/andrei- pozolotin- maven3. gpg --keyring /etc/apt/ trusted. gpg.d/b- eltzner- qpdfview. gpg --keyring /etc/apt/ trusted. gpg.d/boomaga- ppa.gpg --keyring /etc/apt/ trusted. gpg.d/cassou- emacs.gpg --keyring /etc/apt/ trusted. gpg.d/costamagn agianfranco- virtualbox- ppa.gpg --keyring /etc/apt/ trusted. gpg.d/cpug- devs-ppa. gpg --keyring /etc/apt/ trusted. gpg.d/debian- archive- squeeze- automatic. gpg --keyring /etc/apt/ trusted. gpg.d/debian- archive- squeeze- stable. gpg --keyring /etc/apt/ trusted. gpg.d/debian- archive- wheezy- automatic. gpg --keyring /etc/apt/ trusted. gpg.d/debian- archive- wheezy- stable. gpg --keyring /etc/apt/ trusted. gpg.d/dirk- computer42- c42-backport- games.gpg --keyring /etc/apt/ trusted. gpg.d/dirk- computer42- c42-backport- gnome3. gpg --keyring /etc/apt/ trusted. gpg.d/dirk- computer42- c42-backport- staging. gpg --keyring /etc/apt/ trusted. gpg.d/dirk- computer42- c42-backport. gpg --keyring /etc/apt/ trusted. gpg.d/dirk- computer42- c42-edge. gpg --keyring /etc/apt/ trusted. gpg.d/dirk- computer42- c42-jail. gpg --keyring /etc/apt/ trusted. gpg.d/dirk- computer42- c42-other. gpg --keyring /etc/apt/ trusted. gpg.d/dirk- computer42- squid-ssl. gpg --keyring /etc/apt/ trusted. gpg.d/dschaerf- myubuntu. gpg --keyring /etc/apt/ trusted. gpg.d/gmpc- trunk-mpd- trunk.gpg --keyring /etc/apt/ trusted. gpg.d/gnome3- team-gnome3- next.gpg --keyring /etc/apt/ trusted. gpg.d/gnome3- team-gnome3- staging. gpg --keyring /etc/apt/ trusted. gpg.d/gnome3- team-gnome3. gpg --keyring /etc/apt/ trusted. gpg.d/i- nex-development -team-stable. gpg --keyring /etc/apt/ trusted. gpg.d/leolik- leolik. gpg --keyring /etc/apt/ trusted. gpg.d/libreoffi ce-libreoffice- 4-4.gpg --keyring /etc/apt/ trusted. gpg.d/m- ioalex- mp3splt. gpg --keyring /etc/apt/ trusted. gpg.d/nemh- gambas3. gpg --keyring /etc/apt/ trusted. gpg.d/openjdk- r-ppa.gpg --keyring /etc/apt/ trusted. gpg.d/ossug- hychen- ppa.gpg --keyring /etc/apt/ trusted. gpg.d/stvs- tomate. gpg --keyring /etc/apt/ trusted. gpg.d/torkvemad a-torkvemada. gpg --keyring /etc/apt/ trusted. gpg.d/transmiss ionbt-ppa. gpg --keyring /etc/apt/ trusted. gpg.d/tualatrix -ppa.gpg --keyring /etc/apt/ trusted. gpg.d/videolan- master- daily.gpg --keyring /etc/apt/ trusted. gpg.d/videolan- stable- daily.gpg --keyring /etc/apt/ trusted. gpg.d/webupd8te am-java. gpg --keyring /etc/apt/ trusted. gpg.d/webupd8te am-nemo. gpg --keyring /etc/apt/ trusted. gpg.d/webupd8te am-themes. gpg --import
If I reduce the number of keys it works.
The data for this command is attached.