size mismatch as result of apt-get install <package> (ppa copied package)

Asked by Mario Kemper (Romario)

Hi there,

i copied the hardy package from https://launchpad.net/~mario-kemper/+archive to to https://launchpad.net/~gscrot/+archive and added the ppa url to my sources.list.
When i try to sudo apt-get update && sudo apt-get install gscrot the following happens:

Failed to fetch http://ppa.launchpad.net/gscrot/ubuntu/pool/main/g/gscrot/gscrot_0.36.2~ppa2_i386.deb Size mismatch

Is there a problem, because I copied the Package between PPAs? The Source-PPA is working great.

Thanks in advance.

Regards
Romario

Question information

Revision history for this message
Best Celso Providelo (cprov) said :
#1

Yes, there is a problem, as mentioned in bug #225331, the copy-ui should not allow you to copy only sources within the same PPA. It will trigger a rebuild of the binaries with the same version that will never reach the archive because they will conflict with the original binaries already published.

As I can see now, your PPA seems to be fixed because you have uploaded a new version to hardy.

The fix for the bug mentioned will be released in edge ASAP and won't allow such mistake to happen.

Thanks for reporting the issue and sorry for the inconvenience of this problem.

Revision history for this message
Mario Kemper (Romario) (mario-kemper) said :
#2

Thanks Celso Providelo, that solved my question.