apt-key update is failing if 39 keys in trusted.gpg.d

Bug #1476787 reported by H.-Dirk Schmitt
6
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/trusted.gpg.d

If I remove any of the keys so that 38 or less keys are in /etc/apt/trusted.gpg.d the problem doesn't occurs.

I'm using the apt package 1.0.1ubuntu2.8 from trusty-updates

Tags: trusty
Revision history for this message
H.-Dirk Schmitt (dirk-computer42) wrote :

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/costamagnagianfranco-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/libreoffice-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/torkvemada-torkvemada.gpg --keyring /etc/apt/trusted.gpg.d/transmissionbt-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/webupd8team-java.gpg --keyring /etc/apt/trusted.gpg.d/webupd8team-nemo.gpg --keyring /etc/apt/trusted.gpg.d/webupd8team-themes.gpg --import

If I reduce the number of keys it works.

The data for this command is attached.

description: updated
tags: added: trusty
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.