IntegrityError: duplicate key value violates unique constraint "packaging_uniqueness"

Bug #352374 reported by Cody A.W. Somerville
6
Affects Status Importance Assigned to Milestone
Launchpad itself
In Progress
High
Unassigned

Bug Description

I setup a new project xubuntu-docs and setup my series and linked them to branches. Then I went to link the series to packages and did so via $project/$series/+ubuntupkg - typing "xubuntu-docs" into the field each time. Unfortunately, launchpad linked them all against the jaunty series in Ubuntu which caused the IntegrityError: duplicate key value violates unique constraint "packaging_uniqueness" when I attempted to modify the link via https://edge.launchpad.net/ubuntu/jaunty/+source/xubuntu-docs/+edit-packaging

Ursula Junque (ursinha)
affects: launchpad → launchpad-registry
Revision history for this message
Curtis Hovey (sinzui) wrote :

Source package linking appears to be flawed. I have seen unwanted linking to series before. I think we want to collect the source package bugs into one to two stories that we can address in the 2.2.5 cycle.

Changed in launchpad-registry:
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Curtis Hovey (sinzui) wrote :

OOPS-1377EA3 was caused by me trying to set /ubuntu/karmic/+source/metacity to /metacity/main. The view return an error during validate() and report which package claims the series.

Changed in launchpad-registry:
importance: Low → High
milestone: none → 3.1.10
Revision history for this message
Curtis Hovey (sinzui) wrote :

Let me restate that:
The view *should* return an error during validate() and report which package claims the series.

Curtis Hovey (sinzui)
Changed in launchpad-registry:
assignee: nobody → Curtis Hovey (sinzui)
Curtis Hovey (sinzui)
tags: added: package-link
Curtis Hovey (sinzui)
Changed in launchpad-registry:
status: Triaged → In Progress
Revision history for this message
Curtis Hovey (sinzui) wrote :

This bug is ultimately a duplicate of of bug 196774. the constraint is violated because the link to the product series already exists, but UI is no showing it. In this scenario, we want to delete this package that is shadowing the legitimate package. We will fix the 81 bad packages and change the constraint to prevent the extra package from being created.

Curtis Hovey (sinzui)
Changed in launchpad:
assignee: Curtis Hovey (sinzui) → 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.