apt-transport-https: Errors with private repository and GPG keys

Bug #176675 reported by Peter Clark
2
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: apt-transport-https

Package: apt-transport-https
Version: 0.7.6ubuntu14
Severity: important

I've set up a private apt repository and signed my own packages with my own
key. Furthermore, on the client computers I installed apt-transport-https.
When I 'apt-get update', however, 50% of the time I get the following
warnings:

W: Bizarre Error - File size is not what the server reported 0 728
W: GPG error: https://packages.mydomain.org unstable Release: The following
signatures were invalid: BADSIG 6A3E7382C8A7B074 Peter Clark
<email address hidden>
W: You may want to run apt-get update to correct these problems

When I run 'apt-get update' again, these problems do disappear...only to
reappear the next time. So the error appears very consistently, 50% of the
time. When I change the relevant line in /etc/apt/sources.list from:

deb https://packages.mydomain.org unstable main

to:

deb http://packages.mydomain.org unstable main

everything works fine; no weird file sizes, no GPG errors. I therefore
interpret
this to mean that the repository and my GPG key are not the problem, which
leaves
apt-transport-https as the only remaining possibility.

Additional note: the SSL certificate served by mydomain.org is self-signed; I
don't know if that makes a difference or not.

-- System Information:
Debian Release: lenny/sid
  APT prefers gutsy-updates
  APT policy: (500, 'gutsy-updates'), (500, 'gutsy-security'), (500, 'gutsy')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-14-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages apt-transport-https depends on:
ii apt [libapt-pkg-libc6.6 0.7.6ubuntu14 Advanced front-end for dpkg
ii libc6 2.6.1-1ubuntu10 GNU C Library: Shared libraries
ii libcurl3-gnutls 7.16.4-2ubuntu1 Multi-protocol file transfer
libra
ii libgcc1 1:4.2.1-5ubuntu4 GCC support library
ii libstdc++6 4.2.1-5ubuntu4 The GNU Standard C++ Library v3

apt-transport-https recommends no packages.

-- no debconf information

Revision history for this message
Paolo Sammicheli (xdatap1) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue for you. Can you try with the latest Ubuntu release? Thanks in advance.

Changed in apt (Ubuntu):
status: New → Incomplete
assignee: nobody → Paolo Sammicheli (xdatap1)
Revision history for this message
Peter Clark (mla-forrussia) wrote :

Yes, it works now. I took this upstream to Debian, and they fixed it a while ago. Sorry that I didn't report it back here.

Revision history for this message
Paolo Sammicheli (xdatap1) wrote :

Thanks for your answer.

Changed in apt (Ubuntu):
status: Incomplete → Fix Released
assignee: Paolo Sammicheli (xdatap1) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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