Copying failed from other's PPA, Launchpad bug?

Asked by Tong Sun

I got the following errors regardless what method that I tried:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 Copying failed of indicator-sound-switcher (1.2.2ubuntu0-gtk3ppa0-1) Remove notification 
 Copied from: Dmitry Kann's PPA. Target series: Utopic
 indicator-sound-switcher 1.2.2ubuntu0-gtk3ppa0-1 in utopic (same version already has published binaries in the destination archive)

 Copying failed of indicator-sound-switcher (1.2.2ubuntu0-gtk3ppa0-1) Remove notification 
 Copied from: Dmitry Kann's PPA. Target series: Utopic
 indicator-sound-switcher 1.2.2ubuntu0-gtk3ppa0-1 in utopic (binaries conflicting with the existing ones)

 Copying failed of indicator-sound-switcher (1.2.2ubuntu0-gtk3ppa0-1) Remove notification 
 Copied from: Dmitry Kann's PPA. Target series: Trusty
 indicator-sound-switcher 1.2.2ubuntu0-gtk3ppa0-1 in trusty (binaries conflicting with the existing ones)

 Copying failed of indicator-sound-switcher (1.2.2ubuntu0-gtk3ppa0-1) Remove notification 
 Copied from: Dmitry Kann's PPA. Target series: Trusty
 indicator-sound-switcher 1.2.2ubuntu0-gtk3ppa0-1 in trusty (same version already has published binaries in the destination archive)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

I.e., I am trying to copy Dmitry Kann's PPA, but regardless of choosing "rebuild source" or "copy binary", and regardless of the destination series, I always get the above error.

I was able to copy from: Dmitry Kann's PPA before. This all happens *after* I delete the Trusty version of the package that I copied from Dmitry Kann's PPA, thinking that I now should copy the Utopic version instead. However, after the deletion, I am never able to make another copy any more. I first thought that I might need to wait for a while, but it's been several days now, the situation hasn't change.

So I believe that this is a bug of Launchpad. Can somebody confirm please?

Steps to duplicate the problem.

- Copy from Dmitry Kann's PPA indicator-sound-switcher (1.2.2ubuntu0-gtk3ppa0-1) to Target series: Trusty. Choose "rebuild source"
- Delete the package after the copying is successful, and the package is listed in your PPA
- Then try to copy again. It will never work.

Thanks

Question information

Language:
English Edit question
Status:
Expired
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Colin Watson (cjwatson) said :
#1

Once a package has existed once in a given archive, you can never do anything that will cause the same version to exist in that archive with different contents in the future, even if the version in question has been deleted. This is because doing so would potentially confuse clients. In this case, you cannot copy that version again from Dmitry Kann's PPA because doing so would trigger fresh builds in your PPA, which would have different contents but the same version number, which is not permitted.

However, the trusty and utopic versions in the source PPA were in fact entirely identical, so there was no need for you to delete and re-copy in the first place. Furthermore, you can undo the damage simply by copying the deleted version of the package *from your own PPA* back over itself, complete with the binaries from your PPA. Here's how you do that:

 * Go to your PPA, select "View package details" then "Copy packages", and use the search facility to find the deleted packages. Or, to save you the trouble, use this link:
   https://launchpad.net/~suntong001/+archive/ubuntu/ppa/+copy-packages?field.name_filter=indicator-sound-switcher&field.status_filter=&field.series_filter=
 * Select both sources there using the checkboxes.
 * Select "This PPA" as the destination PPA.
 * Select "The same series" as the destination series.
 * Select "Copy existing binaries".

This should cause the deleted version to be resurrected for both trusty and utopic in your PPA.

Revision history for this message
Tong Sun (suntong001) said :
#2

Wow, that's extremely comprehensive and considerate. Thanks a lot!!!

I followed the instruction to the words, but was unable to resurrect the deleted versions for trusty and utopic in my PPA. Have I screwed it up so much that it is now beyond repair?

This is the error message:

Copying failed of indicator-sound-switcher (1.2.2ubuntu0-gtk3ppa0-1) Remove notification Remove notification
Copied from: The Cave of Monte Cristo. Target series: Trusty
indicator-sound-switcher 1.2.2ubuntu0-gtk3ppa0-1 in trusty (binaries conflicting with the existing ones)

Copying failed of indicator-sound-switcher (1.2.2ubuntu0-gtk3ppa0-1) Remove notification Remove notification
Copied from: The Cave of Monte Cristo. Target series: Utopic
indicator-sound-switcher 1.2.2ubuntu0-gtk3ppa0-1 in utopic (source has expired binaries)

Thanks again

Revision history for this message
Launchpad Janitor (janitor) said :
#3

This question was expired because it remained in the 'Open' state without activity for the last 15 days.