"different contents" error when unembargoing security update or copying packages

Bug #574552 reported by Marc Deslauriers
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Steve Kowalik

Bug Description

When trying to unembargo a lucid security update from the security team PPA to lucid-security, I get the following:

mdeslaur@mdlinux:~$ $UQT/security-tools/unembargo $SRCPKG
Loading Ubuntu Distribution ...
Loading Ubuntu Archive ...
Loading ubuntu-security 'ppa' PPA ...
Locating gource ...
 Publishing gource 0.23-1ubuntu0.1 to lucid-security ...
Failed to sync (took 0s): HTTP Error 400: Bad Request
Response headers:
---
connection: close
content-length: 120
content-type: text/plain
date: Mon, 03 May 2010 14:28:04 GMT
server: zope.server.http (HTTP)
status: 400
via: 1.1 wildcard.edge.launchpad.net
x-powered-by: Zope (www.zope.org), Python (www.python.org)
---
Response body:
---
gource 0.23-1ubuntu0.1 in lucid (gource_0.23.orig.tar.gz already exists in destination archive with different contents.)
---

{'status': '400', 'content-length': '120', 'via': '1.1 wildcard.edge.launchpad.net', 'x-powered-by': 'Zope (www.zope.org), Python (www.python.org)', 'server': 'zope.server.http (HTTP)', 'connection': 'close', 'date': 'Mon, 03 May 2010 14:28:04 GMT', 'content-type': 'text/plain'}

AFAICT, the md5sum of gource_0.23.orig.tar.gz in the PPA, and the one in archive.ubuntu.com matches...

Tags: lp-soyuz qa-ok

Related branches

Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

mdeslaur@mdlinux:~/Downloads$ md5sum gource_0.23.orig.tar.gz
8373e2a468af026a4a5eb1f2a6d56166 gource_0.23.orig.tar.gz

Revision history for this message
Steve Kowalik (stevenk) wrote :

The files are the same, so that should be fine and not give an error.

I suspect the code is comparing the objects themselves, rather than doing a more clever comparison which is evidently needed. A workaround would be to upload the security update without the orig tarball, and that should copy fine. In any case, I am working on a fix currently.

Changed in soyuz:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Steve Kowalik (stevenk)
milestone: none → 10.05
Revision history for this message
Martin Pitt (pitti) wrote :

Please do a cherrypick for this. We need to push out some urgent lucid-updates SRUs. Thanks!

Revision history for this message
Martin Pitt (pitti) wrote :

@SRU team: In case you try to push stuff to -updates, it doesn't work right now due to this.

Revision history for this message
Julian Edwards (julian-edwards) wrote :

A fix was cowboyed to cocoplum and Martin verified it works fine there.

The fix to the appservers (for web and API copying checks) will be delayed until we re-roll the mainline out in the next day or so.

Changed in soyuz:
status: Triaged → In Progress
Revision history for this message
Max Bowsher (maxb) wrote :

Also affects copying packages in PPAs, not unique to unembargoing

summary: - "different contents" error when unembargoing security update
+ "different contents" error when unembargoing security update or copying
+ packages
Revision history for this message
Ursula Junque (ursinha) wrote : Bug fixed by a commit
Changed in soyuz:
milestone: 10.05 → 10.04
status: In Progress → Fix Committed
tags: added: qa-needstesting
Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

I successfully unembargoed a lucid security update this morning, so this appears to be resolved. Thanks.

tags: added: qa-ok
removed: qa-needstesting
Steve Kowalik (stevenk)
Changed in soyuz:
status: Fix Committed → Fix Released
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.